/**
 * INDEX PAGE STYLES
 * ------------------
 * Dedicated stylesheet for index.php (Home Page)
 * This file is loaded last to ensure it has priority over other stylesheets
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    /* PREMIUM LUXURY COLOR PALETTE */
    --deep-navy: #0A1F44;
    --rich-navy: #1A3A5C;
    --gold: #D4AF37;
    --rose-gold: #B76E79;
    --emerald: #50C878;
    --pearl: #FFF0F5;
    --champagne: #F7E7CE;
    --platinum: #FCE4EC;
    --bg-light: #FFF0F5;
    --charcoal: #36454F;
    --midnight: #191970;
    --text-luxury: #2C3E50;
    --text-soft: #5D6D7E;
    --shadow-luxury: rgba(10, 31, 68, 0.15);
    --shadow-gold: rgba(212, 175, 55, 0.25);
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background: var(--pearl);
    color: var(--charcoal);
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Cormorant Garamond', serif;
}

/* ========== HERO SECTION - LUXURY ========== */
.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    background: var(--pearl);
}

.hero-slide {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Dark overlay for text visibility */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 50%));
    z-index: 5;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--pearl);
    transform: scale(1);
    transition: transform 8s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1.05);
}

.hero-container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: start;
    text-align: left;
    padding: 20px 20px;
    /* Removed light gradient - using darker overlay on hero-slide instead */
}

.hero-content {
    max-width: 900px;
    color: #fff;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    z-index: 20;
}

.swiper-slide-active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #f3e5ab);
    color: var(--deep-navy);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold) !important;
    /* Black outline text-shadow for visibility */
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 4px 15px rgba(0,0,0,0.8),
        0 0 20px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold), #e6c255);
    color: var(--deep-navy);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
    color: var(--deep-navy);
}

/* ========== 11-in-1 SECTION ========== */
.features-section {
    padding: 0 0 50px 0; /* Reduced top padding to 0 */
    background: var(--pearl);
    position: relative;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 3rem;
    color: var(--deep-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.1rem;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 5%;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-luxury);
    background: #fff;
    border-color: var(--gold);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--deep-navy);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(10, 31, 68, 0.3);
    transition: all 0.5s ease;
}

.feature-icon-wrapper i {
    transform: rotate(-45deg);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(405deg);
    background: #FFB7C5; /* Baby Pink */
    color: var(--deep-navy);
    box-shadow: 0 0 20px rgba(255, 183, 197, 0.6);
}

.feature-name {
    font-size: 1.4rem;
    color: var(--deep-navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-detail {
    font-size: 1.1rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* ========== IMAGE SPLIT SECTION ========== */
.split-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
}

.split-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.split-image:hover img {
    transform: scale(1.05);
}

.split-content {
    flex: 1;
    min-width: 300px;
    background: var(--deep-navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
    position: relative;
}

.split-title {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.split-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    padding: 60px 0;
    background: var(--pearl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0 5%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-column: span 2;
    min-height: 400px;
}

.gallery-item.content-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--deep-navy);
    color: #fff;
    text-align: center;
}

.gallery-item.content-card h3 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 20px;
}

.gallery-item.content-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* ========== DISCLAIMER ========== */
.disclaimer-section {
    background: var(--platinum);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-soft);
    font-size: 0.9rem;
}

@media(max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .split-section { flex-direction: column; }
    .split-content { padding: 40px 20px; }
    .gallery-item.large { grid-column: span 1; }
}

/* ========== VIDEO SECTION ========== */
.video-section {
    padding: 40px 0 0 0; /* Removed bottom padding */
    background: var(--pearl); 
    text-align: center;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 4px solid var(--gold);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* ========== REVOLUTIONARY SECTION ========== */
.revolutionary-section {
    padding: 0 0 40px 0; /* Reduced top padding to 0 */
    background: var(--pearl);
    text-align: center;
    overflow: hidden;
}

.revolutionary-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.revolutionary-content.active {
    opacity: 1;
    transform: translateY(0);
}

.revolutionary-title {
    font-size: 3.2rem;
    color: var(--deep-navy);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.revolutionary-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.revolutionary-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-luxury);
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.highlight-gold {
    color: var(--gold);
    font-weight: 700;
}

/* ========== KEY FEATURES (ZIGZAG) CSS ========== */
.tech-section {
    padding: 50px 0;
    background: var(--pearl);
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.tech-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    height: auto;
    gap: 60px;
    aspect-ratio: auto;
}

/* Zigzag Alignment */
.tech-card:nth-child(even) {
    flex-direction: row-reverse;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.tech-img-wrapper {
    flex: 1;
    height: 500px; /* Full visual size */
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Stronger shadow for image */
    border: none;
    position: relative;
}

.tech-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.tech-card:hover .tech-img-wrapper img {
    transform: scale(1.05);
}

.tech-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.tech-title {
    color: var(--deep-navy);
    font-size: 2.4rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.tech-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-luxury);
    margin-bottom: 25px;
    font-weight: 400;
    display: block;
    overflow: visible;
}

.tech-label {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.tech-block {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 4px solid var(--gold);
}

/* Responsive */
@media (max-width: 992px) {
    .tech-card, .tech-card:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    .tech-img-wrapper {
        height: 350px;
        width: 100%;
    }
}

/* ========== FONT SIZE INCREASES FOR SECTIONS BELOW 11-in-1 ========== */
/* Mobile: Increase by 25% */
@media (max-width: 768px) {
    /* Tech Section (Key Features) - Mobile */
    .tech-section .tech-title {
        font-size: calc(2.4rem * 1.25) !important; /* 3rem */
    }
    
    .tech-section .tech-desc {
        font-size: calc(1.1rem * 1.25) !important; /* 1.375rem */
    }
    
    .tech-section .tech-label {
        font-size: calc(0.9rem * 1.25) !important; /* 1.125rem */
    }
    
    /* Feature Cards - Mobile */
    .features-section .feature-name {
        font-size: calc(1.4rem * 1.25) !important; /* 1.75rem */
    }
    
    .features-section .feature-detail {
        font-size: calc(1.1rem * 1.25) !important; /* 1.375rem */
    }
    
    /* All card content below 11-in-1 section */
    .tech-section .tech-content p,
    .tech-section .tech-block p {
        font-size: calc(1.1rem * 1.25) !important; /* 1.375rem */
        color: var(--text-luxury) !important;
        font-weight: 500 !important;
    }
}

/* Desktop: Increase by 35% */
@media (min-width: 769px) {
    /* Tech Section (Key Features) - Desktop */
    .tech-section .tech-title {
        font-size: calc(2.4rem * 1.35) !important; /* 3.24rem */
    }
    
    .tech-section .tech-desc {
        font-size: calc(1.1rem * 1.35) !important; /* 1.485rem */
    }
    
    .tech-section .tech-label {
        font-size: calc(0.9rem * 1.35) !important; /* 1.215rem */
    }
    
    /* Feature Cards - Desktop */
    .features-section .feature-name {
        font-size: calc(1.4rem * 1.35) !important; /* 1.89rem */
    }
    
    .features-section .feature-detail {
        font-size: calc(1.1rem * 1.35) !important; /* 1.485rem */
    }
    
    /* All card content below 11-in-1 section */
    .tech-section .tech-content p,
    .tech-section .tech-block p {
        font-size: calc(1.1rem * 1.35) !important; /* 1.485rem */
        color: var(--text-luxury) !important;
        font-weight: 500 !important;
    }
}
