/* ===============================
   RESET
================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#ffffff;

    color:#222;

    line-height:1.6;

}


/* ===============================
   LINK
================================== */

a{

    text-decoration:none;

    color:inherit;

}


/* ===============================
   HEADER
================================== */

header{

    position:sticky;

    top:0;

    z-index:999;

    background:#071B36;

    color:white;

    display:flex;

    flex-wrap:wrap;

    row-gap:12px;

    justify-content:space-between;

    align-items:center;

    padding:18px 40px;

    box-shadow:0 3px 12px rgba(0,0,0,.15);

}


/* ===============================
   LOGO
================================== */

.logo{

    font-family:'Oswald',sans-serif;

    font-size:34px;

    font-weight:600;

    color:#D8B45A;

}

.logo a{

    display:flex;

    align-items:center;

    gap:10px;

}

.logo-img{

    height:46px;

    width:46px;

    border-radius:50%;

    flex-shrink:0;

}


/* ===============================
   MENU
================================== */

nav ul{

    list-style:none;

    display:flex;

    flex-wrap:wrap;

    row-gap:10px;

    gap:20px;

}


nav li{

    font-size:16px;

    white-space:nowrap;

}


nav a{

    color:white;

    transition:.3s;

}


nav a.member-link{

    color:#D8B45A;

}


nav a.member-link:hover{

    color:#E9C56D;

}


.nav-dropdown{
    position:relative;
}

.nav-dropdown-menu{
    display:none;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-dropdown-menu.open{
    display:block;
}

@media(min-width:901px){

    .nav-dropdown-menu{
        position:absolute;
        top:100%;
        right:0;
        background:#071B36;
        border:1px solid rgba(255,255,255,.15);
        border-radius:8px;
        padding:10px 0;
        min-width:180px;
        box-shadow:0 10px 25px rgba(0,0,0,.25);
        z-index:1000;
    }

    .nav-dropdown-menu li{
        white-space:nowrap;
    }

    .nav-dropdown-menu li a{
        display:block;
        padding:8px 18px;
        font-size:15px;
    }

}

@media(max-width:900px){

    .nav-dropdown-menu{
        padding-left:16px;
        margin-top:10px;
    }

    .nav-dropdown-menu li{
        margin-top:14px;
    }

}


nav a:hover{

    color:#D8B45A;

}


/* ===============================
   BUTTONS
================================== */

.header-buttons{

    display:flex;

    gap:12px;

}


.btn-outline{

    border:2px solid white;

    padding:10px 20px;

    border-radius:30px;

    transition:.3s;

}


.btn-outline:hover{

    background:white;

    color:#071B36;

}


.admin-link{

    color:rgba(255,255,255,0.55);

    font-size:13px;

    text-decoration:underline;

}


.admin-link:hover{

    color:rgba(255,255,255,0.9);

}


.btn-gold{

    background:#D8B45A;

    color:#071B36;

    padding:10px 22px;

    border-radius:30px;

    font-weight:600;

    transition:.3s;

}


.btn-gold:hover{

    background:#E9C56D;

}


/* ===============================
   MAIN
================================== */

main{

    min-height:700px;

}


/* ===============================
   SECTION
================================== */

section{

    padding:80px 8%;

}


.container{

    max-width:1300px;

    margin:auto;

}


/* ===============================
   TITLE
================================== */

h1{

    font-family:'Oswald';

    font-size:60px;

    margin-bottom:20px;

}


h2{

    font-family:'Oswald';

    font-size:42px;

    color:#071B36;

    margin-bottom:20px;

}


h3{

    font-family:'Oswald';

    font-size:28px;

}


/* ===============================
   PARAGRAPH
================================== */

p{

    font-size:18px;

    color:#555;

}


/* ===============================
   CARD
================================== */

.card{

    background:white;

    border-radius:15px;

    padding:30px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}


.card:hover{

    transform:translateY(-8px);

}


.card-image{

    display:block;

    width:calc(100% + 60px);

    height:200px;

    object-fit:cover;

    border-radius:10px 10px 0 0;

    margin:-30px -30px 20px;

}

.store-card-image{

    display:block;

    width:calc(100% + 60px);

    height:220px;

    object-fit:contain;

    background:#f6f7fb;

    border-radius:10px 10px 0 0;

    margin:-30px -30px 20px;

}


.camp-card{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:30px;
}

.camp-card-text{
    flex:1 1 280px;
}

.camp-card-text p{
    white-space:pre-line;
}

.camp-card-photo{
    flex:1 1 280px;
}

.camp-card-photo img{
    display:block;
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
}


/* ===============================
   ADMIN FORM INPUTS (inside .card)
================================== */

form .card h3{

    margin-top:20px;

    margin-bottom:6px;

    font-size:15px;

}

.card input[type=text],
.card input[type=email],
.card input[type=tel],
.card input[type=date],
.card input[type=number],
.card input[type=password],
.card input:not([type]),
.card textarea,
.card select{

    display:block;

    width:100%;

    padding:12px 14px;

    margin:6px 0 14px 0;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:15px;

    font-family:inherit;

    box-sizing:border-box;

    background:#fff;

    color:#222;

}

.card textarea{

    resize:vertical;

    min-height:100px;

}

.card input:focus,
.card textarea:focus,
.card select:focus{

    outline:none;

    border-color:#D8B45A;

    box-shadow:0 0 0 3px rgba(216,180,90,.25);

}


/* ===============================
   BUTTON
================================== */

.button{

    display:inline-block;

    margin-top:25px;

    padding:15px 35px;

    background:#D8B45A;

    color:#071B36;

    border-radius:35px;

    font-weight:bold;

}


.button:hover{

    background:#E6C46D;

}


/* ===============================
   FOOTER
================================== */

footer{

    background:#071B36;

    color:white;

    margin-top:80px;

}


.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    max-width:1300px;

    margin:auto;

    padding:60px 40px;

}


