/* Website Created by KV Marketing Solutions */


/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
ul {
    margin: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}


/* Main Styling */
:root {
    --primary-color: #8C0203;
    --primary-dark: #650102;
    --font-main: Arial, sans-serif;
    --border-radius: 7px;
    --text-color: #171717;
    --muted-color: #606060;
    --surface-color: #F0EEEC;
    --border-color: #D9D5D0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    color: var(--text-color);
    background-color: #FFFFFF;
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    margin-bottom: 14px;
    font-size: 1.4rem;
}

p {
    margin-bottom: 20px;
}

h2 span,
.text-link {
    color: var(--primary-color);
}

a {
    color: inherit;
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid #167AB8;
    outline-offset: 4px;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding-block: 64px;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading p {
    color: var(--muted-color);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    color: #FFFFFF;
    background-color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: var(--primary-dark);
}

.button-small {
    padding: 10px 14px;
    font-size: 0.75rem;
}

.button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px;
    color: var(--text-color);
    background-color: #FFFFFF;
}

.skip-link:focus {
    top: 10px;
}


/* Main Header */
.site-header {
    padding-top: 16px;
    color: #FFFFFF;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38)),
        url("./img/hero.jpg");
    background-position: center;
    background-size: cover;
}


/* Navigation */
.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-radius: var(--border-radius);
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.95);
}

.logo {
    display: grid;
    color: var(--text-color);
    text-decoration: none;
}

.logo > span {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.logo small {
    margin-top: 5px;
    font-size: 0.55rem;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.menu-toggle {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    background-color: transparent;
    font-size: 0.85rem;
}

.menu-toggle span {
    margin-left: 10px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 0;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 10px;
    font-size: 0.8rem;
    text-decoration: none;
}

.nav-links a:not(.button):hover {
    color: var(--primary-color);
}

/* Without JavaScript, navigation stays visible. */
.js .nav-links:not(.is-open) {
    display: none;
}


/* Hero */
.hero {
    display: grid;
    align-items: center;
    gap: 40px;
    padding-block: 48px;
}

.hero-copy {
    max-width: 650px;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 510px;
    color: #EFEFEF;
    font-size: 1.05rem;
}

.hero-copy .eyebrow {
    color: #F1C4BF;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-block: 26px;
    padding: 0;
    list-style: none;
    font-size: 0.75rem;
}

.hero-benefits li::before {
    content: "\2713";
    margin-right: 6px;
    color: #ffffff;
}


/* Booking Forms */
.booking-card {
    width: 100%;
    max-width: 420px;
    padding: 28px;
    border-radius: var(--border-radius);
    color: var(--text-color);
    background-color: var(--surface-color);
}

.booking-card h2 {
    font-size: 2rem;
}

.booking-card > p {
    color: var(--muted-color);
    font-size: 0.85rem;
}

form {
    display: grid;
    gap: 16px;
}

.form-field {
    display: grid;
    align-content: start;
    gap: 5px;
}

.name-fields {
    display: grid;
    gap: 16px;
}

label {
    font-size: 0.75rem;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    background-color: #FFFFFF;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.optional {
    color: var(--muted-color);
    font-weight: normal;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.7rem;
    font-weight: normal;
}

.consent input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    min-height: 0;
    margin: 3px 0 0;
    accent-color: var(--primary-color);
}

form .button {
    width: 100%;
}

.honeypot {
    display: none;
}

.form-status {
    margin: 0;
    font-size: 0.85rem;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    color: #155B30;
}

.form-status.error {
    color: #8C0203;
}


/* Martial Arts Offered */
.disciplines {
    padding-block: 24px;
    border-bottom: 1px solid var(--border-color);
}

.discipline-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    color: #73716D;
    font-family: Georgia, serif;
    text-align: center;
}

.discipline-list p {
    margin: 0;
}


/* Programs Offered */
.program-grid {
    display: grid;
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 340px;
    padding: 28px;
    overflow: hidden;
    border-radius: var(--border-radius);
    color: #FFFFFF;
    background-color: #222222;
    background-position: center;
    background-size: cover;
}

.card-child {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35)),
        url("./img/child-card.jpg");
}

.card-teen {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35)),
        url("./img/teen-card.jpg");
}

.card-adult {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35)),
        url("./img/adult-card.jpg");
}

.card p {
    max-width: 280px;
    font-size: 0.9rem;
}


