/* Hero Section Styles */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-top: 4rem; /* Space for fixed navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.8)
    ),
    url('/assets/variety-of-food-during-traditional-iftar-meal-on-r-2024-12-13-17-10-08-utc.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    transform: scale(1.1); /* Slight scale for parallax */
    transition: transform 0.5s ease-out;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--color-white);
    max-width: var(--container-lg);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    z-index: 1;
    gap: var(--spacing-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-white);
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-badge i {
    font-size: var(--font-size-lg);
    color: var(--color-amber);
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: var(--font-size-xl);
    font-weight: 400;
    margin-bottom: 0;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta-primary {
    background-color: var(--color-glade-green);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(95, 134, 91, 0.3);
}

.hero-cta-primary:hover {
    background-color: var(--color-amber);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 0, 0.4);
}

.hero-cta-primary i {
    transition: transform 0.3s ease;
}

.hero-cta-primary:hover i {
    transform: translateX(4px);
}

.hero-cta-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xxl);
    margin-top: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xxs);
}

.hero-stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-amber);
    line-height: 1;
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    font-size: var(--font-size-2xl);
    color: var(--color-white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover i {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 48rem) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-tagline {
        font-size: var(--font-size-lg);
    }

    .hero-content {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .hero-stats {
        gap: var(--spacing-lg);
        flex-wrap: wrap;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 30rem) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-tagline {
        font-size: var(--font-size-base);
    }
    
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xxs) var(--spacing-md);
    }
    
    .hero-stats {
        gap: var(--spacing-md);
    }
    
    .hero-stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .hero-stat-label {
        font-size: var(--font-size-xs);
    }
}