footer h3{

    color:#D8B45A;

    margin-bottom:15px;

}


footer ul{

    list-style:none;

}


footer li{

    margin-bottom:10px;

}


footer a:hover{

    color:#D8B45A;

}


.social-icons{

    display:flex;

    gap:12px;

    margin-top:15px;

}

.social-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:38px;

    height:38px;

    border-radius:50%;

    background:rgba(255,255,255,.1);

    color:white;

    transition:.3s;

}

.social-icon:hover{

    background:#D8B45A;

    color:#071B36;

}


.copyright{

    border-top:1px solid rgba(255,255,255,.2);

    text-align:center;

    padding:20px;

    font-size:14px;

}


/* ===============================
   MOBILE
================================== */

@media(max-width:900px){

header{

    padding:16px 20px;

    flex-wrap:nowrap;

}

.logo{

    font-size:18px;

}

.logo a{

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

.logo-img{

    height:34px;

    width:34px;

}

.header-buttons{

    display:none;

}

.footer-container{

    grid-template-columns:1fr;

    text-align:center;

}

h1{

    font-size:42px;

}

}

.hero{
    position:relative;
    overflow:hidden;
    min-height:70vh;
    background:url("/static/images/hero.jpg") center center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-video{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    min-width:100%;
    min-height:100%;
    width:auto;
    height:auto;
    z-index:0;
    object-fit:cover;
}

.hero-overlay{
    position:relative;
    z-index:1;
    background:rgba(0,0,0,.45);
    color:white;
    width:100%;
    height:100%;
    padding:60px 20px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero h1{
    color:white;
    font-size:72px;
    letter-spacing:2px;
}

.hero p{
    color:white;
    font-size:24px;
    margin:25px 0;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.gray{
    background:#f6f7fb;
}

.program-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:40px;
}

.events-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,360px));
    justify-content:start;
    gap:30px;
    margin-top:40px;
}

.program-grid-4{
    grid-template-columns:repeat(4,1fr);
}

