/* Luna Oracle — Shared Styles (style.css) */
:root {
    --lavender: #9b7dd4;
    --lavender-light: #c4a8f0;
    --rose: #e8a4c8;
    --rose-light: #f5d0e3;
    --gold: #d4a853;
    --gold-light: #f0d48a;
    --midnight: #1a1035;
    --deep-purple: #2d1b5e;
    --soft-purple: #3d2a6e;
    --bg-main: #f8f0ff;
    --bg-section: #fff5fb;
    --bg-card: #ffffff;
    --text-dark: #2d1b5e;
    --text-body: #4a3a6e;
    --text-muted: #7e6b9e;
    --star-blue: #6b8dd6;
    --mystic-teal: #7ecbc4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

a {
    color: var(--lavender);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--deep-purple);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================
   Main Navigation
   ===================== */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 0;
    z-index: 1000;
    background: rgba(248, 240, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(155, 125, 212, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--deep-purple);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.nav-logo .nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.nav-logo small {
    display: block;
    font-size: 0.5em;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--lavender);
}

/* =====================
   Language Selector
   ===================== */
.lang-selector {
    position: relative;
    flex-shrink: 0;
}

.lang-btn {
    background: linear-gradient(135deg, rgba(155,125,212,0.12), rgba(232,164,200,0.12));
    border: 1px solid rgba(155,125,212,0.3);
    color: var(--deep-purple);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.2s;
    white-space: nowrap;
}

.lang-btn:hover {
    background: linear-gradient(135deg, rgba(155,125,212,0.25), rgba(232,164,200,0.25));
    border-color: var(--lavender);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: white;
    border: 1px solid rgba(155,125,212,0.2);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(107,76,154,0.15);
    min-width: 160px;
    z-index: 2000;
    overflow: hidden;
}

.lang-dropdown.hidden {
    display: none;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9em;
    font-family: 'Quicksand', sans-serif;
    color: var(--text-body);
    transition: background 0.15s;
}

.lang-option:hover {
    background: rgba(155,125,212,0.08);
}

.lang-option.active {
    background: rgba(155,125,212,0.12);
    color: var(--lavender);
    font-weight: 600;
}

/* =====================
   Hamburger Menu (Mobile)
   ===================== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-hamburger:hover {
    background: rgba(155,125,212,0.1);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--deep-purple);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown menu */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: rgba(248, 240, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(155,125,212,0.15);
    padding: 16px 20px 20px;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(107,76,154,0.12);
}

.nav-mobile-menu.open {
    display: block;
}

.nav-mobile-menu a {
    display: block;
    padding: 12px 8px;
    color: var(--text-body);
    font-weight: 500;
    font-size: 1em;
    border-bottom: 1px solid rgba(155,125,212,0.08);
    transition: color 0.2s;
}

.nav-mobile-menu a:last-of-type {
    border-bottom: none;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
    color: var(--lavender);
}

.nav-mobile-lang {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(155,125,212,0.15);
}

.nav-mobile-lang-label {
    font-size: 0.8em;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-mobile-lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.nav-mobile-lang-btn {
    padding: 8px 6px;
    background: rgba(155,125,212,0.08);
    border: 1px solid rgba(155,125,212,0.15);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82em;
    font-family: 'Quicksand', sans-serif;
    color: var(--text-body);
    text-align: center;
    transition: all 0.2s;
}

.nav-mobile-lang-btn:hover,
.nav-mobile-lang-btn.active {
    background: linear-gradient(135deg, rgba(155,125,212,0.2), rgba(232,164,200,0.2));
    border-color: var(--lavender);
    color: var(--deep-purple);
    font-weight: 600;
}

/* =====================
   Page Hero
   ===================== */
.page-hero {
    padding: 120px 40px 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(248,240,255,1) 0%, rgba(196,168,240,0.15) 100%);
}

.page-hero h1 {
    font-size: 2.8em;
    color: var(--deep-purple);
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================
   Content Section
   ===================== */
.content-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.content-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(107, 76, 154, 0.08);
    margin-bottom: 20px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.content-header h3 {
    color: var(--deep-purple);
    font-size: 1.3em;
}

.content-date {
    color: var(--text-muted);
    font-size: 0.85em;
}

/* =====================
   CTA Section
   ===================== */
.cta-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(155,125,212,0.05), rgba(232,164,200,0.05));
}

.cta-section h2 {
    font-size: 2em;
    color: var(--deep-purple);
    margin-bottom: 12px;
}

.cta-section p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 24px;
}

/* =====================
   Buttons
   ===================== */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--lavender), var(--rose));
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(155, 125, 212, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(155, 125, 212, 0.4);
    color: white;
}

.btn-premium {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--deep-purple);
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
}

/* =====================
   Footer
   ===================== */
.main-footer {
    background: var(--deep-purple);
    color: rgba(255,255,255,0.7);
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85em;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.8em;
    opacity: 0.6;
}

/* Content Placeholder */
.content-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.content-placeholder p {
    margin-bottom: 16px;
}

/* Premium content indicator */
.premium-content {
    border: 1px dashed var(--gold);
}

/* =====================
   Responsive — Tablet
   ===================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    .nav-links {
        gap: 14px;
    }
    .nav-links a {
        font-size: 0.82em;
    }
    .page-hero {
        padding: 100px 20px 40px;
    }
    .page-hero h1 {
        font-size: 2em;
    }
    .cta-section h2 {
        font-size: 1.5em;
    }
}

/* =====================
   Responsive — Mobile
   ===================== */
@media (max-width: 560px) {
    /* Hide desktop nav links and lang selector */
    .nav-links {
        display: none;
    }
    .lang-selector {
        display: none;
    }
    /* Show hamburger */
    .nav-hamburger {
        display: flex;
    }
    .page-hero {
        padding: 90px 16px 36px;
    }
    .page-hero h1 {
        font-size: 1.7em;
    }
    .page-hero p {
        font-size: 0.95em;
    }
    .cta-section h2 {
        font-size: 1.3em;
    }
}
