/* ============================================================
   AllanAlbot — site styles
   Palette pulled from the brand assets:
     dark navy bg (matches the logo bg)  : #0a1620
     deeper dark (nav / footer)          : #050d14
     gold primary (logo gradient mid)    : #d4af68
     gold light  (highlight)             : #ecd49a
     cream (light section bg)            : #f6f1e7
   ============================================================ */

:root {
    --bg-dark:        #0a1620;
    --bg-deep:        #050d14;
    --bg-light:       #f6f1e7;
    --bg-light-soft:  #fbf8f2;

    --gold:           #d4af68;
    --gold-light:     #ecd49a;
    --gold-dark:      #a08550;

    --text-on-dark:   #e9eef3;
    --text-on-dark-2: #a9b4bd;
    --text-on-light:  #1a1f25;
    --text-on-light-2:#4a5560;

    --border-dark:    rgba(212, 175, 104, 0.18);
    --border-light:   rgba(26, 31, 37, 0.10);

    --radius:         14px;
    --radius-sm:      8px;

    --shadow-card:    0 8px 30px rgba(0, 0, 0, 0.25);

    --container:      1180px;
    --pad-x:          clamp(20px, 4vw, 48px);

    --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                      Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue',
                      sans-serif;
    --font-display:   var(--font-sans);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text-on-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--pad-x);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 13, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
}
.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-on-dark);
}

.primary-nav {
    display: flex;
    gap: 32px;
}
.primary-nav a {
    color: var(--text-on-dark-2);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color .2s ease;
    position: relative;
    padding: 6px 0;
}
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.primary-nav a:hover { color: var(--text-on-dark); }
.primary-nav a:hover::after { transform: scaleX(1); }

/* hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-on-dark);
    transition: transform .25s, opacity .25s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    padding: clamp(60px, 10vw, 120px) 0 clamp(70px, 12vw, 140px);
}
.hero-glow {
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 80%;
    background:
        radial-gradient(60% 60% at 50% 30%, rgba(212, 175, 104, 0.18), transparent 70%),
        radial-gradient(40% 40% at 20% 70%, rgba(212, 175, 104, 0.08), transparent 70%);
    pointer-events: none;
    filter: blur(2px);
}
.hero-fade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(5, 13, 20, 0.6));
    pointer-events: none;
}
.hero-inner {
    position: relative;
    text-align: center;
}

.hero-wordmark {
    width: min(640px, 80vw);
    margin: 0 auto 28px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--gold-light);
    margin: 0 0 16px;
}

.hero-lede {
    max-width: 620px;
    margin: 0 auto 36px;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--text-on-dark-2);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gold);
    color: #1a1407;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}
.btn-ghost {
    color: var(--text-on-dark);
    border-color: var(--border-dark);
}
.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: clamp(70px, 9vw, 120px) 0;
}
.section-light {
    background: var(--bg-light);
    color: var(--text-on-light);
}
.section-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.section-head {
    max-width: 720px;
    margin-bottom: 56px;
}
.section-head-center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin-bottom: 12px;
}
.eyebrow-light { color: var(--gold-light); }

.section h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
}
.section-lede {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-on-light-2);
    margin: 0;
}
.section-dark .section-lede { color: var(--text-on-dark-2); }

/* ---------- value grid ---------- */
.value-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.value-grid li {
    background: var(--bg-light-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
}
.value-grid h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: var(--text-on-light);
}
.value-grid p {
    margin: 0;
    color: var(--text-on-light-2);
    font-size: 0.97rem;
}

/* ---------- product grid ---------- */
.product-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.product-card {
    background: linear-gradient(180deg, #0e1d2a, #091420);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, border-color .25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 104, 0.45);
}
.product-media {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(60% 80% at 50% 50%, #112233 0%, #050d14 100%);
    padding: 28px;
}
.product-media img {
    max-height: 70%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}
.product-media-wordmark img { max-height: 50%; }

.product-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tag {
    align-self: flex-start;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid var(--border-dark);
    border-radius: 999px;
    padding: 4px 10px;
}
.product-body h3 {
    margin: 4px 0 0;
    font-size: 1.3rem;
    color: var(--text-on-dark);
}
.product-body p {
    color: var(--text-on-dark-2);
    margin: 0;
    font-size: 0.97rem;
}
.product-status {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--gold-light);
    letter-spacing: 0.04em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner { max-width: 720px; }

.contact-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 14px;
}
.contact-list li {
    display: flex;
    gap: 18px;
    align-items: baseline;
    justify-content: center;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}
.contact-list li:first-child { border-top: 0; }
.contact-label {
    color: var(--text-on-light-2);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    min-width: 60px;
}
.contact-list a {
    color: var(--text-on-light);
    font-weight: 600;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 1px;
    transition: color .2s;
}
.contact-list a:hover { color: var(--gold-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-dark);
    padding: 28px 0;
    color: var(--text-on-dark-2);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.brand-footer .brand-mark { width: 28px; height: 28px; }
.brand-footer .brand-name { font-size: 0.95rem; color: var(--text-on-dark-2); }
.footer-meta {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--bg-deep);
        flex-direction: column;
        gap: 0;
        padding: 8px var(--pad-x) 16px;
        border-bottom: 1px solid var(--border-dark);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s, transform .2s;
    }
    .primary-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .primary-nav a {
        padding: 14px 4px;
        border-bottom: 1px solid var(--border-dark);
    }
    .primary-nav a:last-child { border-bottom: 0; }
}
