/* ============================================
   Base Styles — Shared between menu & admin
   ============================================ */

/* — Font (local, not CDN) — */
@font-face {
    font-family: "Morabba";
    src: url("/static/fonts/IRANSansX-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Morabba";
    src: url("/static/fonts/Morabba-Bold.ttf") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* — Design Tokens — */
:root {
    --cream: #f6f6e2;
    --cream-dark: #e8e8d0;
    --cream-darker: #d4d4b8;
    --black: #000000;
    --black-soft: #1a1a1a;
    --black-mid: #333333;
    --white: #ffffff;
    --white-soft: #fafafa;
    --text-dark: #000000;
    --text-mid: #333333;
    --text-light: #666666;
    --header-gradient: linear-gradient(160deg, #ffffff 0%, #f6f6e2 60%, #f3f3be 100%);
    --nav-gradient: linear-gradient(90deg, #000000 0%, #1a1a1a 100%);
    --body-bg: #ffffff;
    --transition-fast: 0.3s ease;
}

/* — Reset — */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Morabba", sans-serif;
    background-image: url('/images/Paper\ sheet\ 2.svg');
    background-repeat: repeat;
    background-size: 200px 200px;
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* — Accessibility — */
:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

/* — Reduced Motion — */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* — Header — */
header {
    text-align: center;
    background: var(--header-gradient);
    color: var(--cream);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.header-logo {
    font-weight: 300;
    color: var(--cream);
    font-style: italic;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.header-sub {
    letter-spacing: 0.2em;
    color: var(--cream-dark);
    text-transform: uppercase;
}

/* — Section Header — */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.section-header::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
    flex-shrink: 0;
}