@media(max-width:900px){
    .program-grid-4{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .program-grid-4{
        grid-template-columns:1fr;
    }
}

.program-grid-2{
    grid-template-columns:repeat(2,1fr);
}

@media(max-width:480px){
    .program-grid-2{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){
    .portal-grid .card-calendar{order:1;}
    .portal-grid .card-schedule{order:2;}
    .portal-grid .card-gear{order:3;}
    .portal-grid .card-curriculum{order:4;}
    .portal-grid .card-blackbelt{order:5;}
    .portal-grid .card-belttying{order:6;}
    .portal-grid .card-korean{order:7;}
    .portal-grid .card-store{order:8;}
}

/* ===============================
   MEMBER CALENDAR FEED
================================== */

.cal-feed{
    margin-top:30px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 12px rgba(0,0,0,0.1);
}

.cal-month-header{
    background:#071B36;
    color:#D8B45A;
    font-weight:700;
    font-size:1.05em;
    padding:12px 16px;
}

.cal-row{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    background:#fff;
    border-bottom:1px solid #eee;
}

.cal-row:nth-child(even){
    background:#f6f7fb;
}

.cal-row summary{
    display:flex;
    align-items:center;
    gap:14px;
    list-style:none;
    cursor:pointer;
}

.cal-row summary::-webkit-details-marker{
    display:none;
}

details.cal-row{
    display:block;
    padding:0;
}

details.cal-row summary{
    padding:14px 16px;
}

.cal-icon{
    width:44px;
    height:44px;
    min-width:44px;
    border-radius:8px;
    background:#071B36;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.cal-row-main{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.cal-row-title{
    font-weight:700;
    color:#222;
}

.cal-row-date{
    font-size:0.85em;
    color:#777;
}

.cal-chevron{
    color:#aaa;
    font-size:1.4em;
    transition:transform .2s;
}

details.cal-row[open] .cal-chevron{
    transform:rotate(90deg);
}

.cal-row-body{
    padding:0 16px 16px 74px;
    color:#444;
    white-space:pre-line;
}

/* ===============================
   MEMBER MOBILE TAB BAR
================================== */

.member-tabbar{
    display:none;
}

.tab-more-menu{
    display:none;
}

@media(max-width:900px){

    body.has-member-tabbar{
        padding-bottom:64px;
    }

    .member-tabbar{
        display:flex;
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        z-index:998;
        background:#071B36;
        border-top:1px solid rgba(255,255,255,0.1);
    }

    .member-tabbar .tab-item{
        flex:1;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:2px;
        padding:8px 2px;
        color:#9aa5b8;
        font-size:11px;
        text-align:center;
        background:none;
        border:none;
        font-family:inherit;
        cursor:pointer;
    }

    .member-tabbar .tab-item .tab-icon{
        font-size:19px;
        line-height:1;
    }

    .member-tabbar .tab-item.active{
        color:#D8B45A;
    }

    .tab-more-menu{
        position:fixed;
        left:0;
        right:0;
        bottom:64px;
        z-index:997;
        background:#fff;
        box-shadow:0 -4px 16px rgba(0,0,0,0.15);
        border-radius:12px 12px 0 0;
        overflow:hidden;
    }

    .tab-more-menu.open{
        display:block;
    }

    .tab-more-menu a{
        display:block;
        padding:14px 20px;
        border-bottom:1px solid #eee;
        color:#222;
        font-weight:600;
    }

    .tab-more-menu a:last-child{
        border-bottom:none;
    }
}

/* ===============================
   WEEKLY CLASS SCHEDULE (category tables)
================================== */

.schedule-category{
    margin-top:26px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 12px rgba(0,0,0,0.1);
    border:2px solid;
}

.schedule-category-header{
    padding:10px 16px;
    font-weight:700;
    font-size:1.1em;
    text-align:center;
}

.schedule-category-wrap{
    overflow-x:auto;
}

.schedule-category table{
    width:100%;
    min-width:600px;
    border-collapse:collapse;
    text-align:center;
    background:#fff;
}

.schedule-category th{
    padding:8px 6px;
    font-size:0.85em;
    border:1px solid #eee;
    background:#fafafa;
}

.schedule-category td{
    padding:8px 6px;
    font-size:0.85em;
    border:1px solid #eee;
    color:#333;
}

.schedule-category td:first-child{
    text-align:center;
    font-weight:700;
    background:#fafafa;
}

/* ===============================
   GEAR / EVENT CALENDAR (year grid)
================================== */

.gear-cal-tracks{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:20px 0;
}

.gear-cal-tracks a{
    padding:8px 16px;
    border-radius:20px;
    background:#eee;
    color:#333;
    font-weight:600;
    font-size:0.9em;
}

.gear-cal-tracks a.active{
    background:#071B36;
    color:#D8B45A;
}

.gear-cal-legend{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:16px 0 24px;
    font-size:0.85em;
}

.gear-cal-legend-item{
    display:flex;
    align-items:center;
    gap:6px;
}

.gear-cal-swatch{
    width:18px;
    height:18px;
    border-radius:3px;
    display:inline-block;
    flex-shrink:0;
}

.gear-cal-months{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
    margin-top:10px;
}

.gear-cal-month{
    border:1px solid #ddd;
    border-radius:8px;
    overflow:hidden;
}

.gear-cal-month-title{
    background:#071B36;
    color:#D8B45A;
    text-align:center;
    font-weight:700;
    padding:8px;
}

.gear-cal-month table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

.gear-cal-month th{
    font-size:0.7em;
    padding:4px 2px;
    background:#fafafa;
    color:#666;
}

.gear-cal-month td{
    height:40px;
    text-align:center;
    vertical-align:middle;
    font-size:0.78em;
    border:1px solid #eee;
    position:relative;
}

.gear-cal-month td.has-fill{
    font-weight:700;
}

.gear-cal-day-label{
    display:block;
    font-size:0.7em;
    font-weight:400;
    line-height:1;
}

.gear-cal-footnotes{
    padding:8px 12px 12px;
    font-size:0.8em;
    color:#444;
    line-height:1.6;
}

/* ===============================
   ADD TO HOME SCREEN BUTTONS
================================== */

.add-home-buttons{
    display:flex;
    justify-content:center;
    gap:13px;
    margin:0 0 30px;
    flex-wrap:nowrap;
}

.add-home-btn{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    padding:11px 18px;
    border-radius:10px;
    background:#071B36;
    color:#fff;
    border:none;
    font-family:inherit;
    font-size:0.64em;
    font-weight:600;
    text-align:center;
    line-height:1.4;
    cursor:pointer;
    transition:.2s;
    flex:0 1 auto;
}

.add-home-btn:hover{
    background:#0f2c54;
}

.add-home-btn .icon{
    font-size:22px;
    line-height:1;
}

/* ===============================
   HOME PAGE POPUP
================================== */

.home-popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2000;
    padding:20px;
}

.home-popup-box{
    background:#fff;
    border-radius:14px;
    max-width:440px;
    width:100%;
    padding:32px 28px 28px;
    text-align:center;
    position:relative;
    max-height:90vh;
    overflow-y:auto;
}

.home-popup-close{
    position:absolute;
    top:10px;
    right:14px;
    background:none;
    border:none;
    font-size:28px;
    line-height:1;
    color:#888;
    cursor:pointer;
}

.home-popup-close:hover{
    color:#222;
}

.home-popup-image{
    width:100%;
    border-radius:10px;
    margin-bottom:16px;
    display:block;
}

.home-popup-box h2{
    color:#071B36;
    font-family:'Oswald',sans-serif;
    font-size:26px;
    margin-bottom:10px;
}

.home-popup-box p{
    color:#444;
    line-height:1.6;
    margin-bottom:18px;
    white-space:pre-line;
}

.home-popup-btn{
    display:inline-block;
    background:#D8B45A;
    color:#071B36;
    font-weight:700;
    padding:12px 26px;
    border-radius:30px;
}

.home-popup-btn:hover{
    background:#E9C56D;
}

/* ===============================
   ADMIN DASHBOARD TABS
================================== */

.admin-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    border-bottom:2px solid #eee;
    margin-bottom:24px;
}

