/* ==========================================================================
   Boopsnootboarding - Master Global Stylesheet (Bright Warm Canine Palette)
   Theme: Warm Cream & Linen Backgrounds with Golden Retriever Tans & Espresso Text
   No Blue, No Green, No Emojis. Full Complete Code.
   ========================================================================== */

:root {
    /* Canine-Inspired Brand Palette */
    --color-dog-tan: #b45309;        /* Rich golden retriever amber */
    --color-dog-tan-light: #fef3c7;  /* Soft cream tint for highlights */
    --color-dog-red: #9a3412;        /* Deep mahogany/red-brown accent */
    --color-dog-cream: #fdfbf7;      /* Warm off-white cream background */
    --color-dog-black: #1c1917;      /* Rich charcoal black for sharp contrast */
    
    /* Structural & Surface Tones (Bright & Warm) */
    --color-bg: #f4efe6;             /* Warm linen/sand cream base */
    --color-surface: #ffffff;        /* Crisp white card container */
    --color-surface-hover: #faf7f2;  /* Elevated warm state */
    --color-text: #221e1a;           /* Deep espresso for maximum readability and contrast */
    --color-text-muted: #6e655f;     /* Warm gray-brown for muted subtext */
    --color-border: #dcd2c4;         /* Natural warm structural borders */

    /* Typography & Depth */
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --shadow-card: 0 10px 30px -10px rgba(68, 58, 48, 0.08);
    --shadow-float: 0 20px 40px -15px rgba(180, 83, 9, 0.12);
    --radius-lg: 16px;
    --radius-sm: 8px;
}

/* Global Reset & Base Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(180, 83, 9, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(154, 52, 18, 0.03) 0%, transparent 45%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Header & Navigation (Clean Warm Glassmorphism) */
.site-header {
    background: rgba(255, 253, 247, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(68, 58, 48, 0.04);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--color-dog-tan);
}

.main-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--color-dog-tan);
    transform: translateY(-1px);
}

/* Main Content Containers */
.content-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.subtitle {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

/* High-Impact Cards & Grids */
.about-grid, .pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.about-card, .tier-card, .estimator-box, .info-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before, .tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-dog-tan), var(--color-dog-red));
}

.about-card:hover, .tier-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-dog-tan);
    box-shadow: var(--shadow-float);
    background: var(--color-surface-hover);
}

.tier-card.featured {
    border: 2px solid var(--color-dog-tan);
    background: linear-gradient(180deg, var(--color-surface), #fefbf6);
}

.tier-card.featured::before {
    background: var(--color-dog-tan);
}

.tier-card.featured::after {
    content: "POPULAR CHOICE";
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-dog-tan);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
}

.price-tag {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--color-dog-tan);
    margin: 1.25rem 0;
    letter-spacing: -1px;
}

.price-tag span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Buttons & Interactive Elements */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-dog-tan), var(--color-dog-red));
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.25);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.35);
}

/* Interactive Viewer / Workspace */
.viewer-workspace {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.map-board {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.zone-pin {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zone-pin.active, .zone-pin:hover {
    background: rgba(180, 83, 9, 0.08);
    border-color: var(--color-dog-tan);
    color: var(--color-text);
    transform: translateX(4px);
}

/* Form Inputs & Estimators */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

.input-group select, 
.input-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background-color: #ffffff;
    color: var(--color-text);
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group select:focus, 
.input-group input:focus {
    outline: none;
    border-color: var(--color-dog-tan);
    box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.15);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .viewer-workspace {
        grid-template-columns: 1fr;
    }
    .site-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .main-nav a {
        margin: 0 0.75rem;
    }
}