/* ═════════════════════════════════════════════════════════════════════
   SARA777 UNIFIED DESIGN SYSTEM & THEME TOKENS
   ═════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --body-bg: #F9F7F4;
    --surface-bg: #FFFFFF;
    --surface-alt: #FFFDF9;
    --light-color: #FFFFFF;
    --black-color: #16100E;
    --dark-color: #6B6355;
    --border-color: #E4E1DF;
    --border-subtle: #ECEAE6;
    --primary-color: #F9B12B;
    --gold-light: #F7C14B;
    --gold-dark: #E0820A;
    --grad-gold-top: #F9B12B;
    --grad-gold-bottom: #EE9D07;
    --gradient-gold: linear-gradient(180deg, #F9B12B 0%, #EE9D07 100%);
    --gradient-gold-h: linear-gradient(90deg, #F9B12B 0%, #EE9D07 100%);
    --danger-color: #E5372B;
    --danger-bg: #FEECEB;
    --success-color: #16A34A;
    --success-bg: #E8F5E9;
    --badge-border: rgba(212, 146, 23, 0.35);
    --time-bg: rgba(22, 16, 14, 0.05);
    --shadow-sm: 0 2px 8px rgba(22, 16, 14, 0.04);
    --shadow-md: 0 4px 18px rgba(22, 16, 14, 0.08);
    --shadow-lg: 0 10px 30px rgba(238, 157, 7, 0.18);
}

[data-theme="dark"], .dark {
    --body-bg: #120E0C;
    --surface-bg: #1C1614;
    --surface-alt: #241C19;
    --light-color: #1C1614;
    --black-color: #F9F7F4;
    --dark-color: #A8A095;
    --border-color: #2E2623;
    --border-subtle: #251D1A;
    --primary-color: #F9B12B;
    --gold-light: #F7C14B;
    --gold-dark: #E0820A;
    --grad-gold-top: #F9B12B;
    --grad-gold-bottom: #EE9D07;
    --gradient-gold: linear-gradient(180deg, #F9B12B 0%, #EE9D07 100%);
    --gradient-gold-h: linear-gradient(90deg, #F9B12B 0%, #EE9D07 100%);
    --danger-color: #EF4444;
    --danger-bg: rgba(239, 68, 68, 0.15);
    --success-color: #22C55E;
    --success-bg: rgba(34, 197, 94, 0.15);
    --badge-border: rgba(249, 177, 43, 0.35);
    --time-bg: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--body-bg);
    color: var(--black-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR / HEADER ─── */
.sara-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: var(--surface-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 14px rgba(27, 19, 10, 0.05);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.sara-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 64px;
}

.header-logo-img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-light { display: block; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.btn-hamburger {
    background: transparent;
    border: none;
    padding: 6px 10px;
    font-size: 1.35rem;
    color: var(--black-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}
.btn-hamburger:hover {
    background: var(--time-bg);
}

.btn-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    color: var(--black-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.btn-theme-toggle:hover {
    transform: scale(1.06);
    border-color: var(--gold-light);
    color: var(--gold-dark);
}

/* Desktop Nav Menu */
.desktop-nav {
    display: none;
    gap: 20px;
    align-items: center;
}
@media (min-width: 992px) {
    .desktop-nav { display: flex; }
    .btn-hamburger { display: none; }
    .header-logo-img { height: 44px; }
}

.desktop-nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--black-color);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.desktop-nav-link:hover, .desktop-nav-link.active {
    color: var(--gold-dark);
    background: var(--time-bg);
}

.btn-nav-download {
    background: var(--gradient-gold);
    color: #16100E !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(238, 157, 7, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-nav-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(238, 157, 7, 0.5);
    color: #16100E !important;
}

/* ─── MOBILE OFFCANVAS DRAWER ─── */
.sara-drawer {
    background: var(--surface-bg) !important;
    color: var(--black-color) !important;
    border-right: 1px solid var(--border-color);
    width: 320px !important;
    max-width: 85vw !important;
}

.sara-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ECEAE6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16100E;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
[data-theme="dark"] .drawer-close-btn {
    background: #2E2623;
    color: #F9F7F4;
}
.drawer-close-btn:hover {
    background: #DFDBD3;
}

.drawer-nav-list {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--black-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.drawer-nav-item:hover, .drawer-nav-item.active {
    background: var(--time-bg);
    color: var(--gold-dark);
}
.drawer-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.drawer-nav-left i {
    width: 20px;
    text-align: center;
    color: var(--gold-dark);
}

.btn-drawer-download {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gradient-gold);
    color: #16100E !important;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(238, 157, 7, 0.4);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.btn-drawer-download:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    color: #16100E !important;
}

/* ─── SARA777 LUXURY FOOTER ─── */
.sara-footer {
    background: var(--surface-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 16px 30px;
    margin-top: 60px;
    text-align: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
}
.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}
.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.footer-badge-item img {
    height: 32px;
    width: auto;
    filter: grayscale(15%);
    opacity: 0.85;
    transition: all 0.2s ease;
}
.footer-badge-item img:hover {
    filter: none;
    opacity: 1;
}
.footer-legal-text {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--dark-color);
}
.footer-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-link {
    color: var(--black-color);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--gold-dark);
}
.footer-copyright {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

/* ─── FLOATING MOBILE DOWNLOAD CTA ─── */
.mobile-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    padding: 10px 16px 14px;
    background: var(--surface-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}
@media (min-width: 992px) {
    .mobile-floating-cta { display: none; }
}
.btn-floating-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 30px;
    background: var(--gradient-gold);
    color: #16100E !important;
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(238, 157, 7, 0.4);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.btn-floating-download:hover {
    filter: brightness(1.05);
    color: #16100E !important;
}
.download-arrow-anim {
    animation: bounce-y 1.4s infinite;
}
@keyframes bounce-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ─── DRAWER SUBMENU & CHEVRON ─── */
.drawer-chevron {
    font-size: 0.85rem;
    color: var(--dark-color);
    transition: transform 0.2s;
}
.drawer-submenu {
    padding-left: 48px;
    padding-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.drawer-sublink {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 0;
    transition: color 0.2s;
}
.drawer-sublink:hover {
    color: var(--gold-dark);
}

/* ─── SEO ARTICLE & GUIDE PAGES LUXURY THEME ─── */
.article-card {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    color: var(--black-color);
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .article-card {
        padding: 24px 18px;
        border-radius: 18px;
    }
}
.article-card h1, .article-card h2, .article-card h3, .article-card h4 {
    color: var(--black-color) !important;
    font-weight: 800;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}
.article-card h1 {
    margin-top: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    background: linear-gradient(135deg, var(--black-color) 40%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.article-card p, .article-card li {
    color: var(--dark-color);
    font-size: 1.02rem;
    line-height: 1.7;
}
.article-card ul, .article-card ol {
    padding-left: 1.4rem;
    margin-bottom: 1.5rem;
}
.article-card strong {
    color: var(--black-color);
}
.sidebar-card {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.sidebar-card h4 {
    color: var(--black-color) !important;
    font-size: 1.15rem;
    font-weight: 800;
}
.sidebar-link {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--black-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s;
    border: 1px solid transparent;
    margin-bottom: 6px;
}
.sidebar-link:hover, .sidebar-link.active {
    background: var(--time-bg);
    color: var(--gold-dark);
    border-color: var(--badge-border);
}
.download-btn {
    background: var(--gradient-gold) !important;
    border: none;
    color: #16100E !important;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(238, 157, 7, 0.4);
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(238, 157, 7, 0.55);
    color: #16100E !important;
}

