/* ============================================================
   WINDSOR UBUNTU SEVENTH-DAY ADVENTIST COMPANY
   Complete Design System & Stylesheet
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── TOKENS ── */
:root {
    /* Primary Colors */
    --navy:       #003B5C;
    --navy-light: #004f7c;
    --navy-dark:  #001e30;
    --gold:       #C8933A;
    --gold-light: #E5B46A;
    --gold-dark:  #9E742E;
    
    /* Neutral Colors */
    --white:      #FDFCFA;
    --cream:      #F7F4EE;
    --body:       #2A2A2A;
    --muted:      #6B6560;
    --light:      #D1CDC7;
    --border:     rgba(0,59,92,0.08);
    
    /* Glassmorphism & Effects */
    --glass:      rgba(255, 255, 255, 0.7);
    --glass-dark: rgba(0, 30, 48, 0.85);
    --shadow:     0 12px 40px rgba(0,0,0,0.08);
    --shadow-h:   0 20px 60px rgba(0,59,92,0.12);
    
    /* Layout */
    --max-w:      1200px;
    --radius:     12px;
    --nav-h:      72px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: 0.3s var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { 
    font-family: 'Playfair Display', serif; 
    line-height: 1.2; 
    font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { font-weight: 400; font-size: 1.1rem; }

/* ── LAYOUT UTILS ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.grid { display: grid; gap: 2rem; }
.flex { display: flex; align-items: center; gap: 1rem; }

/* ── HEADER & NAV ── */
.header {
    position: fixed; top: 0; width: 100%; height: var(--nav-h);
    background: var(--glass); backdrop-filter: blur(12px);
    z-index: 1000; border-bottom: 1px solid var(--border);
    transition: 0.4s var(--transition);
}
.header.scrolled { height: 64px; background: #fff; box-shadow: var(--shadow); }

.nav-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--navy); }
.logo img { height: 32px; width: auto; }
.logo span { line-height: 1; font-size: 1.2rem; }

.nav-links { display: flex; gap: 1.5rem; }
.nav-links li a { font-weight: 500; font-size: 0.95rem; color: var(--navy); position: relative; }
.nav-links li a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--gold); transition: 0.3s var(--transition);
}
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.lang-switcher { display: flex; background: var(--cream); padding: 4px; border-radius: 30px; border: 1px solid var(--border); }
.lang-btn { 
    padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; 
    color: var(--muted); transition: 0.3s;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.active { background: var(--navy); color: #fff; }

.mobile-toggle { display: none; font-size: 1.5rem; color: var(--navy); }

/* ── HERO ── */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative;
    padding-top: var(--nav-h); overflow: hidden;
    color: #fff;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0, 59, 92, 0.9), rgba(0, 30, 48, 0.6)), url('../images/hero.jpg');
    background-size: cover; background-position: center; z-index: -1;
}
.hero-content { max-width: 800px; }
.hero-eyebrow { 
    display: inline-block; padding: 6px 16px; background: rgba(200, 147, 58, 0.2); 
    border-left: 3px solid var(--gold); font-size: 0.9rem; font-weight: 600; 
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { color: var(--gold-light); font-style: italic; }
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 3rem; font-weight: 300; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
    cursor: pointer; transition: 0.4s var(--transition);
}
.btn-primary { background: var(--gold); color: #fff; border: 1px solid var(--gold); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(200, 147, 58, 0.3); }
.btn-outline { border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── SERVICE CARDS ── */
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: -80px; position: relative; z-index: 10; }
.card {
    background: #fff; padding: 2.5rem; border-radius: var(--radius);
    box-shadow: var(--shadow); border-bottom: 4px solid var(--gold);
    transition: 0.4s var(--transition);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-h); }
.card-icon { 
    width: 60px; height: 60px; background: var(--cream); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
    color: var(--gold); font-size: 1.5rem;
}
.card h3 { color: var(--navy); margin-bottom: 1rem; }
.card-time { font-weight: 700; color: var(--navy); margin-bottom: 1rem; display: block; }
.card p { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ── ABOUT PREVIEW ── */
.about-preview .grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-h); }
.about-img::after { 
    content: ''; position: absolute; inset: 1rem -1rem -1rem 1rem; 
    border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1;
}

/* ── STATS ── */
.stats { background: var(--navy); color: #fff; text-align: center; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat-item h2 { font-size: 3.5rem; color: var(--gold-light); margin-bottom: 0.5rem; font-family: 'Outfit'; }
.stat-item p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; opacity: 0.7; }

/* ── FOOTER ── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding-top: 5rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 5rem; }
.footer-logo { color: #fff; margin-bottom: 1.5rem; font-size: 1.5rem; font-family: 'Playfair Display'; font-weight: 700; }
.footer h4 { color: #fff; margin-bottom: 1.5rem; font-family: 'Outfit'; font-size: 1.1rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }

.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.05); padding: 2rem 0;
    display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem;
}

/* ── MOBILE NAV ── */
.nav-drawer {
    position: fixed; inset: 0; background: var(--navy-dark);
    z-index: 2000; padding: 4rem 2rem; display: flex; flex-direction: column;
    gap: 2rem; transform: translateX(100%); transition: 0.5s var(--transition);
}
.nav-drawer.open { transform: translateX(0); }
.drawer-close { position: absolute; top: 2rem; right: 2rem; color: #fff; font-size: 2rem; }
.drawer-links { display: flex; flex-direction: column; gap: 1.5rem; }
.drawer-links a { font-size: 1.5rem; font-family: 'Playfair Display'; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-toggle { display: block; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .about-preview .grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; }
    .service-cards { margin-top: 2rem; }
}
