/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --ivory: #FDFCF8;
    --ivory-card: #F6F3EB;
    --dark: #161616;
    --dark-footer: #1A1A1A;
    --gold: #B8904D;
    --gold-muted: #D3BA82;
    --border-color: #E2DDD3;
    --border-card: #EAE6DD;
    --text-muted: #6E6E6E;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --header-height: 72px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background-color: var(--ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================
   NAVIGATION DRAWER
========================================================== */
.nav-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--ivory);
    border-right: 1px solid var(--border-color);
    z-index: 999;
    padding: 2rem 1.5rem;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.nav-drawer.active {
    left: 0;
}

.nav-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.drawer-logo a {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--dark);
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--dark);
}

.nav-drawer-menu ul {
    list-style: none;
}

.nav-drawer-menu ul li {
    margin-bottom: 1.2rem;
}

.nav-drawer-menu ul li a {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark);
    display: block;
    padding: 0.4rem 0;
    letter-spacing: 0.04em;
}

.nav-drawer-menu ul li a:hover {
    color: var(--gold);
}

/* ==========================================================
   FULL-WIDTH SITE HEADER
========================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--ivory);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.header-inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icon {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--dark);
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-left: -0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo a {
    font-family: var(--font-serif);
    font-size: 1.36rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--dark);
    display: inline-block;
    padding-left: 0.32em; /* balances letter-spacing visually */
    transition: opacity 0.2s ease;
}

.logo a:hover {
    opacity: 0.75;
}

.header-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.header-icon-link {
    font-size: 1.15rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    padding: 0.3rem;
}

.header-icon-link:hover {
    color: var(--gold);
}

/* ==========================================================
   MAIN & COMMON CONTAINERS
========================================================== */
.site-main {
    min-height: calc(100vh - 350px);
}

.content-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-label::before,
.section-label::after {
    content: '';
    height: 1px;
    background-color: var(--border-color);
    flex-grow: 1;
    max-width: 50px;
}

/* ==========================================================
   CINEMATIC HERO BANNER SLIDER & ANIMATIONS
========================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    min-height: 580px;
    background-color: #1A1A1A;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s ease;
    display: flex;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 3.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.38) 60%, rgba(0, 0, 0, 0.58) 100%);
    z-index: 1;
}

/* Unified Persistent Hero Content (Same for All Slider Images) */
.hero-content-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 6;
    max-width: 680px;
    padding: 0 3rem;
    margin: 0 auto 0 8vw;
    color: #FFFFFF;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #E2DDD3;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1.05;
    letter-spacing: 0.04em;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.hero-subtext {
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    margin-bottom: 2.2rem;
    color: #D3CFCA;
    text-transform: uppercase;
}

.btn-outline {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #FFFFFF;
    color: var(--dark);
}

/* Indicators with animated progress bar */
.hero-slider-nav {
    position: absolute;
    bottom: 2.5rem;
    left: 8vw;
    z-index: 10;
    display: flex;
    gap: 1.8rem;
}

.slide-indicator {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 0;
    color: rgba(255, 255, 255, 0.42);
    outline: none;
    font-family: var(--font-sans);
    transition: color 0.3s ease;
}

