/* Oakhurst Community Center — site styles */
:root{
  --ink:#1c1c1c; --muted:#555; --blue:#2a73a8; --bg-soft:#eceaf0; --line:#d9d6de;
  --head:'Marcellus', Georgia, serif; --body:'Source Serif 4', Georgia, serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--ink);line-height:1.6;font-size:17px;background:#fff}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--head);font-weight:400;line-height:1.2;margin:0 0 .5em}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(6px);border-bottom:1px solid #eee}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:12px;padding-bottom:12px}
.brand{font-family:var(--head);font-size:1.45rem;text-decoration:none;white-space:nowrap}
.nav{display:flex;gap:26px;flex-wrap:wrap;justify-content:center}
.nav a{text-decoration:none;font-size:.95rem;padding:4px 0;border-bottom:1px solid transparent}
.nav a:hover,.nav a.active{border-bottom-color:currentColor}
.btn{display:inline-block;white-space:nowrap;background:#111;color:#fff;text-decoration:none;border:none;border-radius:999px;padding:12px 26px;font:inherit;font-size:.95rem;cursor:pointer}
.btn:hover{background:#333}
.menu-toggle{display:none;background:none;border:1px solid #ccc;border-radius:8px;padding:6px 10px;font:inherit;cursor:pointer}
@media (max-width:900px){
  .menu-toggle{display:block}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:center;gap:6px;padding:14px 0 18px;border-bottom:1px solid #eee}
  .nav.open{display:flex}
  .site-header .btn{padding:9px 16px}
  .brand{font-size:1.15rem}
}

/* hero */
.hero{position:relative;min-height:62vh;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;background:#333 center/cover no-repeat}
.hero::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.28)}
.hero h1{position:relative;font-size:clamp(2rem,5vw,3.6rem);max-width:1000px;padding:0 20px;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.hero.short{min-height:40vh}
.hero.curve{border-bottom-left-radius:50% 60px;border-bottom-right-radius:50% 60px}

/* sections */
section{padding:70px 0}
section.soft{background:var(--bg-soft)}
.center{text-align:center}
.title-blue{color:var(--blue)}
h2.big{font-size:clamp(1.9rem,3.5vw,2.8rem)}
.lead{font-size:1.05rem;max-width:900px}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}
.three h3{font-size:1.5rem;text-align:center}
.three img{aspect-ratio:4/3;object-fit:cover;width:100%;margin-bottom:12px}
.three p{text-align:center;font-size:.95rem}
@media (max-width:800px){.three{grid-template-columns:1fr}}

.split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.split img{width:100%;aspect-ratio:4/3;object-fit:cover}
.split h2{font-size:2.1rem}
.split + .split{margin-top:70px}
@media (max-width:800px){.split{grid-template-columns:1fr;gap:24px}.split.flip > :first-child{order:2}}

/* prices */
.prices{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin:18px 0;max-width:420px}
.split .prices{margin-left:0}
.center .prices{margin-left:auto;margin-right:auto}
.prices h3{font-size:1.2rem;margin-bottom:6px}
.prices table{width:100%;border-collapse:collapse}
.prices td{padding:5px 0;border-bottom:1px solid #eee}
.prices td:last-child{text-align:right;white-space:nowrap}
.prices tr:last-child td{border-bottom:none}
.prices .note{font-size:.85rem;color:var(--muted);margin:8px 0 0}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.gallery a{display:block;overflow:hidden}
.gallery img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .3s}
.gallery a:hover img{transform:scale(1.03)}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;z-index:100}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:86vh}
.lightbox button{position:absolute;background:none;border:none;color:#fff;font-size:2.4rem;cursor:pointer;padding:10px 18px}
.lightbox .close{top:10px;right:10px}
.lightbox .prev{left:10px}.lightbox .next{right:10px}

/* calendar */
.cal-frame{width:100%;max-width:1000px;height:680px;border:0;display:block;margin:30px auto 0;background:#fff}
@media (max-width:600px){.cal-frame{height:520px}}

/* forms */
.form label{display:block;font-size:.9rem;margin:14px 0 4px}
.form .req{color:var(--muted);font-size:.8rem}
.form input,.form textarea{width:100%;padding:11px 12px;border:1px solid #999;border-radius:10px;font:inherit;background:#fff}
.form textarea{min-height:130px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form .hp{position:absolute;left:-9999px}
.form .btn{margin-top:18px}
.form .msg{margin-top:14px;padding:10px 12px;border-radius:8px}
.form .msg.ok{background:#e6efe9}
.form .msg.err{background:#efd3cf}
@media (max-width:600px){.form .row{grid-template-columns:1fr}}

/* directors */
.directors{max-width:620px;margin:0 auto}
.directors li{font-family:var(--head);font-size:1.5rem;list-style:none;margin:0 0 22px}
.directors ul{padding:0}
.directors span{display:block;font-family:var(--body);font-size:1rem;color:var(--muted)}

/* footer */
.site-footer{padding:50px 0 40px;border-top:1px solid #eee}
.site-footer .wrap{display:grid;grid-template-columns:2fr 1fr 1.3fr;gap:30px}
.site-footer .name{font-family:var(--head);font-size:2rem;color:var(--blue);margin:0 0 14px}
.site-footer h4{font-family:var(--head);font-weight:400;font-size:1.2rem;margin:6px 0 12px}
.site-footer p{margin:0 0 8px;font-size:.9rem}
@media (max-width:800px){.site-footer .wrap{grid-template-columns:1fr}}
