/* 
   BENEATH THE TRANSACTION - MASTER CSS
   Brand Guide Implemented April 2025
*/

:root {
    /* Brand Colors */
    --btt-brown: #623316;
    --btt-mid-brown: #8B5230;
    --btt-deep-brown: #3D1F0A;
    --btt-gold: #b4723f;
    --btt-soft-gold: #F5C878;
    --btt-parchment: #FDF6EC;
    
    /* System constraints */
    --text-primary: var(--btt-deep-brown);
    --text-secondary: var(--btt-brown);
    --bg-primary: var(--btt-parchment);
    --bg-dark: var(--btt-deep-brown);
}

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

body {
    background-color: var(--bg-primary); /* NEVER PURE WHITE */
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY SYSTEM */
h1, h2, .pull-quote {
    font-family: 'Playfair Display', serif;
}

h1 { /* Hero Headline */
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 { /* Section Title */
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
}

h3 { /* Subheading */
    font-size: 24px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.body-large { font-size: 18px; font-weight: 400; }
.body-standard { font-size: 16px; font-weight: 400; }
.caption { font-size: 13px; font-weight: 400; color: #666; }

.pull-quote {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    font-style: italic;
    color: var(--btt-brown);
}

/* DARK MODE SECTIONS */
.section-dark {
    background-color: var(--bg-dark);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark p {
    color: var(--btt-parchment);
}

/* LAYOUT STRUCTURE */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
}

/* BUTTONS & HOVERS */
.btn-primary {
    display: inline-block;
    background-color: var(--btt-gold);
    color: var(--btt-deep-brown);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(250, 166, 52, 0.2);
}
.btn-primary:hover {
    background-color: var(--btt-soft-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 166, 52, 0.4);
}

/* CARDS & GLASSMORPHISM */
.glass-panel {
    background: rgba(253, 246, 236, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 246, 236, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.endorsement-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.endorsement-card:hover {
    transform: translateY(-5px);
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* MISC BRAND ELEMENTS */
.gold-accent-bar {
    width: 60px;
    height: 4px;
    background-color: var(--btt-gold);
    margin: 24px 0;
}

/* GLOBAL HEADER NAVIGATION */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
    transition: all 0.3s ease;
    z-index: 1000;
}
.site-header.scrolled {
    background: rgba(61, 31, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.brand-logo {
    color: var(--btt-parchment);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    color: var(--btt-parchment);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--btt-gold);
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Hide on mobile for now, or implement hamburger */
}
