/* ============================================
   Tracks Lounge — Stylesheet
   Forest Green + Off-White | Confident Corporate
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark: #1a4d2e;
    --green-mid: #2d6a4f;
    --green-light: #40916c;
    --green-pale: #b7e4c7;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --white: #ffffff;
    --black: #0f1a13;
    --gray-900: #1a2332;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(15, 26, 19, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 26, 19, 0.10);
    --shadow-lg: 0 12px 40px rgba(15, 26, 19, 0.14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: var(--green-mid);
}

.section-label--light {
    color: var(--green-pale);
}

.section-label--light::before {
    background: var(--green-pale);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--green-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-title--light {
    color: var(--white);
}

.section-sub {
    font-size: 1.125rem;
    color: var(--gray-700);
    max-width: 560px;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

.btn--primary:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}

.btn--light {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}

.btn--light:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--full {
    width: 100%;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 77, 46, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-dark);
    letter-spacing: -0.01em;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--green-dark);
    background: rgba(26, 77, 46, 0.06);
}

.nav-link--cta {
    background: var(--green-dark);
    color: var(--white) !important;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--green-mid);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 26, 19, 0.82) 0%,
        rgba(26, 77, 46, 0.70) 50%,
        rgba(45, 106, 79, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-pale);
    margin-bottom: 32px;
}

.hero-tag-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--green-pale);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 28px;
    max-width: 820px;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(245, 240, 232, 0.8);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.6);
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(245, 240, 232, 0.25);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(245, 240, 232, 0.5);
    animation: heroScroll 2s ease-in-out infinite;
}

@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── Section Base ── */
.section {
    padding: 120px 0;
}

/* ── About ── */
.about {
    background: var(--white);
}

.grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--green-dark);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.08;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pillar svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pillar strong {
    display: block;
    font-size: 1rem;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.pillar span {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Offerings ── */
.offerings {
    background: var(--cream);
}

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

.section-header .section-sub {
    margin: 0 auto;
}

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

.offering-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.offering-card-img {
    overflow: hidden;
    height: 260px;
}

.offering-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.offering-card-body {
    padding: 32px;
}

.offering-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 77, 46, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.offering-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.offering-card-body p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ── Quality ── */
.quality {
    background: var(--green-dark);
    color: var(--white);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.quality .section-label {
    color: var(--green-pale);
}

.quality .section-label::before {
    background: var(--green-pale);
}

.quality .section-title {
    color: var(--white);
}

.quality-text {
    font-size: 1.0625rem;
    color: rgba(245, 240, 232, 0.75);
    line-height: 1.8;
    margin-bottom: 48px;
}

.quality-steps {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.quality-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.quality-step-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-pale);
    line-height: 1;
    opacity: 0.5;
    min-width: 56px;
}

.quality-step strong {
    display: block;
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 6px;
}

.quality-step span {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.65);
    line-height: 1.7;
}

.quality-visual img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ── Visit ── */
.visit {
    background: var(--cream);
    padding: 0 0 120px;
}

.visit-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.visit-banner-bg {
    position: absolute;
    inset: 0;
}

.visit-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 26, 19, 0.88) 0%,
        rgba(26, 77, 46, 0.75) 60%,
        rgba(26, 77, 46, 0.4) 100%
    );
}

.visit-banner-content {
    position: relative;
    z-index: 1;
    padding: 64px 72px;
    max-width: 600px;
}

.visit-text {
    font-size: 1.0625rem;
    color: rgba(245, 240, 232, 0.85);
    line-height: 1.75;
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--white);
}

.visit-detail svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--green-pale);
}

.visit-detail strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-pale);
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    font-size: 1rem;
    color: var(--white);
}

.visit-detail a:hover {
    text-decoration: underline;
}

/* ── Contact ── */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-text {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--gray-700);
    transition: var(--transition);
}

.contact-method:hover {
    color: var(--green-dark);
}

.contact-method svg {
    flex-shrink: 0;
    color: var(--green-mid);
}

/* Form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.form-input::placeholder {
    color: var(--gray-500);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(26, 77, 46, 0.06);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--green-dark);
}

.form-success svg {
    flex-shrink: 0;
}

/* ── Footer ── */
.footer {
    background: var(--black);
    color: rgba(245, 240, 232, 0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.55);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--green-pale);
}

.footer-address {
    font-size: 0.9375rem;
    line-height: 1.8;
    font-style: normal;
}

.footer-address a {
    color: rgba(245, 240, 232, 0.55);
    transition: var(--transition);
}

.footer-address a:hover {
    color: var(--green-pale);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.35);
}

.footer-bottom a {
    color: rgba(245, 240, 232, 0.35);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--green-pale);
}

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .grid-about,
    .quality-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrap img,
    .quality-visual img {
        height: 400px;
    }

    .offerings-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .visit-banner-content {
        padding: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        width: 100%;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .visit-banner {
        min-height: auto;
    }

    .visit-banner-content {
        padding: 40px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .section {
        padding: 80px 0;
    }

    .contact-form-wrap {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-image-wrap img {
        height: 320px;
    }

    .quality-step-num {
        font-size: 1.75rem;
        min-width: 40px;
    }
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 19, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
