@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Nunito+Sans:wght@300;400;600;700&display=swap');

:root {
    /* ── Color Palette ── */
    --gold:          #C9A84C;
    --gold-light:    #E8C96A;
    --gold-dark:     #9A7A30;
    --gold-glow:     rgba(201, 168, 76, 0.22);
    --crimson:       #B71C3A;
    --crimson-light: #E8284D;
    --crimson-glow:  rgba(183, 28, 58, 0.25);
    --navy:          #06060F;
    --navy-mid:      #0D0D1E;
    --navy-card:     #121228;
    --navy-card-alt: #181830;
    --navy-border:   rgba(201, 168, 76, 0.14);
    --text-bright:   #F5F0E8;
    --text-mid:      #A89F8C;
    --text-dim:      #6B6557;
    --white:         #FFFFFF;

    /* ── Typography ── */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Nunito Sans', 'Segoe UI', sans-serif;

    /* ── Sizing ── */
    --radius-sm:  6px;
    --radius:     10px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* ── Motion ── */
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ────────────────── Reset ────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy);
    color: var(--text-mid);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-bright);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ────────────────── Header ────────────────── */
.main-header {
    background: rgba(6, 6, 15, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--navy-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ── Top contact strip (inspired by reference) ── */
.header-topbar {
    background: var(--navy-mid);
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
    padding: 0;
}

.header-topbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 36px;
    gap: 24px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--text-mid);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.topbar-item svg { color: var(--gold); flex-shrink: 0; }

/* ── Navigation ── */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
}

.main-nav a {
    color: var(--text-mid);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

.main-nav a.current {
    border-bottom: 2px solid var(--gold);
    border-radius: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ── Mobile toggle ── */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

/* ────────────────── Buttons ────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(201, 168, 76, 0.45);
    color: var(--gold);
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-mid);
    border: 1.5px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── Signup specific ── */
.btn-signup {
    padding: 9px 22px;
    font-size: 0.8rem;
}

/* ────────────────── Page Header (inner pages) ────────────────── */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(201,168,76,0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--navy-border);
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-mid);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ────────────────── Footer ────────────────── */
.main-footer {
    background: var(--navy-mid);
    padding: 72px 0 0;
    border-top: 1px solid var(--navy-border);
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(201,168,76,0.08);
}

.footer-brand img {
    height: 44px;
    margin-bottom: 18px;
    filter: brightness(1.1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition);
    cursor: pointer;
}

.social-btn:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    color: var(--text-mid);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 4px;
}

/* ── Subscribe box (like reference) ── */
.footer-subscribe p {
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--navy-border);
}

.subscribe-form input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: none;
    outline: none;
    padding: 11px 16px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-bright);
}

.subscribe-form input::placeholder { color: var(--text-dim); }

.subscribe-form button {
    background: var(--gold);
    border: none;
    padding: 11px 18px;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.subscribe-form button:hover { background: var(--gold-light); }

.footer-contact-info { display: flex; flex-direction: column; gap: 12px; }

.footer-contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-mid);
    font-size: 0.88rem;
}

.footer-contact-info a svg { color: var(--gold); flex-shrink: 0; }

.footer-contact-info a:hover { color: var(--gold); }

.sitemap-link {
    margin-top: 10px;
}

.sitemap-link a {
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* ── Footer bottom ── */
.footer-bottom {
    text-align: center;
    padding: 22px 24px;
    font-size: 0.82rem;
    color: var(--text-dim);
    background: rgba(0,0,0,0.25);
}

/* ────────────────── Mobile Nav & Responsive ────────────────── */
@media (max-width: 900px) {
    .mobile-menu-toggle { display: flex; }

    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(6, 6, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
        border-bottom: 1px solid var(--navy-border);
    }

    .main-nav.active {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav .nav-list {
        flex-direction: column;
        padding: 20px 24px;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: var(--radius-sm);
    }

    .header-topbar { display: none; }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }

    .subscribe-form {
        flex-direction: column;
        border: none;
        gap: 8px;
        background: transparent;
    }

    .subscribe-form input {
        border: 1px solid var(--navy-border);
        border-radius: var(--radius);
        width: 100%;
        background: rgba(255,255,255,0.05);
    }

    .subscribe-form button {
        border-radius: var(--radius);
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    .footer-bottom {
        padding: 18px 16px;
        font-size: 0.78rem;
        line-height: 1.6;
    }
}

@media (max-width: 540px) {
    .header-inner {
        height: 62px;
        gap: 10px;
    }

    .main-nav {
        top: 62px;
    }

    .main-nav.active {
        max-height: calc(100vh - 62px);
    }

    .logo img {
        height: 32px;
    }

    .btn-signup {
        padding: 7px 12px;
        font-size: 0.76rem;
        gap: 5px;
    }

    .btn-signup svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 380px) {
    .header-inner {
        gap: 6px;
    }

    .header-actions {
        gap: 6px;
    }

    .logo img {
        height: 28px;
        max-width: 110px;
    }

    .btn-signup {
        padding: 6px 9px;
        font-size: 0.72rem;
    }

    .btn-signup svg {
        display: none;
    }
}


