/* Mobile Hero Section Fix - Prevents banner from being cut off */

/* Mobile view adjustments */
@media (max-width: 768px) {
    /* Fix hero section positioning on mobile */
    .hero-section {
        margin-top: 0 !important; /* Remove negative margin on mobile */
        padding-top: 80px !important; /* Account for fixed header */
        padding-bottom: 60px !important;
        min-height: auto !important;
    }
    
    /* Adjust hero content spacing */
    .hero-content {
        padding: 2rem 0;
    }
    
    /* Ensure hero text is properly spaced */
    .hero-text {
        padding-top: 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem !important;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-text .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Adjust buttons for mobile */
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 70px !important; /* Slightly less padding on very small screens */
        padding-bottom: 40px !important;
    }
    
    .hero-text h1 {
        font-size: 1.75rem !important;
    }
    
    .hero-text .subtitle {
        font-size: 1rem;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding-top: 60px !important;
        padding-bottom: 40px !important;
        min-height: auto !important;
    }
    
    .hero-text h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem;
    }
    
    .hero-text .subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Ensure body has correct padding on mobile */
@media (max-width: 768px) {
    body {
        padding-top: 60px !important; /* Match mobile header height */
    }
}

/* Fix any z-index issues */
@media (max-width: 768px) {
    .hero-section {
        position: relative;
        z-index: 1;
    }
    
    .header {
        z-index: 999;
    }
}