@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    /* Primary Colors */
    --primary: #0a192f;
    --primary-light: #112240;
    --accent: #b8860b;
    --accent-light: #d4af37;
    --accent-glow: rgba(184, 134, 11, 0.15);
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-tint: #f1f5f9;
    
    /* Text */
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    
    /* UI Elements */
    --border: rgba(10, 25, 47, 0.1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Layout */
    --nav-height: 85px;
    --container-width: 1240px;
    --radius: 8px;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    transition: background-color 0.5s ease;
}

body {
    font-family: 'Lora', serif;
    color: var(--text-body);
    line-height: 1.8;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

p { margin-bottom: 1.5rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delayed { transition-delay: 0.2s; }

/* --- GLOBAL UI COMPONENTS --- */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    gap: 12px;
    cursor: pointer;
}

.btn-primary { background: var(--primary); color: white; border: none; }
.btn-primary:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 20px var(--accent-glow); }
.btn-accent { background: var(--accent); color: white; }
.btn-outline { border: 2px solid var(--text-dark); color: var(--text-dark); }
[data-theme='dark'] .btn-outline { border-color: white; color: white; }

/* --- SECTIONS --- */
section { padding: 120px 0; }
.section-alt { background-color: var(--bg-light); }

.section-header { text-align: center; margin-bottom: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 4px; margin-bottom: 1rem; }
.section-header h2 { font-size: 3.2rem; }


/* --- FOOTER --- */
footer { background: var(--primary); color: white; padding: 100px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; margin-bottom: 60px; }
.footer-nav h4 { color: white; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 30px; }
.footer-nav ul li { margin-bottom: 15px; font-size: 0.9rem; opacity: 0.7; }
.footer-nav a:hover { color: var(--accent); opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; font-size: 0.8rem; opacity: 0.5; text-align: center; }

/* --- COMMON PAGE HERO (Secondary) --- */
.page-hero { 
    padding: 220px 0 140px; 
    background: var(--primary); 
    color: white; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?q=80&w=2670&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: var(--accent);
    z-index: 2;
}

.page-hero .container {
    position: relative;
    z-index: 3;
}

.page-hero h1 { 
    color: white; 
    font-size: clamp(3rem, 5vw, 4.5rem); 
    margin-bottom: 0;
    font-family: 'Libre Baskerville', serif;
}

.page-hero-sub { 
    color: var(--accent); 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 5px; 
    margin-bottom: 1.5rem; 
    display: block; 
}

/* --- RESPONSIVE BASICS --- */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .section-header h2 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .section-header h2 { font-size: 2.4rem; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
}

.top-announcement {
    background: var(--primary-light) !important;
    display: block !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0;
    height: 44px;
    line-height: 44px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.top-announcement .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-right: 40px;
}

.top-announcement a {
    color: var(--accent-light);
    text-decoration: underline;
    margin: 0 5px;
    font-weight: 700;
}

.top-announcement .close-announcement {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
    transition: var(--transition);
    padding: 5px;
}

.top-announcement .close-announcement:hover {
    opacity: 1;
    transform: translateY(-50%) rotate(90deg);
}

.top-announcement.hidden {
    display: none !important;
}
