/* ================================================================
   PREMIUM HERO SECTION - Matrimonial Website
   ================================================================ */

/* Hero Section Container */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/page-bg/home-hero.40e71121c1fe.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #0f1a14;
    z-index: 1;
    filter: brightness(1) contrast(1.05);
}

/* Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.50) 100%
    );
    z-index: 2;
}

/* Hero Content - Text Container */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Heading */
.hero-heading {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    animation: slideInDown 0.8s ease-out;
}

/* Subheading */
.hero-subheading {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.8s ease-out;
}

/* Button Container */
.hero-button-container {
    animation: fadeIn 1s ease-out 0.3s both;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Premium CTA Button Base */
.btn-premium {
    display: inline-block;
    padding: 20px 55px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

/* Primary Button - Gold */
.btn-primary-hero {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    border-color: #ffd700;
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.35);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.btn-primary-hero:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Secondary Button - Transparent White */
.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.btn-secondary-hero:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.15);
}

.btn-secondary-hero:active {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
}

/* Button Active/Click Effect */
.btn-premium:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* Button Shimmer Effect on Hover */
.btn-primary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.btn-primary-hero:hover::before {
    left: 100%;
    animation: shimmer 0.5s;
}

.btn-secondary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 3s infinite;
}

.btn-secondary-hero:hover::before {
    left: 100%;
    animation: shimmer 0.5s;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ================================================================
   RESPONSIVE DESIGN - Tablet & Medium Devices
   ================================================================ */

@media (max-width: 1024px) {
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 80px 0;
    }

    .hero-heading {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subheading {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .btn-premium {
        padding: 16px 45px;
        font-size: 1rem;
    }

    .hero-button-container {
        gap: 15px;
    }
}

/* ================================================================
   RESPONSIVE DESIGN - Mobile Devices
   ================================================================ */

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
        height: auto;
        padding: 60px 0;
    }

    .hero-background {
        background-attachment: scroll;
    }

    .hero-heading {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }

    .hero-subheading {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .btn-premium {
        padding: 14px 40px;
        font-size: 0.95rem;
        border-radius: 40px;
    }

    .hero-button-container {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 400px;
        padding: 50px 0;
    }

    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }

    .hero-heading {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subheading {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
        padding: 0 12px;
    }

    .btn-premium {
        padding: 13px 35px;
        font-size: 0.9rem;
    }

    .hero-button-container {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .btn-premium {
        width: 100%;
        max-width: 280px;
    }
}

/* ================================================================
   ACCESSIBILITY & EXTRA POLISH
   ================================================================ */

/* Focus state for keyboard navigation */
.btn-primary-hero:focus {
    outline: 3px solid rgba(255, 215, 0, 0.6);
    outline-offset: 2px;
}

.btn-secondary-hero:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-heading,
    .hero-subheading,
    .hero-button-container,
    .btn-premium {
        animation: none;
    }

    .btn-premium {
        transition: color 0.01s, background-color 0.01s;
    }
}

/* Print styles */
@media print {
    .hero-section {
        height: 300px;
        page-break-inside: avoid;
    }
}
