/* ==========================================================================
   Bau (Light Theme) Variables & Styles
   ========================================================================== */
:root {
    --color-bau-bg: #fdfdfd;
    --color-bau-bg-alt: #f1f5f9;
    --color-bau-text: #1e293b;
    --color-bau-text-muted: #64748b;

    --color-bau-primary: #f59e0b;
    /* Warm Amber / Construct */
    --color-bau-secondary: #0f172a;
    /* Deep Slate */
    --color-bau-accent: #10b981;
    /* Fresh Emerald */

    --gradient-bau: linear-gradient(135deg, #fdfdfd 0%, #e2e8f0 100%);
    --shadow-bau: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.theme-bau {
    background-color: var(--color-bau-bg);
    color: var(--color-bau-text);
}

/* Split Screen Specifics */
.split-side.split-bau {
    background: var(--gradient-bau);
    /* Optional: Background image for the Bau half */
    background-image: linear-gradient(rgba(253, 253, 253, 0.8), rgba(253, 253, 253, 0.9)), url('../assets/bau-bg.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.split-bau .content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.split-bau h1 {
    font-size: 4rem;
    font-weight: 300;
    /* More elegant, less brutal */
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: var(--color-bau-secondary);
}

.split-bau p {
    font-size: 1.2rem;
    color: var(--color-bau-text-muted);
    max-width: 80%;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.btn-bau {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-bau-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    /* Softer, elegant edge */
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-bau:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    background: #d97706;
}

/* Internal Page Styles */
.internal-page-bau {
    background-color: var(--color-bau-bg);
}

/* Hero Section */
.hero-section-bau {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.6)), url('../assets/bau_hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--color-bau-text);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--color-bau-secondary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-bau-text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Section Common */
.section-bau {
    padding: 100px 5%;
}

.section-title-bau {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-bau-secondary);
}

/* Services Grid */
.services-grid-bau {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-bau {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-bau);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card-bau:hover {
    transform: translateY(-10px);
    border-color: var(--color-bau-primary);
}

.service-card-bau i {
    font-size: 2.5rem;
    color: var(--color-bau-primary);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card-bau h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-bau-secondary);
}

.service-card-bau p {
    color: var(--color-bau-text-muted);
    line-height: 1.6;
}

/* Footer Section */
.footer-simple-bau {
    padding: 50px 5%;
    background: var(--color-bau-bg-alt);
    color: var(--color-bau-text-muted);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a:hover {
    color: var(--color-bau-primary);
}

/* ==========================================================================
   Bau – Responsive (mirrors global.css V6 breakpoints)
   ========================================================================== */

/* ── Tablet Landscape / Small Laptop ─── */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 3.2rem);
    }

    .page-hero {
        padding: 120px 5% 80px;
    }

    .section-bau {
        padding: 70px 5%;
    }
}

/* ── Tablet Portrait ──────────────────── */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .page-hero {
        padding: 110px 5% 60px;
        min-height: 320px;
    }

    .page-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .section-bau {
        padding: 60px 20px;
    }
}

/* ── Mobile Phone ─────────────────────── */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .hero-content p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .page-hero {
        padding: 96px 4% 48px;
        min-height: 280px;
    }

    .section-bau {
        padding: 48px 16px;
    }
}

/* ── Small Phones ─────────────────────── */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .page-hero {
        padding: 88px 4% 40px;
    }
}
/* ==========================================================================
   Bau Header Override — Light theme needs a light header
   ========================================================================== */

/* The global header uses a dark glass bg; override it for the light Bau theme */
.theme-bau .global-header,
.bau-theme .global-header {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Logo and nav links: dark on light header */
.theme-bau .global-header .logo a,
.bau-theme .global-header .logo a {
    color: #0f172a !important;
}

.theme-bau .global-header.scrolled,
.bau-theme .global-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Theme switcher on Bau (light) header — fix invisible inactive button */
.theme-bau .theme-switcher,
.bau-theme .theme-switcher {
    background: rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.15);
}

.theme-bau .theme-switcher .switch-btn,
.bau-theme .theme-switcher .switch-btn {
    color: rgba(15, 23, 42, 0.6) !important;
}

.theme-bau .theme-switcher .switch-btn.active,
.bau-theme .theme-switcher .switch-btn.active {
    background: #f59e0b;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}
