/* Sepals Clinical Performance | Master Stylesheet v2026.1.23 */

:root {
    --midnight: #0D1F18;
    --gold: #967B44;
    --paper: #F9F7F2;
    --slate: #EBF0ED;
    --white: #FFFFFF;
    --hex1: #1A1D1C;
    --border: #C8CDC9;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; }

body {
    font-family: 'Spectral', serif;
    color: var(--hex1);
    background-color: var(--paper);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--midnight); font-weight: 400; margin-top: 0; line-height: 1.3; }
a { text-decoration: none; transition: var(--transition); color: var(--hex1); }

/* UPDATED: Inherit color ensures visibility on dark backgrounds (Fixes Yggdrasil) */
strong { font-weight: 600; color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- ACCESSIBILITY --- */
.nav-item, .btn-primary, .btn-contact, .top-band a, header .hamburger {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- TOP BAND --- */
.top-band {
    background-color: var(--midnight);
    color: white;
    padding: 8px 40px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    flex-wrap: wrap; 
}
.top-band a { color: rgba(255,255,255,0.8); text-align: center; }
.top-band span { opacity: 0.3; align-self: center; }

/* --- HEADER --- */
header {
    background: var(--white);
    padding: 12px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.brand-group { display: flex; align-items: center; gap: 15px; white-space: nowrap; }
.logo-icon { height: 60px; width: auto; }
.brand-divider { height: 25px; width: 1px; background-color: #dcdcdc; }
.nav-definition { font-family: 'Playfair Display', serif; font-style: italic; font-size: 0.8rem; color: var(--gold); line-height: 1.2; }

.nav-links { display: flex; gap: 25px; align-items: center; font-family: 'Source Sans Pro', sans-serif; }
.nav-item { font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.2px; cursor: pointer; }
.nav-item:hover, .nav-item.active { color: var(--gold); }
.btn-enquire { border: 1px solid var(--midnight); padding: 0 15px; border-radius: 2px; }
.btn-enquire:hover { background-color: var(--midnight); color: var(--white); }

/* --- DROPDOWN NAVIGATION --- */
.dropdown { position: relative; display: flex; align-items: center; height: 100%; cursor: pointer; }
.dropdown-content { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background-color: white; 
    min-width: 180px; 
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1); 
    z-index: 9999; 
    border-top: 2px solid var(--gold); 
    margin-top: 10px; 
}
.dropdown-content::before { content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent; }
.dropdown-content a { 
    color: var(--midnight); 
    padding: 12px 16px; 
    text-decoration: none; 
    display: block; 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-weight: 700; 
    font-family: 'Source Sans Pro', sans-serif;
}
.dropdown-content a:hover { background-color: var(--paper); color: var(--gold); }
.dropdown:hover .dropdown-content, .dropdown.active .dropdown-content { display: block; }

/* --- HERO OVERLAY (RESTORED) --- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 40px 20px; background-color: var(--midnight); }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; z-index: 0; }
.overlay-dark { 
    background: rgba(13, 31, 24, 0.6); /* Increased opacity for correct filter look */
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; 
}
.hero-content { position: relative; z-index: 2; color: white; max-width: 1000px; }

/* --- CONTACT HUB --- */
.contact-hub { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.btn-contact {
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    height: 44px;
    padding: 0 20px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1; 
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-contact:hover { background: var(--gold); border-color: var(--gold); color: white; }
.btn-whatsapp { border-color: #25D366; color: #25D366; }
.btn-whatsapp:hover { background: #25D366; color: white; border-color: #25D366; }

/* --- ALIGNMENT UTILS --- */
.center-text { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }

/* --- FOOTER --- */
footer { background-color: var(--midnight); color: white; padding: 80px 0 40px; font-size: 0.9rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-col h5 { color: var(--gold); font-family: 'Source Sans Pro'; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; margin-bottom: 25px; font-weight: 700; }

.address-block { line-height: 1.4; margin-bottom: 20px; }
.address-block p { margin: 0; padding: 0 0 5px 0; color: rgba(255,255,255,0.7); }
.address-block a { color: white; text-decoration: none; border: none; }
.address-block a:hover { color: var(--gold); }

.footer-col a { color: rgba(255,255,255,0.7); display: block; margin-bottom: 12px; }
.footer-col a:hover { color: var(--gold); }

.legal-row { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; color: rgba(255,255,255,0.4); font-size: 0.75rem; font-family: 'Source Sans Pro'; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: rgba(255,255,255,0.4); }

/* --- COOKIE BANNER --- */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background-color: #0D1F18; color: white; padding: 20px; display: none; z-index: 9999; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); border-top: 2px solid #967B44; font-family: 'Source Sans Pro', sans-serif; }
.cookie-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cookie-text { font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.cookie-btn-group { display: flex; gap: 10px; }
.cookie-btn { background-color: #967B44; color: white; border: none; padding: 10px 25px; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; cursor: pointer; white-space: nowrap; }
.cookie-btn:hover { background-color: white; color: #0D1F18; }
.cookie-btn.decline { background-color: transparent; border: 1px solid rgba(255,255,255,0.3); }
.cookie-btn.decline:hover { background-color: rgba(255,255,255,0.1); color: white; }

/* --- MOBILE --- */
@media (max-width: 1024px) {
    header { padding: 15px 20px; flex-wrap: wrap; }
    .brand-divider, .nav-definition, .top-band span:not(:last-child) { display: none; }
    .top-band { justify-content: center; width: 100%; gap: 10px; padding: 10px; }
    .top-band a { display: block; width: 100%; margin: 2px 0; }
    .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger .bar { width: 25px; height: 2px; background-color: var(--midnight); transition: 0.3s; }
    .nav-links { display: none; width: 100%; flex-direction: column; margin-top: 20px; border-top: 1px solid #eee; order: 3; background: white; }
    .nav-links.active { display: flex; }
    .nav-item { width: 100%; text-align: center; border-bottom: 1px solid #eee; }
    .dropdown { width: 100%; flex-direction: column; }
    .dropdown-content { position: static; box-shadow: none; border: none; display: none; width: 100%; text-align: center; background: #fafafa; }
    .dropdown.active .dropdown-content { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .legal-row { flex-direction: column; gap: 20px; text-align: center; }
}