/* ============================================
   ZebraMark Website - Design System v1.0
   ============================================ */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --brand-gold: #E5B54A;
    --brand-black: #2B2B2B;
    --brand-white: #FEFDFB;
    --brand-deep: #1A1A1A;
    --brand-charcoal: #3D3D3D;
    --brand-gold-light: #F4D88A;
    --brand-border: #E5E5E5;
    --brand-text-muted: #8B8B8B;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-2xl: 80px;
    --spacing-3xl: 120px;
    
    /* Container */
    --container-max: 1280px;
}

/* Typography Base */
body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--brand-charcoal);
    background: var(--brand-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--brand-black);
    font-weight: 700;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 60px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--brand-border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo Icon Wrapper - Gold background box */
.logo-icon-wrapper {
    width: 110px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    margin-right: 6px; /* reduce space between logo and text */
}

.logo-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Logo Text Styling - Horizontal layout like image 2 */
.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text span:first-child {
    color: var(--brand-gold);
}

.logo-text span:last-child {
    color: var(--brand-black);
}

/* Deprecated - keeping for backwards compatibility */
.nav-logo span {
    color: var(--brand-gold);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--brand-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gold);
}

/* Hero Section */
.hero {
    padding: 140px 0 50px;
    text-align: center;
    background: var(--brand-white);
}

.stripe-accent {
    width: 120px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--brand-black) 0%,
        var(--brand-black) 50%,
        var(--brand-gold) 50%,
        var(--brand-gold) 100%
    );
    margin: 0 auto 40px;
    animation: fadeIn 0.6s ease;
}

.hero h1 {
    font-size: 68px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease;
}

.hero .subtext {
    font-size: 22px;
    line-height: 1.6;
    color: #555;
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto 48px;
    animation: fadeInUp 1s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

/* Primary button - Gold background (for hero sections on white) */
.btn-primary {
    background: var(--brand-gold);
    color: var(--brand-black);
}

.btn-primary:hover {
    background: var(--brand-black);
    color: var(--brand-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 181, 74, 0.3);
}

/* Secondary button - Black background (for hero sections on white) */
.btn-secondary {
    background: var(--brand-black);
    color: var(--brand-white);
    border: 2px solid var(--brand-black);
}

.btn-secondary:hover {
    background: var(--brand-white);
    color: var(--brand-black);
    border-color: var(--brand-black);
}

/* CTA Banner specific button styles - plain text that transforms */
.cta-banner .btn {
    background: transparent;
    color: var(--brand-black);
    border: none;
    padding: 18px 40px;
}

.cta-banner .btn:hover {
    background: var(--brand-black);
    color: var(--brand-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    padding: 70px 0;
}

.section-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    padding-bottom: 36px;
}

/* Automatic zebra accent after section titles */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--brand-black) 0%,
        var(--brand-black) 50%,
        var(--brand-gold) 50%,
        var(--brand-gold) 100%
    );
    margin: 4px auto 0;
    border-radius: 1px;
}

/* Split-color words in headings - automatic first word gold */
.section-title .first,
h2 .first,
h3 .first,
.hero h1 .first {
    color: var(--brand-gold) !important;
}

.section-title .second,
h2 .second,
h3 .second,
.hero h1 .second {
    color: var(--brand-black) !important;
}

.section-subtitle {
    font-size: 28px;
    line-height: 1.5;
    color: var(--brand-charcoal);
    font-style: normal;
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-serif);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Framework Cards */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
}

.framework-card {
    background: white;
    border: 2px solid var(--brand-border);
    border-radius: 8px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.framework-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--brand-black) 0%,
        var(--brand-black) 50%,
        var(--brand-gold) 50%,
        var(--brand-gold) 100%
    );
    transition: width 0.3s ease;
}

