/*
Theme Name: Maria Liberia-Peters
Theme URI: https://marialiberia.com
Author: Stichting Vrienden van Maria Liberia-Peters
Author URI: https://marialiberia.com
Description: A premium cultural heritage theme dedicated to the legacy of Maria Liberia-Peters, Curaçao's first female Prime Minister. Features an interactive GLSL-powered timeline, hero slider with image/video support, and museum-quality design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maria-liberia
Tags: one-column, custom-background, custom-logo, custom-menu, featured-images, theme-options
*/

/* === RESET & VARIABLES === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --emerald:#0F5C4D;
  --heritage:#1E7A63;
  --sage:#9DB9A9;
  --sand:#F5F1E8;
  --charcoal:#1F2933;
  --gold:#C8A96B;
  --caribbean:#5EA3D6;
  --deep:#0a3e34;
  --cream:#FAF8F3;
  --warm-white:#FEFDFB;
  --shadow-sm:0 2px 12px rgba(0,0,0,0.04);
  --shadow-md:0 8px 30px rgba(0,0,0,0.07);
  --shadow-lg:0 16px 50px rgba(0,0,0,0.1);
  --radius:6px;
  --ease:cubic-bezier(.4,0,.2,1);
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Source Sans 3',sans-serif;color:var(--charcoal);background:var(--cream);line-height:1.72;overflow-x:hidden;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5{font-family:'Playfair Display',serif;font-weight:600;line-height:1.25}
img{max-width:100%;height:auto;display:block}
a{color:var(--heritage);text-decoration:none;transition:color .3s}
a:hover{color:var(--gold)}

/* === NAVIGATION === */
.site-nav{position:fixed;top:0;left:0;right:0;z-index:1000;padding:1.1rem 2.5rem;display:flex;align-items:center;justify-content:space-between;transition:all .35s var(--ease)}
.site-nav.scrolled{background:rgba(10,62,52,0.97);backdrop-filter:blur(14px);padding:.75rem 2.5rem;box-shadow:0 2px 40px rgba(0,0,0,0.15)}
.nav-logo{display:flex;align-items:center;gap:.6rem;text-decoration:none}
.nav-logo-mark{width:32px;height:32px;border:1.5px solid var(--gold);border-radius:50%;display:flex;align-items:center;justify-content:center}
.nav-logo-mark svg{width:16px;height:16px;fill:var(--gold)}
.nav-logo-text{font-family:'Playfair Display',serif;font-size:1.1rem;color:#fff;font-weight:600}
.nav-logo-text span{color:var(--gold)}
.nav-menu{display:flex;gap:2.2rem;align-items:center;list-style:none}
.nav-menu a{color:rgba(255,255,255,0.8);font-size:.82rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;position:relative;padding-bottom:3px}
.nav-menu a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:1.5px;background:var(--gold);transition:width .35s}
.nav-menu a:hover,.nav-menu .current-menu-item a{color:#fff}
.nav-menu a:hover::after,.nav-menu .current-menu-item a::after{width:100%}
.nav-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:4px;z-index:1001}
.nav-toggle span{width:24px;height:2px;background:#fff;display:block;transition:all .35s var(--ease)}
.nav-toggle.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* === BUTTONS === */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 2.2rem;border-radius:4px;font-size:.84rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;transition:all .35s var(--ease);cursor:pointer;border:none;font-family:'Source Sans 3',sans-serif}
.btn svg{width:16px;height:16px;flex-shrink:0}
.btn-gold{background:var(--gold);color:var(--charcoal)}
.btn-gold:hover{background:#d4b87a;color:var(--charcoal);transform:translateY(-2px);box-shadow:0 8px 30px rgba(200,169,107,0.35)}
.btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,0.35)}
.btn-outline:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-2px)}
.btn-dark{background:var(--emerald);color:#fff}
.btn-dark:hover{background:var(--deep);transform:translateY(-2px);box-shadow:0 8px 25px rgba(15,92,77,0.25)}

/* === HERO SLIDER === */
.hero-slider{position:relative;min-height:100vh;overflow:hidden;background:var(--deep)}
.hero-slides{position:relative;width:100%;height:100vh}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;z-index:0}
.hero-slide.active{opacity:1;z-index:1}
.hero-slide-media{position:absolute;inset:0}
.hero-slide-media img,.hero-slide-media video{width:100%;height:100%;object-fit:cover}
.hero-slide-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,62,52,0.25) 0%,rgba(10,62,52,0.55) 40%,rgba(10,62,52,0.88) 100%);z-index:1}
.hero-slide-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:2;padding:2rem}
.hero-slide .hero-inner{opacity:0;transform:translateY(25px);transition:all .8s ease .3s}
.hero-slide.active .hero-inner{opacity:1;transform:translateY(0)}
.hero-inner{text-align:center;max-width:820px}
.hero-badge{display:inline-block;font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);border:1px solid rgba(200,169,107,0.35);padding:.45rem 1.4rem;border-radius:40px;margin-bottom:1.8rem;font-weight:600}
.hero-slider h1{font-size:clamp(2.6rem,6vw,4.6rem);color:#fff;margin-bottom:1rem;font-weight:700}
.hero-slider h1 em{font-style:italic;font-weight:400;color:var(--gold)}
.hero-sub{font-size:clamp(1rem,2vw,1.2rem);color:rgba(255,255,255,0.78);max-width:580px;margin:0 auto 2.5rem;font-weight:300;line-height:1.85}
.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.hero-dots{position:absolute;bottom:3rem;left:50%;transform:translateX(-50%);z-index:10;display:flex;gap:.7rem}
.hero-dot{width:10px;height:10px;border-radius:50%;border:1.5px solid rgba(255,255,255,0.5);background:transparent;cursor:pointer;transition:all .35s var(--ease);padding:0}
.hero-dot.active{background:var(--gold);border-color:var(--gold);transform:scale(1.2)}
.hero-arrows{position:absolute;bottom:3rem;right:3rem;z-index:10;display:flex;gap:.5rem}
.hero-arrow{width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(255,255,255,0.25);background:rgba(255,255,255,0.05);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .35s var(--ease);padding:0}
.hero-arrow:hover{border-color:var(--gold);background:rgba(200,169,107,0.15)}
.hero-arrow svg{width:18px;height:18px;stroke:rgba(255,255,255,0.8);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero-canvas-bg{position:absolute;inset:0;z-index:0}
.hero-canvas-bg canvas{width:100%;height:100%;display:block}

/* === SECTIONS === */
.section{padding:clamp(4.5rem,8vw,7rem) clamp(1.5rem,5vw,4rem)}
.section-dark{background:var(--deep);color:#fff}
.section-sand{background:var(--sand)}
.section-cream{background:var(--cream)}
.container{max-width:1140px;margin:0 auto}
.section-header{text-align:center;max-width:680px;margin:0 auto 3.5rem}
.overline{display:block;font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-bottom:.8rem;font-weight:600}
.section-header h2{font-size:clamp(1.8rem,4vw,2.7rem);margin-bottom:1rem}
.section-header p{font-size:1.02rem;color:rgba(31,41,51,0.65);line-height:1.8}
.section-dark .section-header p{color:rgba(255,255,255,0.6)}

/* === QUOTE BLOCK === */
.quote-block{position:relative;padding:clamp(3.5rem,6vw,5.5rem) 2rem;text-align:center;background:var(--emerald);overflow:hidden}
.quote-block.alt{background:var(--charcoal)}
.quote-block::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.quote-icon svg{width:40px;height:40px;fill:var(--gold);opacity:.45}
.quote-text{font-family:'Playfair Display',serif;font-size:clamp(1.2rem,2.8vw,1.7rem);color:#fff;max-width:720px;margin:0 auto 1.5rem;font-style:italic;font-weight:400;line-height:1.75}
.quote-attr{color:var(--gold);font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600}

/* === STATS === */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;max-width:1000px;margin:0 auto;text-align:center}
.stat-num{font-family:'Playfair Display',serif;font-size:2.6rem;color:var(--gold);font-weight:700}
.stat-label{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,0.5);margin-top:.3rem}

/* === INTRO GRID === */
.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.intro-text p{margin-bottom:1rem;color:rgba(31,41,51,0.72);font-size:1.02rem}
.portrait-frame{width:100%;max-width:400px;aspect-ratio:3/4;border-radius:var(--radius);position:relative;overflow:hidden;box-shadow:var(--shadow-lg)}
.portrait-frame img{width:100%;height:100%;object-fit:cover}
.portrait-placeholder{position:absolute;inset:0;background:linear-gradient(135deg,var(--emerald),var(--heritage));display:flex;flex-direction:column;align-items:center;justify-content:center;color:rgba(255,255,255,0.3);font-family:'Playfair Display',serif;font-size:1.1rem;font-style:italic;text-align:center;padding:2rem;gap:.5rem}
.portrait-placeholder small{opacity:.5;font-size:.75rem;font-style:normal}
.accent-border{position:absolute;top:-20px;right:-20px;width:110px;height:110px;border:1.5px solid var(--gold);border-radius:var(--radius);opacity:.3}

/* === LEGACY CARDS === */
.legacy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem}
.legacy-card{background:#fff;border-radius:var(--radius);padding:2rem;border:1px solid rgba(157,185,169,0.1);transition:all .35s var(--ease);position:relative;overflow:hidden}
.legacy-card::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--heritage),var(--gold));transform:scaleX(0);transition:transform .4s}
.legacy-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.legacy-card:hover::after{transform:scaleX(1)}
.legacy-icon{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,rgba(15,92,77,0.07),rgba(200,169,107,0.07));display:flex;align-items:center;justify-content:center;margin-bottom:1.2rem}
.legacy-icon svg{width:24px;height:24px;stroke:var(--heritage);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.legacy-card h3{font-size:1.1rem;margin-bottom:.6rem}
.legacy-card p{font-size:.9rem;color:rgba(31,41,51,0.6);line-height:1.7}

/* === BIO === */
.page-hero{position:relative;min-height:45vh;display:flex;align-items:center;justify-content:center;background:var(--deep);overflow:hidden}
.page-hero canvas{position:absolute;inset:0;width:100%;height:100%}
.page-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,62,52,0.4),rgba(10,62,52,0.85))}
.page-hero-content{position:relative;z-index:2;text-align:center;padding:6rem 2rem 4rem}
.bio-section{max-width:780px;margin:0 auto}
.bio-section h3{font-size:1.4rem;color:var(--emerald);margin:2.5rem 0 1rem}
.bio-section p{color:rgba(31,41,51,0.7);margin-bottom:1rem;font-size:1.02rem;line-height:1.85}
.bio-section blockquote{font-family:'Playfair Display',serif;font-style:italic;font-size:1.08rem;color:var(--emerald);border-left:3px solid var(--gold);padding:1rem 0 1rem 1.5rem;margin:1.5rem 0;line-height:1.65;background:rgba(200,169,107,0.03);border-radius:0 var(--radius) var(--radius) 0}

