/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red:        #F21414;
    --red-dark:   #C90E0E;
    --gold:       #D89A1D;
    --gold-light: #F2C14E;
    --white:      #FFFFFF;
    --black:      #111111;
    --text:       #222222;
    --text-muted: #666666;
    --bg-warm:    #FFF9F0;
    --bg-light:   #FFFFFF;
    --radius:     14px;
    --shadow:     0 8px 32px rgba(0,0,0,0.10);
    --font-head:  'Playfair Display', Georgia, serif;
    --font-body:  'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================
   TOP BAR
   ============================ */
.topbar {
    background: var(--red-dark);
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 20px;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.topbar a {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    transition: color 0.2s;
}

.topbar a:hover { color: var(--gold-light); }

/* ============================
   HEADER
   ============================ */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.97);
    border-bottom: 2px solid rgba(242,20,20,0.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LOGO */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 64px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover { transform: scale(1.04); }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.3px;
}

.logo-tagline {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left;
}

.nav a:not(.btn-donate):hover { color: var(--red); }
.nav a:not(.btn-donate):hover::after { transform: scaleX(1); }

/* DONATE BUTTON */
.btn-donate {
    padding: 10px 22px !important;
    border-radius: 30px !important;
    background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 4px 16px rgba(242,20,20,0.30);
    transition: all 0.3s ease !important;
}

.btn-donate::after { display: none !important; }

.btn-donate:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(242,20,20,0.40) !important;
    background: linear-gradient(135deg, var(--red-dark), #a80b0b) !important;
}

/* MOBILE TOGGLE */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--red);
    padding: 4px;
    line-height: 1;
}

/* ============================
   MOBILE
   ============================ */
@media (max-width: 820px) {
    .nav {
        position: absolute;
        top: 84px;
        right: 16px;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        width: 240px;
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 16px 48px rgba(0,0,0,0.14);
        border: 1.5px solid rgba(242,20,20,0.10);
        display: none;
        gap: 4px;
    }

    .nav.show { display: flex; }
    .menu-toggle { display: block; }

    .nav a { width: 100%; padding: 10px 14px; }
    .btn-donate { width: 100%; text-align: center !important; }

    .topbar-inner { gap: 14px; font-size: 12px; }
    .logo img { height: 52px; }
    .logo-name { font-size: 17px; }
}

@media (max-width: 480px) {
    .topbar-inner span:first-child { display: none; }
}