.framework-card:hover {
    border-color: var(--brand-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.framework-card:hover::before {
    width: 100%;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 50%;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.framework-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.framework-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.text-link {
    color: var(--brand-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.text-link:hover {
    gap: 12px;
}

/* Pull Quote */
.pull-quote {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
    border-left: 4px solid var(--brand-gold);
}

.pull-quote p {
    font-size: 24px;
    line-height: 1.7;
    color: var(--brand-black);
    margin-bottom: 24px;
}

.pull-quote .emphasis {
    display: block;
    margin-top: 32px;
    font-style: normal;
    line-height: 1.9;
    font-family: var(--font-serif);
}

/* CTA Banner */
.cta-banner {
    background: var(--brand-gold);
    text-align: center;
    padding: 80px 60px;
}

.cta-banner h2 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--brand-black);
    color: white;
    padding: 50px 0;
    border-top: 3px solid var(--brand-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 60px;
}

.footer-logo {
    font-size: 24px;
    color: var(--brand-gold);
    font-weight: bold;
    font-family: var(--font-serif);
}

.footer-nav {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--brand-gold);
}

.footer-copyright {
    text-align: right;
    color: var(--brand-text-muted);
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container, .nav-container, .footer-content {
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .framework-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtext {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .logo-icon-wrapper {
    width: 110px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    margin-right: 6px; /* reduce space between logo and text */
}
    
    .logo-text {
        font-size: 24px;
    }
}

/* ============================================
   ZEBRAMARK DESIGN REFINEMENTS
   Brand Identity Elements - Gold & Black
   ============================================ */

/* Split-Color Headings */
.gold {
    color: var(--brand-gold);
}

.black {
    color: var(--brand-black);
}

/* Auto-styling for article h2 headings */
article h2 {
    font-size: 32px;
    margin: 48px 0 0;
    font-family: var(--font-serif);
    color: var(--brand-black);
    position: relative;
    padding-bottom: 28px;
}

/* Automatic zebra accent after article h2 */
article h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--brand-black) 0%,
        var(--brand-black) 50%,
        var(--brand-gold) 50%,
        var(--brand-gold) 100%
    );
    margin: 4px 0 0;
    border-radius: 1px;
}

/* Split colors for article headings */
article h2 .first {
    color: var(--brand-gold) !important;
}

article h2 .second {
    color: var(--brand-black) !important;
}

/* Framework card h3 split colors */
.framework-card h3 .first,
h3 .first {
    color: var(--brand-gold) !important;
}

.framework-card h3 .second,
h3 .second {
    color: var(--brand-black) !important;
}

/* Zebra Accent Strip */
.zebra-accent {
    height: 2px;
    width: 80px;
    margin: 4px 0 32px 0;
    background: linear-gradient(
        90deg,
        var(--brand-black) 0%,
        var(--brand-black) 50%,
        var(--brand-gold) 50%,
        var(--brand-gold) 100%
    );
    border-radius: 1px;
}

/* Section Spacing */
.section-refined {
    padding: 50px 0;
}

.section-compact {
    padding: 30px 0;
}

/* Belief Block with Split-Color Border */
.belief-block {
    margin-bottom: 48px;
    padding-left: 40px;
    border-left: 5px solid transparent;
    border-image: linear-gradient(to bottom, var(--brand-gold) 50%, var(--brand-black) 50%);
    border-image-slice: 1;
}

.belief-block:last-child {
    margin-bottom: 0;
}

.belief-block h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--brand-black);
}

.belief-block p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .zebra-accent {
        width: 60px;
        height: 2px;
        margin: 3px 0 20px 0;
    }
    
    .belief-block {
        padding-left: 24px;
        margin-bottom: 32px;
    }
    
    .section-refined {
        padding: 35px 0;
    }
    
    .section-compact {
        padding: 25px 0;
    }
}


/* Tighten spacing between logo and text */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px; /* minimal spacing */
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
}

.logo-text span:first-child {
    margin-right: 2px;
}


/* Final alignment: remove inline spacing and add exact 1px breathing space */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 1px; /* precise breathing space */
}

.logo-icon-wrapper {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* -------------------------------------------------------
   ZebraMark Accent Styles
   ------------------------------------------------------- */
.vertical-divider {
  border-left: 4px solid #E5B54A; /* Zebra Gold */
  padding-left: 40px;
  margin-left: 40px;
}


