@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:wght@300;400;500;600;700&display=swap');
:root{
--navy:#005B7F;--navy-light:#007BA7;--saffron:#B87333;--cream:#E6D5C3;--gold:#CD7F32;
--dark:#0a0a0a;--white:#ffffff;--text:#2c2c2c;--text-light:#6b6b6b;
--shadow:0 4px 30px rgba(0,91,127,.12);--shadow-lg:0 12px 40px rgba(0,91,127,.18);
--radius:12px;--radius-lg:20px;--transition:all .4s cubic-bezier(.25,.46,.45,.94);
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Lora',serif;color:var(--text);background-color:var(--cream);background-image:radial-gradient(rgba(184,115,51,0.08) 2px, transparent 2px), radial-gradient(rgba(184,115,51,0.08) 2px, transparent 2px);background-position:0 0, 25px 25px;background-size:50px 50px;line-height:1.8;overflow-x:hidden}
h1,h2,h3,h4,h5,h6{font-family:'Cinzel',serif;color:var(--navy);line-height:1.3;font-weight:600}
h1{font-size:clamp(2.2rem,5vw,4rem)}
h2{font-size:clamp(1.8rem,4vw,3rem)}
h3{font-size:clamp(1.3rem,3vw,1.8rem)}
p{margin-bottom:1rem;font-size:1.05rem}
a{text-decoration:none;color:var(--saffron);transition:var(--transition)}
a:hover{color:var(--gold)}
img{max-width:100%;display:block}
.container{width:90%;max-width:1200px;margin:0 auto;padding:0 1rem}
.section { position: relative; padding: 6rem 0; }
.section::after { content: '🦚'; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); font-size: 24px; opacity: 0.6; text-shadow: 0 0 10px rgba(184,115,51,0.5); }
.section:last-child::after { display: none; }
.section-title{text-align:center;margin-bottom:3rem}
.section-title h2{margin-bottom:.5rem}
.section-title .subtitle{color:var(--saffron);font-family:'Poppins',sans-serif;font-size:.95rem;text-transform:uppercase;letter-spacing:3px;font-weight:500}
.section-title p.desc{max-width:700px;margin:1rem auto 0;color:var(--text-light)}
.btn{display:inline-block;padding:14px 36px;border-radius:50px;font-family:'Poppins',sans-serif;font-weight:500;font-size:.95rem;cursor:pointer;transition:var(--transition);border:none;position:relative;overflow:hidden}
.btn-primary{background:linear-gradient(135deg,var(--saffron),var(--gold));color:var(--navy)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(184,115,51,.4);color:var(--navy)}
.btn-outline{border:2px solid var(--saffron);color:var(--saffron);background:transparent}
.btn-outline:hover{background:var(--saffron);color:var(--navy);transform:translateY(-3px)}
/* NAV */
.navbar{position:fixed;top:0;left:0;width:100%;z-index:1000;padding:1.2rem 0;transition:var(--transition)}
.navbar.scrolled{background:rgba(0,91,127,.97);padding:.8rem 0;box-shadow:var(--shadow-lg);backdrop-filter:blur(10px)}
.nav-container{display:flex;align-items:center;justify-content:space-between;width:90%;max-width:1300px;margin:0 auto}
.nav-logo{font-family:'Cinzel',serif;font-size:1.3rem;color:var(--gold);font-weight:700;letter-spacing:1px}
.nav-logo span{color:var(--saffron)}
.nav-menu{display:flex;list-style:none;gap:2rem;align-items:center}
.nav-menu a{color:var(--cream);font-family:'Poppins',sans-serif;font-size:.9rem;font-weight:400;letter-spacing:.5px;position:relative;padding:4px 0}
.nav-menu a::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:var(--saffron);transition:var(--transition)}
.nav-menu a:hover::after,.nav-menu a.active::after{width:100%}
.nav-menu a:hover,.nav-menu a.active{color:var(--saffron)}
.hamburger{display:none;flex-direction:column;cursor:pointer;gap:5px;z-index:1001}
.hamburger span{width:28px;height:2px;background:var(--cream);transition:var(--transition)}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}
/* HERO */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;z-index:1}
.hero-content{position:relative;z-index:2;text-align:center;color:var(--white);padding:2rem}
.hero-content h1{color:var(--white);margin-bottom:1rem;text-shadow:0 2px 20px rgba(0,0,0,.5)}
.hero-content p{font-size:1.2rem;max-width:700px;margin:0 auto 2rem;opacity:.9}
/* PAGE HERO (shorter) */
.page-hero{min-height:60vh}
/* CARDS */
.card{background:var(--white);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:var(--transition)}
.card:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg)}
.card-img{position:relative;overflow:hidden;height:220px}
.card-img img{width:100%;height:100%;object-fit:contain;transition:transform .6s ease}
.card:hover .card-img img{transform:scale(1.05)}
.card-body{padding:1.8rem}
.card-body h3{margin-bottom:.8rem;font-size:1.2rem}
/* BENTO GRID */
.bento-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.bento-item{background:var(--white);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow);transition:var(--transition);position:relative;overflow:hidden}
.bento-item:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.bento-item.span-2{grid-column:span 2}
.bento-item.featured{background:linear-gradient(135deg,var(--navy),var(--navy-light));color:var(--cream)}
.bento-item.featured h3{color:var(--gold)}
.bento-icon{width:50px;height:50px;background:linear-gradient(135deg,var(--saffron),var(--gold));border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:1.2rem}
/* TIMELINE */
.timeline{position:relative;padding:2rem 0}
.timeline::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:3px;background:linear-gradient(to bottom,var(--saffron),var(--gold));transform:translateX(-50%)}
.timeline-item{display:flex;justify-content:flex-end;padding:0 0 3rem;width:50%;position:relative}
.timeline-item:nth-child(even){align-self:flex-end;justify-content:flex-start;margin-left:50%}
.timeline-item::after{content:'';position:absolute;width:16px;height:16px;background:var(--saffron);border:3px solid var(--cream);border-radius:50%;z-index:1}
.timeline-item:nth-child(odd)::after{right:-8px;top:0}
.timeline-item:nth-child(even)::after{left:-8px;top:0}
.timeline-content{background:var(--white);padding:1.8rem;border-radius:var(--radius);box-shadow:var(--shadow);max-width:90%;transition:var(--transition)}
.timeline-content:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.timeline-year{display:inline-block;background:linear-gradient(135deg,var(--saffron),var(--gold));color:var(--navy);padding:4px 16px;border-radius:20px;font-family:'Poppins',sans-serif;font-weight:600;font-size:.85rem;margin-bottom:.8rem}
/* STATS */
.stats-section{background:linear-gradient(135deg,var(--navy),var(--navy-light));padding:5rem 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.stat-item h3{font-size:2.8rem;color:var(--gold);font-family:'Cinzel',serif}
.stat-item p{color:var(--cream);font-family:'Poppins',sans-serif;font-size:.9rem;margin-top:.5rem}
/* QUOTE */
.quote-section{background:linear-gradient(135deg,rgba(0,91,127,.9),rgba(0,123,167,.9)),url('../images/home/banner.jpg') center/cover;padding:5rem 0;text-align:center;color:var(--cream)}
.quote-text{font-size:clamp(1.3rem,3vw,1.8rem);font-style:italic;max-width:800px;margin:0 auto 1.5rem;line-height:1.6}
.quote-author{color:var(--saffron);font-family:'Poppins',sans-serif;font-size:1rem;font-weight:500}
/* MASONRY */
.masonry-grid{columns:3;column-gap:1.5rem}
.masonry-item{break-inside:avoid;margin-bottom:1.5rem;background:var(--white);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:var(--transition)}
.masonry-item:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.masonry-item img{width:100%;object-fit:contain}
.masonry-item .masonry-body{padding:1.5rem}
/* GALLERY */
.gallery-mosaic{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.gallery-item{position:relative;border-radius:var(--radius);overflow:hidden;cursor:pointer;aspect-ratio:1}
.gallery-item img{width:100%;height:100%;object-fit:contain;transition:transform .6s ease}
.gallery-item:hover img{transform:scale(1.08)}
.gallery-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,91,127,.8),transparent);opacity:0;transition:var(--transition);display:flex;align-items:flex-end;padding:1.5rem}
.gallery-item:hover .gallery-overlay{opacity:1}
.gallery-overlay p{color:var(--cream);font-family:'Poppins',sans-serif;font-size:.9rem}
/* LIGHTBOX */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.95);z-index:2000;display:none;align-items:center;justify-content:center;opacity:0;transition:opacity .4s}
.lightbox.active{display:flex;opacity:1}
.lightbox img{max-width:90%;max-height:85vh;object-fit:contain;border-radius:var(--radius)}
.lightbox-close{position:absolute;top:2rem;right:2rem;color:var(--white);font-size:2rem;cursor:pointer;width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.1);transition:var(--transition)}
.lightbox-close:hover{background:var(--saffron);color:var(--navy)}
/* CONTACT FORM */
.contact-form{background:var(--white);padding:3rem;border-radius:var(--radius-lg);box-shadow:var(--shadow)}
.form-group{margin-bottom:1.5rem}
.form-group label{display:block;font-family:'Poppins',sans-serif;font-size:.9rem;font-weight:500;color:var(--navy);margin-bottom:.5rem}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:14px 18px;border:2px solid #e0d9c8;border-radius:var(--radius);font-family:'Lora',serif;font-size:1rem;transition:var(--transition);background:var(--cream)}
.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--saffron);box-shadow:0 0 0 4px rgba(184,115,51,.15)}
.form-group textarea{min-height:150px;resize:vertical}
/* FOOTER */
.footer{background:var(--navy);color:var(--cream);padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:2.5rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,.1)}
.footer h4{color:var(--gold);font-size:1.1rem;margin-bottom:1.2rem}
.footer p,.footer a{color:rgba(248,244,227,.7);font-size:.9rem}
.footer a:hover{color:var(--saffron)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 0;flex-wrap:wrap;gap:1rem}
.footer-bottom p{font-size:.85rem;color:rgba(248,244,227,.5)}
.social-icons{display:flex;gap:.8rem}
.social-icons a{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;color:var(--cream);transition:var(--transition)}
.social-icons a:hover{background:var(--saffron);border-color:var(--saffron);color:var(--navy)}
/* BACK TO TOP */
.back-to-top{position:fixed;bottom:2rem;right:2rem;width:50px;height:50px;background:linear-gradient(135deg,var(--saffron),var(--gold));color:var(--navy);border:none;border-radius:50%;font-size:1.3rem;cursor:pointer;display:none;align-items:center;justify-content:center;z-index:999;transition:var(--transition);box-shadow:var(--shadow)}
.back-to-top.show{display:flex}
.back-to-top:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
/* GATE PAGE */
.gate-page{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.gate-bg{position:absolute;inset:0}
.gate-bg img{width:100%;height:100%;object-fit:cover;filter:blur(6px) brightness(.4)}
.gate-content{position:relative;z-index:2;text-align:center;padding:3rem;max-width:500px;width:90%}
.gate-content h1{color:var(--gold);font-size:clamp(1.6rem,4vw,2.2rem);margin-bottom:.5rem}
.gate-content p{color:var(--cream);margin-bottom:2rem;font-size:1.05rem}
.gate-input-wrap{position:relative;margin-bottom:1rem}
.gate-input-wrap input{width:100%;padding:16px 20px;border:2px solid rgba(184,115,51,.4);border-radius:50px;background:rgba(255,255,255,.08);color:var(--cream);font-size:1.1rem;font-family:'Poppins',sans-serif;text-align:center;letter-spacing:4px;backdrop-filter:blur(5px);transition:var(--transition)}
.gate-input-wrap input:focus{outline:none;border-color:var(--saffron);box-shadow:0 0 20px rgba(184,115,51,.25)}
.gate-input-wrap input::placeholder{color:rgba(248,244,227,.4);letter-spacing:2px}
.gate-error{color:#ff6b6b;font-size:.9rem;margin-top:.8rem;opacity:0;transition:var(--transition);font-family:'Poppins',sans-serif}
.gate-error.show{opacity:1;animation:shake .5s ease}
.gate-ornament{color:var(--saffron);font-size:2rem;margin-bottom:1.5rem;opacity:.6}
/* PULL QUOTE */
.pull-quote{border-left:4px solid var(--saffron);padding:1.5rem 2rem;margin:2rem 0;background:rgba(184,115,51,.06);border-radius:0 var(--radius) var(--radius) 0;font-style:italic;font-size:1.15rem;color:var(--navy)}
/* SPLIT LAYOUT */
.split-layout{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.split-layout.reverse{direction:rtl}
.split-layout.reverse>*{direction:ltr}
.split-img{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);position:relative}
.split-img img{width:100%;object-fit:contain}
.split-img::after{content:'';position:absolute;inset:0;border:3px solid var(--saffron);border-radius:var(--radius-lg);opacity:.3}
/* ACCORDION */
.accordion-item{border:1px solid rgba(0,91,127,.1);border-radius:var(--radius);margin-bottom:1rem;overflow:hidden;transition:var(--transition)}
.accordion-header{padding:1.2rem 1.5rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-family:'Cinzel',serif;font-weight:600;color:var(--navy);background:var(--white);transition:var(--transition)}
.accordion-header:hover{background:rgba(184,115,51,.05)}
.accordion-header .icon{font-size:1.2rem;transition:transform .3s}
.accordion-item.active .accordion-header .icon{transform:rotate(45deg)}
.accordion-item.active .accordion-header{background:var(--navy);color:var(--gold)}
.accordion-body{max-height:0;overflow:hidden;transition:max-height .5s ease;padding:0 1.5rem}
.accordion-item.active .accordion-body{max-height:2000px;padding:1.5rem}
/* ANIMATIONS */
.fade-up{opacity:0;transform:translateY(40px);transition:all .8s cubic-bezier(.25,.46,.45,.94)}
.fade-up.visible{opacity:1;transform:translateY(0)}
.fade-left{opacity:0;transform:translateX(-40px);transition:all .8s cubic-bezier(.25,.46,.45,.94)}
.fade-left.visible{opacity:1;transform:translateX(0)}
.fade-right{opacity:0;transform:translateX(40px);transition:all .8s cubic-bezier(.25,.46,.45,.94)}
.fade-right.visible{opacity:1;transform:translateX(0)}
@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-8px)}50%{transform:translateX(8px)}75%{transform:translateX(-4px)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes glow{0%,100%{box-shadow:0 0 20px rgba(184,115,51,.2)}50%{box-shadow:0 0 40px rgba(184,115,51,.4)}}
/* REDUCED MOTION */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* RESPONSIVE */
@media(max-width:1024px){
.bento-grid{grid-template-columns:repeat(2,1fr)}
.stats-grid{grid-template-columns:repeat(2,1fr);gap:2rem}
.footer-grid{grid-template-columns:1fr 1fr}
.split-layout{grid-template-columns:1fr;gap:2rem}
.timeline::before{left:20px}
.timeline-item,.timeline-item:nth-child(even){width:100%;margin-left:0;padding-left:50px;justify-content:flex-start}
.timeline-item::after,.timeline-item:nth-child(even)::after{left:12px!important;right:auto!important}
.masonry-grid{columns:2}
}
@media(max-width:768px){
.nav-menu{position:fixed;top:0;right:-100%;width:80%;height:100vh;background:rgba(0,91,127,.98);flex-direction:column;justify-content:center;padding:3rem;transition:var(--transition);backdrop-filter:blur(10px)}
.nav-menu.active{right:0}
.hamburger{display:flex}
.bento-grid{grid-template-columns:1fr}
.bento-item.span-2{grid-column:span 1}
.stats-grid{grid-template-columns:1fr 1fr}
.section{padding:4rem 0}
.gallery-mosaic{grid-template-columns:repeat(2,1fr)}
.masonry-grid{columns:1}
.footer-grid{grid-template-columns:1fr}
.footer-bottom{flex-direction:column;text-align:center}
.hero-content h1{font-size:clamp(1.8rem,6vw,2.5rem)}
}
@media(max-width:480px){
.stats-grid{grid-template-columns:1fr}
.gallery-mosaic{grid-template-columns:1fr}
}
