/* ==========================================================================
   Supreme Taekwondo Studio — Brand Theme
   Palette: Navy #1E4FA8 · Red #B71C1C · Black · White · Gold #D4AF37
   ========================================================================== */
:root {
    --primary-blue: #1E4FA8;
    --primary-blue-dark: #163C80;
    --primary-red: #B71C1C;
    --primary-red-dark: #8E1212;
    --black: #000000;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --light-gray: #F5F5F5;
    --text-dark: #1a1a1a;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; }

a { text-decoration: none; }

.section-heading {
    color: var(--primary-blue);
    font-weight: 800;
    position: relative;
    margin-bottom: 1.5rem;
}
.section-heading::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    background: var(--gold);
    margin-top: .6rem;
    border-radius: 2px;
}
.text-center .section-heading::after { margin-left: auto; margin-right: auto; }

.eyebrow {
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn-primary {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
    font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    color: #fff;
}
.btn-secondary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    font-weight: 600;
}
.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    color: #fff;
}
.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    font-weight: 700;
}
.btn-gold:hover { background: #c39e2c; color: #000; }
.btn-outline-light-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
}
.btn-outline-light-gold:hover { background: var(--gold); color: #000; }

/* ---- Header / Nav ------------------------------------------------------ */
.site-header {
    background: var(--black);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.site-header .navbar-brand {
    color: #fff;
    font-weight: 800;
    letter-spacing: .03em;
}
.site-header .navbar-brand .brand-accent { color: var(--gold); }
.site-header .navbar-brand .brand-logo {
    height: 48px;
    width: auto;
    display: block;
}
.site-header .nav-link {
    color: #fff !important;
    font-weight: 600;
    padding: .5rem 1rem !important;
    transition: color .2s ease;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--primary-red) !important; }
.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    background:
        linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
        radial-gradient(circle at 30% 20%, #20355e 0, #000 70%);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.hero .lead { font-size: 1.2rem; max-width: 620px; }
.page-hero {
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
        radial-gradient(circle at 70% 30%, #20355e 0, #000 75%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

/* ---- Sections ---------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.bg-light-gray { background: var(--light-gray); }
.bg-navy { background: var(--primary-blue); color: #fff; }
.bg-navy .section-heading { color: #fff; }
.bg-red { background: var(--primary-red); color: #fff; }

/* ---- Cards ------------------------------------------------------------- */
.feature-card {
    background: #fff;
    border: none;
    border-radius: .75rem;
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,0,0,.15); }
.feature-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: .75rem .75rem 0 0;
}
.icon-badge {
    width: 64px; height: 64px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary-blue);
    color: var(--gold);
    border-radius: 50%;
    font-size: 1.6rem;
}

/* ---- Stats / highlights ------------------------------------------------ */
.stat-box {
    background: var(--gold);
    color: var(--black);
    border-radius: .75rem;
    padding: 1.5rem;
    text-align: center;
}
.stat-box .stat-num { font-size: 2.4rem; font-weight: 800; line-height: 1; }

/* ---- Testimonials ------------------------------------------------------ */
.testimonial-card {
    background: #fff;
    border-left: 4px solid var(--gold);
    border-radius: .5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    padding: 1.75rem;
    height: 100%;
}
.testimonial-card .quote-mark { color: var(--gold); font-size: 2.4rem; line-height: 0; }

/* ---- Pricing ----------------------------------------------------------- */
.pricing-card {
    border: 2px solid #eee;
    border-radius: 1rem;
    background: #fff;
    padding: 2rem;
    height: 100%;
    transition: transform .25s ease, border-color .25s ease;
}
.pricing-card.featured {
    border-color: var(--gold);
    box-shadow: 0 14px 40px rgba(0,0,0,.12);
    transform: scale(1.03);
}
.pricing-card .price { font-size: 2.6rem; font-weight: 800; color: var(--primary-blue); }
.pricing-card .badge-featured {
    background: var(--gold); color: #000; font-weight: 700;
}

/* ---- Certifications ---------------------------------------------------- */
.cert-item {
    background: #fff;
    border-radius: .6rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    height: 100%;
}
.cert-item img { max-height: 90px; object-fit: contain; }
.cert-item .cert-icon { font-size: 2.4rem; color: var(--gold); }

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
    background: var(--black);
    color: #cfcfcf;
    padding: 3.5rem 0 1.5rem;
}
.site-footer h5 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #cfcfcf; transition: color .2s; }
.site-footer a:hover { color: var(--primary-red); }
.site-footer .social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff; margin-right: .5rem;
    font-size: 1.1rem;
}
.site-footer .social-icons a:hover { background: var(--primary-red); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; }

/* ---- Floating action buttons ------------------------------------------ */
.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-actions a {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
    transition: transform .2s ease;
}
.floating-actions a:hover { transform: scale(1.08); color: #fff; }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--primary-blue); }
.fab-call { display: none; } /* shown on mobile only */
@media (max-width: 991.98px) {
    .fab-call { display: flex; }
}

/* ---- Forms ------------------------------------------------------------- */
.form-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    padding: 2rem;
}
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 .2rem rgba(30,79,168,.2);
}

/* ---- Hero image (right column) ---------------------------------------- */
.hero-image {
    border-radius: 1rem;
    border: 3px solid var(--gold);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    max-height: 460px;
    width: 100%;
    object-fit: cover;
}
.hero-image-placeholder {
    border: 2px dashed rgba(212,175,55,.7);
    border-radius: 1rem;
    color: var(--gold);
    padding: 3.5rem 1.5rem;
    text-align: center;
}
.hero-image-placeholder i { font-size: 3.5rem; }

/* ---- Mid-page banner (before testimonials) ---------------------------- */
.home-banner {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
        radial-gradient(circle at 50% 30%, #20355e 0, #000 75%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5.5rem 0;
}
.home-banner h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }

/* ---- Gallery ----------------------------------------------------------- */
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: .6rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff;
    font-size: .85rem;
    padding: 1.5rem .75rem .6rem;
}
