/**
 * 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,
h5,
h6 {
    font-family: 'Montserrat', sans-serif !important;
}

/* ========== 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: #ffffff !important;
    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 - V2 (SIMPLIFIED) ========== */
.feature-grid-v2 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card-v2 {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.feature-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(10, 31, 68, 0.12);
    border-color: var(--gold);
}

.feature-img {
    flex: 0 0 350px;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card-v2:hover .feature-img img {
    transform: scale(1.1);
}

.feature-content-v2 {
    flex: 1;
    padding: 40px;
    text-align: left;
}

.feature-title-v2 {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.feature-points li {
    font-size: 1.15rem;
    color: var(--text-luxury);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-points li i {
    color: var(--gold);
    font-size: 1rem;
}

.feature-benefit {
    background: var(--platinum);
    padding: 15px 25px;
    border-left: 5px solid var(--gold);
    border-radius: 0 10px 10px 0;
    font-size: 1.2rem;
    color: var(--deep-navy);
    font-weight: 600;
}

.feature-benefit strong {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

/* Zigzag for Desktop */
@media (min-width: 992px) {
    .feature-card-v2:nth-child(even) {
        flex-direction: row-reverse;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .feature-card-v2 {
        flex-direction: column;
    }

    .feature-img {
        flex: 0 0 250px;
        width: 100%;
        height: 250px;
    }

    .feature-content-v2 {
        padding: 30px 20px;
    }

    .feature-title-v2 {
        font-size: 1.5rem;
    }
}

/* ========== 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.3rem;
    line-height: 1.9;
    margin-bottom: 30px;
    color: #ffffff !important;
    font-weight: 500;
}

/* ========== 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.6rem;
    line-height: 1.8;
    color: #111111 !important;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif !important;
    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;
    }
}

/* ========== PERIOD CALCULATOR SECTION ========== */
.period-calc-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--rich-navy) 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.period-calc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(212,175,55,0.1)"/></svg>');
    opacity: 0.3;
}

.calc-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.calc-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 60px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.calc-header {
    text-align: center;
    margin-bottom: 50px;
}

.calc-header h2 {
    font-size: 3.5rem;
    color: var(--gold) !important;
    margin-bottom: 15px;
    font-weight: 800;
}

.calc-header p {
    font-size: 1.4rem;
    color: #FFFFFF !important;
    /* Pure white for maximum visibility */
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

.calc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-bottom: 45px;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-input-group label {
    font-size: 1.2rem;
    font-weight: 800;
    /* Extra bold labels */
    color: var(--gold) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.calc-input-group input,
.calc-input-group select {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 18px 25px;
    color: #FFFFFF !important;
    /* Bright white text for the field */
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

/* Fix for Select Dropdown Options - making them visible (dark text) */
.calc-input-group select option {
    color: #000000 !important;
    background-color: #FFFFFF !important;
}

.calc-input-group input:focus,
.calc-input-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.calc-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
    /* Highly visible placeholder */
    font-weight: 600;
}

.calc-btn-wrapper {
    text-align: center;
}

.btn-calc {
    background: var(--gold);
    color: var(--deep-navy) !important;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-calc:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* Result Display */
.calc-results {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    display: none;
}

.calc-results.show {
    opacity: 1;
    display: grid !important;
    transform: translateY(0);
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.result-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.result-card h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold) !important;
    margin-bottom: 15px;
    font-weight: 800;
}

.result-val {
    font-size: 2.22rem;
    font-weight: 800;
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .calc-form-grid {
        grid-template-columns: 1fr;
    }

    .calc-card {
        padding: 40px 25px;
    }

    .calc-header h2 {
        font-size: 2.5rem;
    }

    .calc-results {
        grid-template-columns: 1fr;
    }
}