/* =========================================================================
   P&K CONSULTING V2 - GLOBAL SETUP
   ========================================================================= */

:root {
    /* Color Variables */
    --black: #080808;
    --dark: #101010;
    --card: #141414;
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --text: #F5F0E8;
    --muted: #9A9080;
    --border-dim: rgba(201, 168, 76, 0.15);
    --border-bright: rgba(201, 168, 76, 0.50);

    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;
    --pad-side: 5%;
    --pad-section: 100px;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* Fluid typography base */
    font-size: clamp(14px, 1.2vw, 16px);
}

body {
    background-color: var(--black);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base Elements */
h1,
h2,
h3,
h4,
h5,
h6,
.display-text {
    font-family: var(--font-heading);
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* 3D Background Container (Placeholder styles) */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, var(--dark), var(--black));
    /* Overlay darkness handled per section or via canvas logic in JS later */
}

/* Container Utility */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--pad-side);
    padding-right: var(--pad-side);
}

/* Section Utility */
section {
    padding-top: var(--pad-section);
    padding-bottom: var(--pad-section);
    padding-left: var(--pad-side);
    padding-right: var(--pad-side);
    position: relative;
}

/* Copy Target Global Utility */
.copy-target {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-feedback {
    font-size: 0.8em;
    font-family: var(--font-body);
    color: var(--text);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}


/* =========================================================================
   UI COMPONENTS (BUTTONS, CARDS, TICKER)
   ========================================================================= */

/* Button Utilities */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

/* Card Utilities */
.pk-card {
    background: var(--card);
    border: 1px solid var(--border-dim);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.pk-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.08);
}

/* Stats Ticker Bar */
.stats-ticker-bar {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #101010;
    padding: 1rem 0;
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.stats-ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

.stats-ticker-track span {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    vertical-align: middle;
}

.stats-ticker-track .ticker-diamond {
    margin: 0 3rem;
    font-size: 0.6rem;
    opacity: 0.6;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Scrolls exactly half the width to loop */
}

@media (max-width: 768px) {
    .stats-ticker-track span {
        font-size: 0.7rem;
    }

    .stats-ticker-track .ticker-diamond {
        margin: 0 1.5rem;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        display: flex;
    }
}

/* =========================================================================
   PROMPT 1B - HERO
   ========================================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    z-index: 1;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.1);
    /* 10% dark overlay per prompt */
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 1. Eyebrow */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eyebrow-line {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.eyebrow-text {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--gold);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* 2. Headline */
.hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0;
}

.hero h1 .italic-gold {
    color: var(--gold);
    font-style: italic;
    font-weight: 700;
    /* keep it bold italic */
}

/* 3. Subheadline */
.hero-sub {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 520px;
    margin: 0;
}

/* 4. Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* 5. Stats Row (Inner Hero, above the global ticker) */
.hero-stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dim);
    /* Thin gold divider */
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-weight: 600;
    /* Usually bold numbers, though explicitly required 'Cormorant gold 2.2rem' */
    font-size: 2.2rem;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.62rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    /* Wide spacing */
}

/* Mobile Hero Specifics */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-stats-row {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .hero-content {
        gap: 1.25rem;
    }
}

/* =========================================================================
   PROMPT 1A - NAVIGATION
   ========================================================================= */

.pk-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-dim);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--pad-side);
}

.pk-nav .nav-logo {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.pk-nav .logo-pk {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.pk-nav .logo-consulting {
    font-family: var(--font-heading);
    /* Keeping it consistent, or Montserrat depending on strict logo needs, instructions say "Treat as logo text" */
    font-size: 1.4rem;
    font-weight: 300;
    color: #FFFFFF;
}

.pk-nav ul.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.pk-nav .nav-links li a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
}

.pk-nav .nav-links li a:hover {
    color: var(--gold);
}

.nav-right {
    display: flex;
    align-items: center;
}

.btn-book {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 48px;
    /* Tap target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-book:hover {
    background: var(--gold);
    color: var(--black);
}

/* Mobile & Tablet Toggle */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    padding: 12px;
    flex-direction: column;
    justify-content: space-around;
    z-index: 1002;
    margin-left: 1rem;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}


/* Mobile Overlay Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.mobile-nav-links li a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    display: block;
    padding: 10px;
    /* Expand tap target */
    min-height: 48px;
}

.mobile-nav-links li a:hover {
    color: var(--gold);
}

.mobile-book.btn-book {
    width: calc(100% - var(--pad-side)*2);
    max-width: 400px;
    padding: 1rem;
    font-size: 1rem;
}


/* Media Queries for Nav */
@media (max-width: 1024px) {
    .pk-nav ul.nav-links {
        display: none;
    }

    .btn-book.desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* =========================================================================
   GLOBAL FOOTER
   ========================================================================= */
.pk-footer {
    position: relative;
    background: rgba(8, 8, 8, 0.75);
    /* 75% dark overlay */
    border-top: 1px solid var(--border-dim);
    padding-top: 5rem;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Brand Column */
.brand-col .nav-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.brand-col .logo-pk {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.brand-col .logo-consulting {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 300;
    color: #FFFFFF;
}

.brand-col .tagline {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-ig {
    color: var(--muted);
    transition: color 0.3s ease;
}

.footer-ig:hover {
    color: var(--gold);
}

/* Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Contact Col */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact .copy-target {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-contact .copy-target:hover {
    color: var(--gold);
}

.contact-hours {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-dim);
    padding: 2rem 0;
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.bottom-bar p {
    color: var(--muted);
    font-size: 0.85rem;
}

.legal-links a {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0.5rem;
}

.legal-links a:hover {
    color: var(--text);
}

.footer-disclaimer {
    text-align: center;
    max-width: 800px;
}

.footer-disclaimer p {
    color: #666;
    /* Very muted */
    font-size: 0.75rem;
    line-height: 1.6;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}