/* AXIS Restaurant Consulting - Premium Design System (Interactive) */

:root {
    /* Brand Palette */
    --bordo: #800020;
    /* Burgundy/Wine - Deep & Rich */
    --bordo-dark: #500014;
    --gold: #D4AF37;
    /* Classic Gold */
    --copper: #B87333;
    /* Warm Copper */
    --cream: #F9F6F0;
    /* Softer, more elegant cream */
    --charcoal: #1C1C1C;
    /* Nearly black */
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
    /* Kept for subtle accents only */

    /* Gradients */
    --gradient-copper: linear-gradient(135deg, var(--gold) 0%, var(--copper) 100%);
    --gradient-bordo: linear-gradient(135deg, var(--bordo) 0%, #4a0010 100%);

    /* UX */
    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    transition: background-color 1s ease, color 1s ease;
    /* Smooth Theme Switch */
}

/* Theme Classes (Applied by JS) */
body.theme-light {
    background-color: var(--white);
    color: var(--charcoal);
}

body.theme-cream {
    background-color: var(--cream);
    color: var(--charcoal);
}

body.theme-dark {
    background-color: var(--charcoal);
    color: var(--white);
}

body.theme-bordo {
    background-color: var(--bordo);
    color: var(--white);
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: inherit;
    /* Inherit from body/theme */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Text Utilities & Theme Adaptation */
body.theme-dark .text-bordo,
body.theme-bordo .text-bordo {
    color: var(--gold);
}

/* Adapt text for dark backgrounds */
.text-gradient {
    background: var(--gradient-copper);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.text-bordo {
    color: var(--bordo);
}

.text-copper {
    color: var(--copper);
}

.text-white {
    color: var(--white);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.separator-copper {
    width: 80px;
    height: 2px;
    background: var(--gradient-copper);
    margin: 2rem auto;
}

/* Header */
.site-header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.5s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.site-header.header-dark.scrolled {
    background: rgba(28, 28, 28, 0.95);
    color: #fff;
}

.site-header.header-dark .logo-text,
.site-header.header-dark .main-nav a {
    color: var(--white);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--bordo);
    letter-spacing: -1px;
    transition: color 0.5s ease;
}

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

.main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--charcoal);
    transition: color 0.5s ease;
}

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

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

.hero-content {
    width: 55%;
    z-index: 2;
    position: relative;
}

/* Updated Background */
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 120%;
    /* Taller for parallax */
    background: url('assets/hero-bg-luxury.png') center/cover no-repeat;
    opacity: 1;
    z-index: 1;
}

.hero-bg::after {
    /* Gradient overlay for text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(249, 246, 240, 0.95) 40%, rgba(249, 246, 240, 0.1) 100%);
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--bordo);
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #444;
    max-width: 500px;
    margin-bottom: 40px;
    border-left: 3px solid var(--copper);
    padding-left: 20px;
    position: relative;
}

/* Formula Block */
.formula-block {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-header);
    margin-bottom: 40px;
}

.formula-item {
    display: flex;
    flex-direction: column;
}

.formula-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.formula-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
}

.formula-arrow {
    font-size: 2rem;
    color: var(--copper);
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-bordo);
    color: #ffffff !important;
    /* FORCE WHITE TEXT */
    border: 1px solid var(--gold);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(128, 0, 32, 0.3);
}

.btn-copper {
    background: transparent;
    border: 1px solid var(--copper);
    color: var(--copper);
}

.btn-copper:hover {
    background: var(--gradient-copper);
    color: var(--white);
    border-color: transparent;
}

/* Replaced btn-white with btn-secondary for better semantics and control */
.btn-secondary {
    background: transparent !important;
    backdrop-filter: blur(5px);
    color: var(--bordo) !important;
    /* Default for Light Backgrounds */
    border: 1px solid var(--gold) !important;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--gold) !important;
    color: var(--charcoal) !important;
    border-color: var(--gold) !important;
}

/* Context Override: Secondary Button on Dark/Bordo Backgrounds */
.bg-bordo .btn-secondary,
.theme-bordo .btn-secondary,
.text-white .btn-secondary {
    color: #ffffff !important;
    border-color: var(--gold) !important;
}

.full-width {
    width: 100%;
}

/* Split Layout (Philosophy) */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bordo);
    margin-bottom: 20px;
}

.quote-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-left: 5px solid var(--copper);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--charcoal);
    box-shadow: var(--shadow-soft);
    border-radius: 20px;
}

/* Steps Grid (Process) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    border-radius: 20px;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(184, 115, 51, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(128, 0, 32, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: var(--font-heading);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--bordo);
}

/* Specific styling for Step Cards on Bordo Background */
.section.bg-bordo .step-card {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--white);
}

.section.bg-bordo .step-card h3 {
    color: var(--white);
}

