/* ===========================================
   euisnag | style.css
   Premium Coach Promotion Site
   =========================================== */

/* ── Reset & Variables ── */
:root {
    --header-h: 80px;
    --primary: #1e3a34; /* Prestige Deep Green */
    --secondary: #4a6741; /* Sage Green */
    --accent: #8fb48d; /* Soft Leaf Green */
    --bg-light: #f4f7f6; /* Very light minty white */
    --bg-white: #ffffff;
    --text-main: #1e3a34;
    --text-dim: #5c756e;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
    --font-serif: 'Bodoni Moda', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--easing);
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ── Custom Cursor ── */
#cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform .08s;
}

#cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, .3);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .3s var(--easing), height .3s var(--easing), opacity .3s;
}

@media (hover: none) {
    #cursor-dot, #cursor-ring { display: none; }
}

/* ── Preloader ── */
#loader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    transition: opacity .8s, visibility .8s;
}

#loader.gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#loader-inner { text-align: center; }

#loader-brand {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary);
}

#loader-bar-wrap {
    width: 200px;
    height: 1px;
    background: rgba(0, 0, 0, .1);
    margin: 0 auto 14px;
    overflow: hidden;
}

#loader-bar {
    height: 100%;
    width: 0;
    background: var(--primary);
}

#loader-count { font-size: 14px; color: var(--text-dim); }

/* ── Header ── */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 900;
    transition: background 0.4s, backdrop-filter 0.4s;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dim);
}

.nav a:hover { color: var(--primary); }

.nav-contact {
    padding: 10px 24px;
    border: 1px solid var(--primary);
    border-radius: 40px;
    color: var(--primary) !important;
}

.nav-contact:hover {
    background: var(--primary);
    color: #fff !important;
}

/* ── Dropdown ── */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.drop-trigger {
    cursor: pointer;
}

.drop-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--easing);
    z-index: 1001;
}

.nav-dropdown:hover .drop-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.drop-content a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-dim) !important;
}

.drop-content a:hover {
    background: var(--bg-light);
    color: var(--primary) !important;
}

#menu-btn { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1002; }
#menu-btn span { display: block; width: 26px; height: 1.5px; background: var(--primary); transition: 0.3s var(--easing); }

.drop-trigger.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* ── Sections Common ── */
.section {
    padding: 160px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.bg-light { background: var(--bg-light); max-width: 100%; width: 100%; }
.bg-dark { background: var(--primary); max-width: 100%; width: 100%; }
.text-light { color: #f8fafc; }

.section-header {
    margin-bottom: 64px;
    text-align: center;
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

.section-body {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

/* ── Layouts ── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.fullscreen {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Hero ── */
#hero {
    position: relative;
    padding: 0 40px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(255,255,255,0.4) 100%);
}

.hero-eyebrow {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 48px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 18px 40px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.05);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll-hint span {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    background: var(--primary);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

/* ── Cards ── */
.card {
    background: #fff;
    padding: 48px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    transition: all 0.4s var(--easing);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-icon {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 24px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary);
}

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-list {
    margin-top: 32px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.about-img-wrap {
    aspect-ratio: 4/5;
    background: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-img {
    color: var(--secondary);
    font-size: 20px;
}

/* ── Testimonials ── */
.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    padding: 60px;
    background: var(--bg-light);
    border-radius: 8px;
    position: relative;
}

.testimonial-card p {
    font-size: 22px;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.testimonial-card cite {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    font-style: normal;
}

/* ── Contact ── */
.contact-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-header { margin-bottom: 60px; }

.contact-form {
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
}

.btn-full { width: 100%; }

/* ── Footer ── */
footer {
    padding: 80px 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
}

.copyright { color: var(--text-dim); font-size: 14px; }

.social-links { display: flex; gap: 24px; font-weight: 600; font-size: 14px; }

/* ── Sub-pages ── */
.sub-hero {
    padding: calc(var(--header-h) + 100px) 40px 100px;
    background: var(--bg-light);
    text-align: center;
}

.sub-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.sub-hero-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.sub-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    margin-bottom: 32px;
}

.sub-hero-desc {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

.split-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.content-sidebar {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.sidebar-box h3 {
    margin-bottom: 24px;
    font-size: 20px;
}

.sidebar-box ul li {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
    font-weight: 500;
}

.sidebar-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.text-center { text-align: center; }

@media (max-width: 1024px) {
    .split-content { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-trigger {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
}

.faq-trigger span {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-trigger span {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--easing);
}

.faq-content p {
    padding-bottom: 24px;
    color: var(--text-dim);
    line-height: 1.8;
}

.faq-item.active .faq-content {
    max-height: 200px;
}

/* ── Mobile Menu Overlay ── */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--easing);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    color: #fff;
    font-size: 32px;
    font-family: var(--font-serif);
}

.mobile-close {
    position: absolute;
    top: 40px; right: 40px;
    color: #fff;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--easing);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .grid-3, .testimonials-slider { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    #menu-btn { display: flex; }
    .form-grid { grid-template-columns: 1fr; }
    .section { padding: 80px 24px; }
    .header-inner { padding: 0 24px; }
}