/* Main CTA Break */
.cta-section {
    padding-block: 32px;
    color: #FFFFFF;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5)),
        url("./img/cta.jpg");
    background-position: center;
    background-size: cover;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.cta-content h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}


/* About Section */
.split {
    display: grid;
    align-items: center;
    gap: 40px;
}

.about-copy,
.contact-copy {
    max-width: 490px;
}

.about-copy p:not(.eyebrow),
.contact-copy p {
    color: var(--muted-color);
}

.about-image {
    width: 100%;
    max-height: 540px;
    border-radius: var(--border-radius);
    object-fit: cover;
}


/* Schedule */
.schedule-section {
    background-color: #FAF9F7;
}

.schedule-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 40px 24px;
    border-radius: 16px;
    background-color: #E6E3DF;
    text-align: center;
}

.schedule-placeholder p {
    max-width: 450px;
    color: var(--muted-color);
}


/* Instructors */
.instructor-grid {
    display: grid;
    gap: 16px;
}

.instructor-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: #DED8D1;
}

.instructor-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: top 30%;
}

.instructor-info {
    padding: 22px;
    background-color: var(--surface-color);
}

.instructor-info h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.instructor-info p {
    margin: 0;
    color: var(--muted-color);
    font-size: 0.85rem;
}


/* Contact Us */
.contact-section {
    background-color: #FAF9F7;
}

.contact-section .booking-card {
    justify-self: center;
}


/* Special Needs Page */
.special-header {
    background-position: center;
}

.special-hero-image {
    width: 100%;
    max-height: 500px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.feature-grid {
    display: grid;
    gap: 24px;
}

.feature {
    padding: 28px;
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    background-color: var(--surface-color);
}

.feature .eyebrow {
    color: var(--primary-color);
}

.feature p:last-child {
    margin: 0;
    color: var(--muted-color);
}

.check-list {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    padding-left: 22px;
}

.check-list li::marker {
    color: var(--primary-color);
}

.small-print {
    color: var(--muted-color);
    font-size: 0.8rem;
}

.faq {
    max-width: 800px;
    margin-inline: auto;
}

.faq details {
    padding-block: 22px;
    border-bottom: 1px solid var(--border-color);
}

.faq summary {
    min-height: 30px;
    font-weight: bold;
    cursor: pointer;
}

.faq p {
    margin: 16px 0 0;
    color: var(--muted-color);
}


/* Footer */
.site-footer {
    padding-block: 44px;
    color: #FFFFFF;
    background-color: #353535;
}

.footer-content {
    display: grid;
    gap: 20px;
}

.footer-brand {
    font-weight: bold;
    text-decoration: none;
}

.site-footer p {
    margin: 10px 0 0;
    color: #D6D6D6;
    font-size: 0.8rem;
}


/* Tablet Layout - Base Styles Above Are for Mobile */
@media (min-width: 600px) {
    .container {
        width: min(1160px, calc(100% - 64px));
    }

    .section {
        padding-block: 80px;
    }

    .discipline-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .name-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .instructor-featured {
        grid-column: 1 / -1;
    }

    .instructor-featured img {
        height: 380px;
    }

    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature {
        padding: 24px;
    }
}


/* Desktop Layout */
@media (min-width: 960px) {
    .site-nav {
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: none;
    }

    .nav-links,
    .js .nav-links:not(.is-open) {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: auto;
    }

    .hero {
        grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.9fr);
        gap: 64px;
        padding-block: 64px;
    }

    .hero .booking-card {
        justify-self: end;
    }

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

    .card {
        min-height: 360px;
    }

    .cta-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 80px;
    }

    .about-copy,
    .contact-copy {
        justify-self: center;
    }

    .instructor-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: repeat(3, minmax(250px, auto));
        gap: 12px;
    }

    .instructor-card {
        position: relative;
    }

    .instructor-featured {
        grid-column: 1;
        grid-row: 1 / 4;
    }

    .instructor-card img {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .instructor-info {
        position: relative;
        margin-top: 100px;
        padding: 50px 18px 18px;
        color: #FFFFFF;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.94));
    }

    .instructor-featured .instructor-info {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        margin-top: 0;
        padding: 70px 28px 28px;
    }

    .instructor-info p {
        color: #F0F0F0;
    }

    .instructor-featured h3 {
        font-size: 1.7rem;
    }

    .contact-section .booking-card {
        justify-self: end;
    }

    .footer-content {
        grid-template-columns: 1fr auto;
    }

    .footer-content > div:last-child {
        text-align: right;
    }
}


/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}