.admin-tab-btn{
    background:none;
    border:none;
    font-family:inherit;
    font-size:15px;
    font-weight:600;
    color:#888;
    padding:10px 18px;
    cursor:pointer;
    border-bottom:3px solid transparent;
    margin-bottom:-2px;
}

.admin-tab-btn:hover{
    color:#071B36;
}

.admin-tab-btn.active{
    color:#071B36;
    border-bottom-color:#D8B45A;
}

.admin-tab-panel{
    display:none;
}

.admin-tab-panel.active{
    display:block;
}

/* ===============================
   ADMIN NOTICE PILLS (Needs Attention)
================================== */

.notice-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.notice-pill{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:20px;
    padding:8px 16px;
    font-size:13px;
    font-weight:600;
    color:#333;
    white-space:nowrap;
    transition:.2s;
}

.notice-pill:hover{
    border-color:#D8B45A;
    background:#fdfaf2;
}

.notice-badge{
    background:#d9534f;
    color:#fff;
    font-size:11px;
    font-weight:700;
    border-radius:10px;
    padding:1px 7px;
}

.school-card{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.school-logo{
    width:28px;
    height:28px;
    object-fit:contain;
    border-radius:4px;
    flex-shrink:0;
}

.split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.split img{
    width:100%;
    height:360px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.cta{
    background:#071B36;
    color:white;
    text-align:center;
}

.cta h2{
    color:#D8B45A;
}

.cta p{
    color:white;
    margin-bottom:25px;
}

@media(max-width:900px){

.split{
    grid-template-columns:1fr;
}

.hero h1{
    font-size:42px;
}

.hero p{
    font-size:18px;
}

.hero-buttons{
    flex-direction:column;
}
}

.page-title{

    background:#071B36;
    color:white;
    text-align:center;
    padding:40px 20px;

}

.page-title h1{

    color:#D8B45A;
    font-size:42px;

}

.page-title p{

    color:white;
    font-size:18px;
    margin-top:8px;

}

.page-title-camp{
    background:#D9720C;
}

.page-title-camp h1{
    color:#ffffff;
}

.page-title-afterschool{
    background:#1F5FA8;
}

.page-title-afterschool h1{
    color:#ffffff;
}

.page-title-birthday{
    background:#B5306F;
}

.page-title-birthday h1{
    color:#ffffff;
}

.page-title-events{
    background:#1E8449;
}

.page-title-events h1{
    color:#ffffff;
}

@media(max-width:900px){

.page-title{
    padding:20px 20px;
}

.page-title h1{
    font-size:26px;
}

.page-title p{
    font-size:14px;
}

}

.class-section{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;

}

.class-section img{

    width:100%;
    height:360px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);

}

.class-image img{

    width:100%;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);

}

