/* ===== INDEX PAGE STYLES ===== */
/* Extracted from style.css - only classes used in index.php */

/* PERFORMANCE: Removed @import statements to eliminate render-blocking */
/* Variables and components are now preloaded in HTML head */

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    margin-top: -3rem; /* Compensate for main-content margin-top */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.central-orb {
    position: relative;
    width: 200px;
    height: 200px;
    cursor: none;
    transition: transform 0.3s ease;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    animation: pulse 4s ease-in-out infinite;
}

.orb-core img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-text {
    color: var(--text-white);
}

.welcome-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-white);
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
}

.hero-title {
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
}

.hero-cta {
    display: flex;
    justify-content: center;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    }
    25% {
        transform: translate(-50%, -50%) scale(1.02);
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.8));
    }
    75% {
        transform: translate(-50%, -50%) scale(1.02);
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    }
}

/* ===== SERVICES SECTION (INDEX PAGE) ===== */
.services-section .section-title {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-white);  /* Fixed from var(--text-primary) */
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}

/* ===== GENERAL SECTION TITLES (INDEX PAGE) ===== */
.section-title {
    text-align: center;
    color: var(--text-white);
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

/* ===== TESTIMONIALS (INDEX PAGE SPECIFIC) ===== */
/* Testimonial styles are now in css/shared/components.css for reuse across pages */

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        margin-top: -6rem; /* Compensate for main-content margin-top */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        padding: 0 2rem;
    }
    
    /* GSAP Services Container Mobile */
    .gsap-services-container {
        width: 100vw;
        padding: 0;
        border: 0;
        margin: 0;
        margin-left: calc(-50vw + 50%); /* Extend to full viewport width */
    }
    
    .gsap-services-container::before,
    .gsap-services-container::after {
        width: 80px;
    }
    
    .gsap-services-container::before {
        left: 0;
        top: -200vh; /* Extend much higher */
        bottom: -200vh; /* Extend much lower */
        background: url('../../assets/dle-wc-bg-cosmic.webp');
        background-size: cover;
        background-position: center;
        background-attachment: fixed !important;
        mask: linear-gradient(90deg, 
            black 0%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.2) 80%, 
            transparent 100%);
        -webkit-mask: linear-gradient(90deg, 
            black 0%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.2) 80%, 
            transparent 100%);
    }
    
    .gsap-services-container::after {
        right: 0;
        top: -200vh; /* Extend much higher */
        bottom: -200vh; /* Extend much lower */
        background: url('../../assets/dle-wc-bg-cosmic.webp');
        background-size: cover;
        background-position: center;
        background-attachment: fixed !important;
        mask: linear-gradient(-90deg, 
            black 0%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.2) 80%, 
            transparent 100%);
        -webkit-mask: linear-gradient(-90deg, 
            black 0%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.2) 80%, 
            transparent 100%);
    }
    
    /* Final CTA Mobile */
    .final-cta {
        padding: 1rem 1rem 3rem 1rem;
    }
    
    .final-cta .container {
        padding: 2rem 1rem;
    }
    
    .final-cta h2 {
        font-size: 1.6rem;
    }
    
    .final-cta p {
        font-size: 1rem;
    }
    
    /* Service Slider Mobile */
    .service-slide .service-card {
        width: 260px;
        height: 280px;
        padding: 1.5rem 1rem;
    }
    
    .service-slide h3 {
        font-size: 1.1rem;
    }
    
    .service-slide p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* ===== RESPONSIVE - TABLET ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .hero {
        min-height: 100vh;
        margin-top: -6rem; /* Also apply to tablet for consistent centering */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

/* ===== RESPONSIVE - TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero p {
        font-size: 1.05rem;
        color: var(--text-white);
        max-width: 600px;
    }
    
    /* Fix packages-grid-3col breaking on tablet - maintain 3 columns */
    .packages-grid-3col {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

/* ===== RESPONSIVE - DESKTOP ===== */
@media (min-width: 1025px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        color: var(--text-white);
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* ===== GSAP SERVICES SLIDER (INDEX PAGE) ===== */
.gsap-services-container {
    position: relative;
    width: min(1200px, 100%);
    margin: 0 auto;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    display: flex;
    align-items: flex-start;
}

.gsap-services-container:active {
    cursor: grabbing;
}

.service-slide {
    flex-shrink: 0;
    padding: 0.5rem;
    box-sizing: border-box;
    margin: 0;
    position: relative;
    touch-action: pan-y;
}

.service-slide .service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 320px;
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-slide .service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-slide.active-slide .service-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(1.02);
}

/* Service Image Circle */
.service-image-circle,
.service-slide .service-image-circle {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1.5rem !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(0,0,0,0.2)) !important;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(212, 175, 55, 0.6),
        0 0 60px rgba(255, 255, 255, 0.3),
        inset 0 8px 15px rgba(255, 255, 255, 0.4),
        inset 0 -8px 15px rgba(0, 0, 0, 0.3) !important;
}

.service-image-circle::before,
.service-slide .service-image-circle::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
}

.service-image-circle img,
.service-slide .service-image-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Service Card Text */
.service-card-slider h3,
.service-slide h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--cosmic-gold);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    font-weight: 600;
}

.service-card-slider p,
.service-slide p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* ===== ABOUT SECTION (INDEX PAGE) ===== */
.about-container {
    width: 100%;
    margin: 0;
    padding: 4rem 2rem;
}

.about-container > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-container.dark-cosmic {
    background: rgba(11, 20, 38, 0.95);
    padding: 4rem 2rem !important;
    position: relative;
    z-index: 0;
}

/* ===== PACKAGES SECTION (INDEX PAGE) ===== */
.packages-section {
    /* Base packages section styling if needed */
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== FINAL CTA SECTION (INDEX PAGE) ===== */
.final-cta {
    padding: 4rem 0 8rem 0;
    text-align: center;
}

.final-cta .container {
    background: color-mix(in srgb, var(--deep-space) 85%, transparent);
    border: 2px solid var(--cosmic-gold);
    border-radius: 15px;
    max-width: 1000px;
    padding: 2rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(212, 175, 55, 0.6),
        0 0 80px rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(15px);
    animation: auraGlow 5s ease-in-out infinite;
}

@keyframes auraGlow {
    0% {
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.6),
            0 0 40px rgba(212, 175, 55, 0.6),
            0 0 80px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.6),
            0 0 60px rgba(212, 175, 55, 0.8),
            0 0 120px rgba(212, 175, 55, 0.5);
    }
    100% {
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.6),
            0 0 40px rgba(212, 175, 55, 0.6),
            0 0 80px rgba(212, 175, 55, 0.3);
    }
}

.final-cta h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 4vw, 3rem);
}

.final-cta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}