.section.bg-bordo .step-card p {
    color: rgba(255, 255, 255, 0.9);
}

.section.bg-bordo .step-card .step-number {
    color: var(--gold);
    opacity: 0.5;
}

.section.bg-bordo .step-card:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--white);
    transform: translateY(-10px);
}

/* Offers Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--charcoal);
    /* Force color for theme switching */
    border-radius: 20px;
}

.offer-card:hover {
    border-color: var(--copper);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.offer-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #f0f0f0;
    color: #555;
    margin-bottom: 15px;
    border-radius: 20px;
}

.offer-card.featured {
    border: 2px solid var(--bordo);
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 15px 50px rgba(128, 0, 32, 0.15);
}

.featured-badge {
    background: var(--gradient-bordo);
    color: var(--white);
}

.card-top h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--bordo);
}

.price-range {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: 20px;
}

.card-middle .pitch {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--bordo);
    margin-bottom: 10px;
}

.card-middle .desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.check-list {
    margin-bottom: 30px;
}

.check-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #444;
}

.check-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--copper);
    font-size: 0.8rem;
    top: 2px;
}

.offer-card.horizontal {
    background: var(--gradient-bordo);
    color: var(--white);
    border: none;
}

.offer-card.horizontal h3,
.offer-card.horizontal .pitch {
    color: var(--white);
}

.offer-card.horizontal .sub-price {
    color: var(--gold);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

/* Anti-Mistakes Grid */
.anti-mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.mistake-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border: 1px solid #eee;
    transition: var(--transition);
    border-radius: 20px;
}

.mistake-card:hover {
    border-color: var(--bordo);
    transform: scale(1.05);
}

.mistake-text {
    font-style: italic;
    color: #888;
    margin-bottom: 15px;
}

.arrow-down {
    color: var(--copper);
    font-size: 1.5rem;
    margin: 10px 0;
}

.reality-text {
    font-weight: 500;
    color: var(--charcoal);
}

/* Contact */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    /* Stack text and form vertically */
    gap: 40px;
    max-width: 800px;
    /* Limit width for better readability */
    margin: 0 auto;
    /* Center the column */
}

.contact-text {
    flex: 1;
}

.contact-form-dark {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--font-body);
    border-radius: 20px;
    font-size: 16px;
    /* Prevents iOS zoom on focus */
    color: #fff;
    -webkit-appearance: none;
    /* Removes default iOS styling */
    appearance: none;
}

.form-group input::placeholder,
.form-group select {
    color: rgba(255, 255, 255, 0.8);
    /* Brighter placeholder text */
}

/* Ensure Select dropdown arrow is visible */
.form-group select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23D4AF37%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

/* Specific Submit Button Styling for High Visibility */
.btn-submit {
    background-color: var(--gold) !important;
    color: var(--charcoal) !important;
    font-weight: 700;
    border: none !important;
    padding: 18px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 20px;
    width: 100%;
    border-radius: 20px;
}

.btn-submit:hover {
    background-color: var(--white) !important;
    transform: scale(1.02);
}

/* Responsive */
/* Responsive Styles (Mobile & Tablet) */
@media (max-width: 1024px) {

    /* Mobile Navigation Overlay */
    .menu-toggle {
        display: flex;
        /* Show hamburger */
    }

    .main-nav {
        display: block;
        /* Override flex */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bordo);
        z-index: 1000;
        transition: right 0.4s ease;
        padding-top: 100px;
        /* Space for X button */
        text-align: center;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .main-nav a {
        color: var(--white);
        /* White text on Bordo menu */
        font-size: 1.5rem;
        font-weight: 600;
    }

    .site-header {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.95);
        /* Slight bg for readability */
    }

    /* Hero Fixes */
    .hero-title {
        font-size: 2.5rem !important;
        /* Smaller title */
        line-height: 1.2;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        /* Centralized Buttons */
        width: 100%;
    }

    .cta-group .btn {
        margin-left: 0 !important;
        /* Remove desktop margin */
        width: 100%;
        /* Full width buttons for easy tapping */
        max-width: 300px;
        text-align: center;
    }

    /* Content Expansion (2nd & 3rd Screen) */
    .lead-text {
        font-size: 1.1rem;
    }

    .split-layout {
        display: flex;
        flex-direction: column;
    }

    .text-content,
    .visual-content {
        width: 100%;
        /* Expand text box */
        padding-right: 0;
        /* Remove padding that squishes text */
        margin-bottom: 40px;
    }

    /* Form Button Fix - Mobile Specific Override */
    .btn-submit {
        background-color: var(--white) !important;
        /* Force White on Mobile for maximum contrast */
        color: var(--bordo) !important;
        border: 2px solid var(--bordo) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        margin-top: 30px;
        padding: 20px;
    }
}