:root {
    --cw-primary: #6DBD45;
    --cw-primary-dark: #4A9B2E;
    --cw-dark: #2C2C2C;
    --cw-light: #F8F9FA;
    --cw-white: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Inter", system-ui, sans-serif;
    color: var(--cw-dark);
    background: var(--cw-white);
}
h1, h2, h3, .navbar-brand { font-family: "Poppins", system-ui, sans-serif; }
a { color: var(--cw-primary-dark); text-decoration: none; }
a:hover { color: var(--cw-primary); }
.btn { border-radius: 8px; font-weight: 700; }
.btn-primary {
    --bs-btn-bg: var(--cw-primary);
    --bs-btn-border-color: var(--cw-primary);
    --bs-btn-hover-bg: var(--cw-primary-dark);
    --bs-btn-hover-border-color: var(--cw-primary-dark);
}

.site-navbar {
    padding: 1rem 0;
    background: rgba(255,255,255,.08);
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-navbar.scrolled, .site-navbar .navbar-collapse.show {
    background: rgba(44,44,44,.96);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.site-navbar.scrolled { padding: .65rem 0; }
.site-navbar .nav-link, .brand-text { color: #fff; font-weight: 700; }
.site-navbar .nav-link:hover { color: var(--cw-primary); }
.brand-logo { max-height: 46px; width: auto; }
.navbar-toggler { background: rgba(255,255,255,.92); }

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d5a1b 100%);
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.32));
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    animation: fadeInUp .9s ease both;
}
.hero-kicker { color: var(--cw-primary); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-content h1 { font-size: clamp(2.4rem, 8vw, 5.6rem); line-height: 1.02; margin-bottom: 1rem; }
.hero-lead { font-size: clamp(1.1rem, 2.6vw, 1.55rem); margin-bottom: 2rem; }
.hero-bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
    position: absolute;
    bottom: -80px;
    width: var(--size);
    height: var(--size);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    animation: bubbleRise var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.section { padding: 5.5rem 0; }
.section-light { background: var(--cw-light); }
.section-heading { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-heading span { color: var(--cw-primary-dark); font-weight: 800; text-transform: uppercase; font-size: .85rem; }
.section-heading h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: .45rem; }

.hours-card, .contact-panel, .contact-form, .price-card, .program-card, .empty-state {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
}
.hours-card { max-width: 780px; margin: 0 auto; overflow: hidden; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.hours-row:last-child { border-bottom: 0; }
.hours-row.is-today { background: rgba(109,189,69,.13); color: var(--cw-primary-dark); }

.price-card, .program-card { height: 100%; padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.price-card:hover, .program-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.price-card h3, .program-card h3 { font-size: 1.2rem; }
.price { color: var(--cw-primary-dark); font-size: 1.55rem; font-weight: 800; margin: .6rem 0; }
.program-number { font-family: "Poppins", system-ui, sans-serif; font-size: 3rem; line-height: 1; color: var(--cw-primary); font-weight: 800; }
.program-tool { font-weight: 800; color: var(--cw-primary-dark); }
.empty-state { padding: 2rem; text-align: center; font-weight: 700; }

.instruction-accordion .accordion-button { font-weight: 800; }
.instruction-accordion i { color: var(--cw-primary-dark); margin-right: .5rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { border: 0; padding: 0; background: transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.04); }

.map-frame { width: 100%; min-height: 430px; border: 0; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.08); }
.contact-panel, .contact-form { padding: 1.5rem; height: 100%; }
.form-control { border-radius: 8px; min-height: 48px; }
textarea.form-control { min-height: 150px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.88);
    padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: 78vh; border-radius: 8px; }
.lightbox p { position: absolute; bottom: 1.2rem; color: #fff; font-weight: 700; }
.lightbox button {
    position: absolute;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--cw-dark);
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.site-footer { background: var(--cw-dark); color: rgba(255,255,255,.78); padding: 3.5rem 0 1.5rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { display: block; color: rgba(255,255,255,.78); margin-bottom: .4rem; }
.site-footer a:hover { color: var(--cw-primary); }
.footer-logo { max-height: 42px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; }
.admin-link { font-size: .85rem; opacity: .65; }

.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bubbleRise {
    0% { transform: translateY(0) scale(.8); opacity: 0; }
    25% { opacity: .6; }
    100% { transform: translateY(-115vh) scale(1.3); opacity: 0; }
}

@media (max-width: 991px) {
    .site-navbar { background: rgba(44,44,44,.94); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .section { padding: 4rem 0; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hours-row { flex-direction: column; gap: .25rem; }
    .footer-bottom { flex-direction: column; }
}

.admin-body { background: #f3f5f7; }
.admin-stat, .admin-edit-card, .admin-table, .admin-gallery-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 12px 34px rgba(0,0,0,.06);
}
.admin-stat span { display: block; color: #667085; font-weight: 700; }
.admin-stat strong { display: block; font-size: 2.4rem; color: var(--cw-primary-dark); }
.admin-edit-card { margin-bottom: 1rem; }
.admin-edit-card h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.admin-gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1a1a1a, #2d5a1b);
    padding: 1rem;
}
.login-card {
    width: min(100%, 430px);
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.login-card h1 { font-size: 1.7rem; margin-bottom: 1.5rem; }