/* === CONTACT === */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem}
.contact-info h3{font-size:1.35rem;margin-bottom:1rem}
.contact-info p{color:rgba(31,41,51,0.62);margin-bottom:1.5rem;line-height:1.8}
.contact-detail{display:flex;align-items:center;gap:.8rem;margin-bottom:1rem;font-size:.92rem}
.contact-icon{width:38px;height:38px;border-radius:50%;background:rgba(15,92,77,0.06);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.contact-icon svg{width:18px;height:18px;stroke:var(--heritage);fill:none;stroke-width:1.5}
.wpcf7 input[type="text"],.wpcf7 input[type="email"],.wpcf7 textarea,.wpcf7 select,
.ml-form input,.ml-form textarea,.ml-form select{width:100%;padding:.8rem 1rem;border:1.5px solid rgba(157,185,169,0.25);border-radius:var(--radius);font-size:.9rem;font-family:'Source Sans 3',sans-serif;background:var(--warm-white);color:var(--charcoal);transition:border-color .3s;outline:none}
.wpcf7 input:focus,.wpcf7 textarea:focus,.ml-form input:focus,.ml-form textarea:focus{border-color:var(--heritage)}
.ml-form label{display:block;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(31,41,51,0.45);margin-bottom:.35rem}
.ml-form .form-group{margin-bottom:1.1rem}

/* === FOOTER — GREEN === */
.site-footer{background:var(--deep);color:rgba(255,255,255,0.55);padding:3.5rem 2rem 1.5rem}
.footer-inner{max-width:1140px;margin:0 auto}
.footer-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,0.08);margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}
.footer-brand{font-family:'Playfair Display',serif;font-size:1.05rem;color:#fff;font-weight:600}
.footer-brand span{color:var(--gold)}
.footer-nav{display:flex;gap:1.5rem;flex-wrap:wrap;list-style:none}
.footer-nav a{color:rgba(255,255,255,0.4);font-size:.8rem;transition:color .3s}
.footer-nav a:hover{color:var(--gold)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}
.footer-copy{font-size:.75rem;color:rgba(255,255,255,0.3)}
.footer-copy a{color:rgba(255,255,255,0.45)}
.footer-accent{height:3px;background:linear-gradient(90deg,var(--heritage),var(--gold),var(--heritage));margin-bottom:0}

/* === HONORS LIST === */
.honor-item{display:flex;align-items:flex-start;gap:1.2rem;padding:1.5rem 0;border-bottom:1px solid rgba(157,185,169,0.15)}
.honor-icon{width:44px;height:44px;border-radius:50%;background:rgba(200,169,107,0.1);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.honor-icon svg{width:20px;height:20px;stroke:var(--gold);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.honor-item h4{font-size:1.05rem;margin-bottom:.2rem}
.honor-item p{font-size:.88rem;color:rgba(31,41,51,0.55)}

/* === ANIMATIONS === */
.reveal{opacity:0;transform:translateY(28px);transition:all .7s var(--ease)}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal-d1{transition-delay:.12s}
.reveal-d2{transition-delay:.24s}
.reveal-d3{transition-delay:.36s}

/* === RESPONSIVE === */
@media(max-width:1024px){
  .intro-grid,.contact-grid{grid-template-columns:1fr}
  .legacy-grid{grid-template-columns:1fr 1fr}
  .stats-row{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .nav-menu{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(10,62,52,0.98);flex-direction:column;align-items:center;justify-content:center;gap:2rem;z-index:999}
  .nav-menu.open{display:flex}
  .nav-toggle{display:flex}
  .legacy-grid{grid-template-columns:1fr}
  .hero-arrows{display:none}
  .stats-row{grid-template-columns:1fr 1fr;gap:1.5rem}
}
@media(max-width:480px){
  .site-nav{padding:.9rem 1.2rem}
  .site-nav.scrolled{padding:.6rem 1.2rem}
}