.slide-num {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.slide-indicator:hover .slide-num,
.slide-indicator.active .slide-num {
    color: #FFFFFF;
}

.slide-indicator.active .slide-num {
    font-weight: 600;
}

.slide-progress-bar {
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.22);
    margin-top: 6px;
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.slide-indicator.active .slide-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #FFFFFF;
    animation: progressFill 3s linear forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

.hero-scroll-cue {
    position: absolute;
    bottom: 2.2rem;
    right: 8vw;
    z-index: 10;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-scroll-cue:hover {
    color: #FFFFFF;
    transform: translateY(3px);
}

.hero-scroll-cue i {
    font-size: 0.85rem;
    animation: cueBounce 2s infinite ease-in-out;
}

@keyframes cueBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ==========================================================
   REVIEW SUBMISSION SECTION (Section 2)
========================================================== */
.review-submission-section {
    padding: 5.5rem 0;
    background-color: var(--ivory);
    border-bottom: 1px solid var(--border-color);
}

.form-heading {
    font-family: var(--font-serif);
    font-size: 2.7rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.form-subtext {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 3rem;
}

.review-card-form {
    background-color: var(--ivory-card);
    border: 1px solid var(--border-card);
    padding: 2.5rem 2rem;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.review-card-form h3 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.star-rating-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.45rem;
    cursor: pointer;
}

.star-rating-input span {
    color: var(--gold-muted);
    transition: color 0.2s ease, transform 0.1s ease;
}

.star-rating-input span:hover,
.star-rating-input span.active {
    color: var(--gold);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-control {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border-color);
    background-color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--dark);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--dark);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
    line-height: 1.5;
}

.btn-black {
    width: 100%;
    background-color: var(--dark);
    color: #FFFFFF;
    border: none;
    padding: 1rem;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    font-weight: 500;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.btn-black:hover {
    background-color: #000000;
}

/* ==========================================================
   CADET REVIEWS SECTION (Section 3 - Continuous Below)
========================================================== */
.reviews-section {
    padding: 5.5rem 0;
    background-color: #FFFFFF;
}

.reviews-heading {
    font-family: var(--font-serif);
    font-size: 2.7rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.reviews-subtext {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 3rem;
}

.review-item {
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    margin-bottom: 1.6rem;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: box-shadow 0.25s ease;
}

.review-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.avatar {
    width: 42px;
    height: 42px;
    background-color: #8C8C8C;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--dark);
    margin-bottom: 0.15rem;
}

.reviewer-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stars {
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #383838;
}

.view-all-wrapper {
    margin-top: 2.5rem;
}

.btn-outline-dark {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--dark);
    color: var(--dark);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.btn-outline-dark:hover {
    background-color: var(--dark);
    color: #FFFFFF;
}

/* ==========================================================
   FULL-WIDTH DARK FOOTER (Section 4)
========================================================== */
.site-footer {
    background-color: var(--dark-footer);
    color: #FFFFFF;
    padding: 5rem 2rem 2.5rem;
    width: 100%;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
    margin-bottom: 3.5rem;
}

.footer-logo h2 {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    letter-spacing: 0.3em;
    font-weight: 400;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.footer-logo p {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #9E9E9E;
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    color: #E0E0E0;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.85rem;
    font-size: 0.86rem;
    color: #A0A0A0;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
}

.footer-col .icon-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-col .unit-address {
    align-items: flex-start;
}

.footer-col .unit-address i {
    margin-top: 4px;
}

.footer-col .unit-link {
    margin-top: 10px;
}

.footer-col .unit-link a {
    text-decoration: underline;
    font-size: 0.82rem;
    color: #CCC;
}

.footer-col .unit-link a:hover {
    color: #FFF;
}

.footer-bottom {
    border-top: 1px solid #2B2B2B;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #7A7A7A;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: #B0B0B0;
}

/* ==========================================================
   INNER PAGES STYLING (Products, About, Contact, etc.)
========================================================== */
.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid var(--border-color);
    background: #FFFFFF;
    padding: 1.2rem;
    border-radius: 2px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-img-box {
    width: 100%;
    height: 240px;
    background: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-img-box img {
    max-height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.product-card .price {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* ==========================================================
   RESPONSIVE QUERIES
========================================================== */
@media (max-width: 991px) {
    :root {
        --header-height: 68px;
    }
    .hero-slider,
    .hero {
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        min-height: 520px;
    }
    .hero-content {
        margin-left: 2rem;
        padding: 0 1rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-slider-nav {
        left: 2rem;
    }
    .hero-scroll-cue {
        display: none;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 680px) {
    :root {
        --header-height: 62px;
    }
    .header-inner {
        padding: 0 1.2rem;
    }
    .logo a {
        font-size: 1.12rem;
        letter-spacing: 0.22em;
        padding-left: 0.22em;
    }
    .hero-slider,
    .hero {
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        min-height: 480px;
    }
    .hero-content {
        margin-left: 1.2rem;
        margin-right: 1.2rem;
        padding: 0;
    }
    .hero-slider-nav {
        left: 1.2rem;
        bottom: 2rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .form-heading,
    .reviews-heading {
        font-size: 2.2rem;
    }
    .review-submission-section,
    .reviews-section {
        padding: 3.5rem 0;
    }
    .review-card-form {
        padding: 1.8rem 1.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
}