.class-content ul{

    margin:30px 0;
    padding-left:20px;

}

.class-content li{

    margin:12px 0;
    font-size:18px;

}

.reverse{

    direction:rtl;

}

.reverse .class-content{

    direction:ltr;

}

.reverse .class-image{

    direction:ltr;

}

@media(max-width:900px){

.class-section{

grid-template-columns:1fr;

}

.reverse{

direction:ltr;

}

}

.schedule-table{

width:100%;

border-collapse:collapse;

margin-top:40px;

}

.schedule-table th{

background:#071B36;

color:white;

padding:15px;

}

.schedule-table td{

padding:15px;

border:1px solid #ddd;

text-align:center;

}

.schedule-table tr:nth-child(even){

background:#f8f8f8;

}

.gallery{

position:relative;

margin-top:40px;

}

.gallery-track{

display:flex;

gap:20px;

overflow-x:auto;

scroll-snap-type:x mandatory;

scroll-behavior:smooth;

padding-bottom:10px;

-webkit-overflow-scrolling:touch;

}

.gallery-track::-webkit-scrollbar{

height:6px;

}

.gallery-track::-webkit-scrollbar-thumb{

background:#D8B45A;

border-radius:10px;

}

.gallery-track img{

flex:0 0 300px;

width:300px;

height:250px;

object-fit:cover;

border-radius:15px;

box-shadow:0 8px 20px rgba(0,0,0,.15);

transition:.3s;

scroll-snap-align:start;

}

.gallery-track img:hover{

transform:scale(1.03);

}

.gallery-nav{

position:absolute;

top:50%;

transform:translateY(-50%);

width:42px;

height:42px;

border-radius:50%;

border:none;

background:#071B36;

color:#fff;

font-size:18px;

cursor:pointer;

z-index:2;

display:flex;

align-items:center;

justify-content:center;

box-shadow:0 4px 10px rgba(0,0,0,.2);

}

.gallery-nav:hover{

background:#D8B45A;

color:#071B36;

}

.gallery-prev{

left:-18px;

}

.gallery-next{

right:-18px;

}

@media(max-width:600px){

.gallery-track img{

flex-basis:220px;

width:220px;

height:180px;

}

.gallery-nav{

width:34px;

height:34px;

font-size:14px;

}

}

.faq{

max-width:900px;

margin:auto;

}

.faq h3{

margin-top:30px;

color:#071B36;

}

.faq p{

margin-top:10px;

margin-bottom:25px;

}

.faq ul{

margin-top:10px;

margin-bottom:25px;

padding-left:20px;

}

.faq ul li{

margin-bottom:6px;

}

@media(max-width:900px){

.schedule-table{

font-size:14px;

}

}


/* ===============================
   MOBILE NAV
================================== */

