:root {
    /* ── LIGHT THEME (Default) ── */
    --white: #ffffff;
    --off-white: #f9f9f7;
    --light: #f2f4f8;
    --blue-tint: #eef3fb;
    --accent: #5a7aaa;
    --accent-dark: #3d5a8a;
    --accent-light: #a8c0e0;
    --text-dark: #1a1e2e;
    --text-mid: #4a4f6a;
    --text-light: #8a90a8;
    --border: #e4e8f0;
    --shadow: 0 4px 24px rgba(60, 80, 130, 0.07);
    --shadow-hover: 0 12px 40px rgba(60, 80, 130, 0.13);
}

/* ── DARK THEME ── */
[data-theme="dark"] {
    --white: #1a1e2e;
    --off-white: #242942;
    --light: #2d3445;
    --blue-tint: #1e2640;
    --accent: #a8c0e0;
    --accent-dark: #c4d4eb;
    --accent-light: #5a7aaa;
    --text-dark: #e4e6eb;
    --text-mid: #b0b5d0;
    --text-light: #7d8298;
    --border: #2d3445;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 75px; scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    transition: background 0.3s ease, color 0.3s ease;
}

a, a:visited { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

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

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(var(--white), 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--accent-dark);
    letter-spacing: 0.01em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-mid);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.88em;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

nav a:hover {
    background: var(--blue-tint);
    color: var(--accent-dark);
}

/* ── DARK MODE NAV ── */
[data-theme="dark"] nav {
    background: rgba(26, 30, 46, 0.92);
}

[data-theme="dark"] nav a:hover {
    background: rgba(168, 192, 224, 0.15);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 0.85em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: var(--blue-tint);
    border-color: var(--accent-light);
    color: var(--accent-dark);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

nav .theme-toggle {
    margin-left: 12px;
}

/* ── HEADER ── */
header {
    background: var(--white);
    padding: 100px 28px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(ellipse, rgba(160, 195, 240, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.header-label {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--blue-tint);
    border: 1px solid var(--accent-light);
    border-radius: 40px;
    padding: 6px 18px;
    margin-bottom: 28px;
}

header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2em, 4.5vw, 3.2em);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.25;
    max-width: 750px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

header h1 em {
    font-style: italic;
    color: var(--accent);
}

.header-location {
    font-size: 0.55em;
    font-weight: 300;
    font-style: normal;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

.header-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    margin: 30px auto 0;
    border-radius: 2px;
}

/* ── DARK MODE HEADER ── */
[data-theme="dark"] header::before {
    background: radial-gradient(ellipse, rgba(168, 192, 224, 0.15) 0%, transparent 70%);
}

[data-theme="dark"] .header-label {
    background: rgba(168, 192, 224, 0.15);
    color: var(--accent);
}

[data-theme="dark"] header h1 {
    color: var(--text-dark);
}

[data-theme="dark"] .header-location {
    color: var(--text-light);
}

/* ── SECTIONS ── */
section { padding: 72px 28px; }

.section-label {
    font-size: 0.75em;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6em, 3vw, 2.2em);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

/* ── DESCRIPTION ── */
.description { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.description p {
    font-size: 1.08em;
    color: var(--text-mid);
    max-width: 680px;
    line-height: 1.8;
}

/* ── DARK MODE DESCRIPTION ── */
[data-theme="dark"] .description {
    background: var(--light);
}

[data-theme="dark"] .description p {
    color: var(--text-mid);
}

/* ── MEETING HOURS ── */
.meeting-hours { background: var(--white); }

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.hours-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 28px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hours-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-light), var(--accent));
    border-radius: 4px 0 0 4px;
}

.hours-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.hours-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hours-time {
    font-size: 1.6em;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.hours-card p { color: var(--text-light); font-size: 0.9em; }

/* ── DARK MODE HOURS ── */
[data-theme="dark"] .hours-card {
    background: var(--light);
    border-color: var(--border);
}

[data-theme="dark"] .hours-card h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .hours-card p {
    color: var(--text-light);
}

/* ── ZOOM ── */
.zoom-section { background: var(--blue-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.zoom-details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 36px;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow);
}

.zoom-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.zoom-row strong {
    font-size: 0.82em;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    min-width: 120px;
}

.zoom-row span, .zoom-row a {
    font-size: 1em;
    color: var(--text-dark);
}

.zoom-row a { color: var(--accent); font-weight: 500; }
.zoom-row a:hover { color: var(--accent-dark); text-decoration: underline; }

.zoom-divider { height: 1px; background: var(--border); }

/* ── DARK MODE ZOOM ── */
[data-theme="dark"] .zoom-section {
    background: var(--blue-tint);
}

[data-theme="dark"] .zoom-details {
    background: var(--off-white);
}

[data-theme="dark"] .zoom-row strong {
    color: var(--text-light);
}

[data-theme="dark"] .zoom-row span,
[data-theme="dark"] .zoom-row a {
    color: var(--text-dark);
}

/* ── ADDITIONAL INFO ── */
.additional-info { background: var(--white); }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.info-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: var(--accent-light);
}

.info-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25em;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.info-card p { color: var(--text-mid); font-size: 0.95em; }

/* ── DARK MODE ADDITIONAL INFO ── */
[data-theme="dark"] .info-card {
    background: var(--light);
}

[data-theme="dark"] .info-card:hover {
    background: var(--off-white);
}

[data-theme="dark"] .info-card h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .info-card p {
    color: var(--text-mid);
}

/* ── FOOTER ── */
footer {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 36px 28px;
}

footer p {
    color: var(--text-light);
    font-size: 0.88em;
}

/* ── DARK MODE FOOTER ── */
[data-theme="dark"] footer {
    background: var(--light);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav .nav-brand { display: none; }
    nav .container { justify-content: center; }
    header { padding: 70px 20px 60px; }
    .hours-grid, .info-grid { grid-template-columns: 1fr; }
    .zoom-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .zoom-row strong { min-width: unset; }
}

/* ── FADE-IN ANIMATION ── */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── SOCIAL SHARE ICONS ── */
.social-share {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--white);
    padding: 16px 12px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.social-share-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

/* ── DARK MODE SOCIAL SHARE ── */
[data-theme="dark"] .social-share {
    background: var(--light);
    border-color: var(--border);
}

[data-theme="dark"] .social-icon {
    background: var(--off-white);
    color: var(--text-dark);
}

[data-theme="dark"] .social-icon:hover {
    background: var(--accent);
    color: var(--white);
}

/* ── RESPONSIVE SOCIAL SHARE ── */
@media (max-width: 768px) {
    .social-share {
        right: 12px;
        padding: 12px 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}