/**
 * Bay Area Service Hub - Default Page Template
 * For static content pages (About, Privacy, Terms, etc.)
 */

/* ========================================
   DESIGN SYSTEM VARIABLES
   ======================================== */

.bash-default-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
    background: #F8FAFC;

    --bash-primary: #194FAD;
    --bash-primary-dark: #0F3A82;
    --bash-text-primary: #0F172A;
    --bash-text-secondary: #475569;
    --bash-text-muted: #94A3B8;
    --bash-bg-primary: #FFFFFF;
    --bash-bg-secondary: #F8FAFC;
    --bash-border: #E2E8F0;
    --bash-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07);
    --bash-radius: 10px;
    --bash-radius-lg: 16px;

    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.bash-default-header {
    margin: 0 -24px 40px;
    background: linear-gradient(135deg, #0F3A82 0%, #194FAD 50%, #2B5FB8 100%);
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bash-default-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.bash-default-header-content {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.bash-default-title {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: white;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PAGE CONTENT
   ======================================== */

.bash-default-content {
    max-width: 800px;
    margin: 0 auto;
}

.bash-default-content-inner {
    background: var(--bash-bg-primary);
    border: 1px solid var(--bash-border);
    border-radius: var(--bash-radius-lg);
    padding: 48px;
    box-shadow: var(--bash-shadow);
}

/* Typography within content */
.bash-default-content-inner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--bash-text-primary);
    margin: 0 0 20px;
    padding-top: 24px;
}

.bash-default-content-inner h2:first-child {
    padding-top: 0;
}

.bash-default-content-inner h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--bash-text-primary);
    margin: 0 0 16px;
    padding-top: 20px;
}

.bash-default-content-inner h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--bash-text-primary);
    margin: 0 0 12px;
    padding-top: 16px;
}

.bash-default-content-inner p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--bash-text-secondary);
    margin: 0 0 16px;
}

.bash-default-content-inner ul,
.bash-default-content-inner ol {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--bash-text-secondary);
    margin: 0 0 16px;
    padding-left: 24px;
}

.bash-default-content-inner li {
    margin-bottom: 8px;
}

.bash-default-content-inner a {
    color: var(--bash-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.bash-default-content-inner a:hover {
    color: var(--bash-primary-dark);
    text-decoration: underline;
}

.bash-default-content-inner blockquote {
    border-left: 4px solid var(--bash-primary);
    margin: 24px 0;
    padding: 16px 24px;
    background: var(--bash-bg-secondary);
    border-radius: 0 var(--bash-radius) var(--bash-radius) 0;
}

.bash-default-content-inner blockquote p {
    margin: 0;
    font-style: italic;
}

.bash-default-content-inner hr {
    border: none;
    border-top: 1px solid var(--bash-border);
    margin: 32px 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .bash-default-page {
        padding: 0 16px 40px;
    }

    .bash-default-header {
        margin: 0 -16px 30px;
        min-height: 140px;
    }

    .bash-default-title {
        font-size: 28px;
    }

    .bash-default-content-inner {
        padding: 32px 24px;
    }

    .bash-default-content-inner h2 {
        font-size: 24px;
    }

    .bash-default-content-inner h3 {
        font-size: 20px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.bash-default-content-inner {
    animation: fadeIn 0.4s ease both;
}

@media (prefers-reduced-motion: reduce) {
    .bash-default-content-inner {
        animation: none;
    }
}