#nav-toggle{

    display:none;

    flex-direction:column;

    justify-content:space-between;

    width:26px;

    height:18px;

    background:none;

    border:none;

    cursor:pointer;

    padding:0;

    z-index:1001;

}

#nav-toggle span{

    display:block;

    width:100%;

    height:3px;

    background:white;

    border-radius:2px;

}

#site-nav ul li a{

    font-family:'Oswald',sans-serif;

    font-size:20px;

}

@media(max-width:900px){

#nav-toggle{

    display:flex;

}

#site-nav{

    position:fixed;

    top:0;

    right:0;

    height:100vh;

    width:70%;

    max-width:300px;

    background:#071B36;

    transform:translateX(100%);

    transition:transform .3s ease;

    z-index:1000;

    padding-top:100px;

    padding-bottom:30px;

    overflow-y:auto;

    box-shadow:-6px 0 20px rgba(0,0,0,.25);

}

#site-nav.open{

    transform:translateX(0);

}

#site-nav ul{

    flex-direction:column;

    align-items:flex-start;

    gap:26px;

    padding:0 32px;

}

}


.container{
    width:95%;
    max-width:1200px;
    margin:auto;
}

.table{
    width:100%;
    border-collapse:collapse;
}

.table th,
.table td{
    border:1px solid #ddd;
    padding:10px;
}

.table th{
    background:#f5f5f5;
}

.button{
    display:inline-block;
    padding:8px 14px;
    background:#0d6efd;
    color:white;
    text-decoration:none;
    border-radius:4px;
    margin-right:5px;
    border:none;
    font-family:inherit;
    font-size:14px;
    line-height:1.2;
    cursor:pointer;
    vertical-align:middle;
}

/* ===============================
   MOBILE SPACING TIGHTEN
================================== */

@media(max-width:900px){

section{
    padding:40px 5%;
}

h2{
    font-size:28px;
    margin-bottom:14px;
}

h3{
    font-size:20px;
}

p{
    font-size:16px;
}

.card{
    padding:20px;
}

.card-image{
    width:calc(100% + 40px);
    height:160px;
    margin:-20px -20px 16px;
}

.store-card-image{
    width:calc(100% + 40px);
    height:160px;
    margin:-20px -20px 16px;
}

.camp-card{
    gap:16px;
}

.camp-card-photo img{
    height:160px;
}

.program-grid{
    gap:16px;
    margin-top:24px;
}

.events-grid{
    gap:16px;
    margin-top:24px;
}

.split{
    gap:24px;
}

.split img{
    height:220px;
}

.class-section{
    gap:24px;
}

.class-section img{
    height:220px;
}

.class-content ul{
    margin:16px 0;
}

.class-content li{
    margin:8px 0;
    font-size:16px;
}

.schedule-table th,
.schedule-table td{
    padding:8px;
    font-size:13px;
}

.gallery{
    margin-top:20px;
}

.faq h3{
    margin-top:18px;
}

.faq p{
    margin-top:6px;
    margin-bottom:14px;
}

.faq ul{
    margin-top:6px;
    margin-bottom:14px;
}

.hero-overlay{
    padding:30px 16px;
}

.footer-container{
    padding:30px 20px;
    gap:30px;
}

}

/* ===============================
   BLACK BELT GUIDE SECTIONS
================================== */

.guide-section{
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 12px rgba(0,0,0,0.1);
    margin-top:20px;
}

.guide-section-header{
    background:#071B36;
    color:#D8B45A;
    font-weight:700;
    font-size:1.1em;
    padding:12px 20px;
}

.guide-section-body{
    background:#fff;
    padding:18px 20px;
    white-space:pre-line;
    line-height:1.6;
    color:#333;
}

/* ===============================
   GALLERY LIGHTBOX
================================== */

.gallery-track img{
    cursor:pointer;
}

.gallery-lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.9);
    z-index:3000;
    align-items:center;
    justify-content:center;
    padding:30px;
}

.gallery-lightbox.open{
    display:flex;
}

.gallery-lightbox img{
    max-width:100%;
    max-height:100%;
    border-radius:8px;
    box-shadow:0 10px 40px rgba(0,0,0,.5);
}

.gallery-lightbox-close{
    position:absolute;
    top:20px;
    right:30px;
    color:#fff;
    font-size:40px;
    line-height:1;
    cursor:pointer;
}

