/* =========================================
   SULLIVAN JKA KARATE & BALLET
   MAIN STYLESHEET
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   COLOURS
========================================= */

:root {

    --black: #080808;
    --dark-black: #111111;
    --red: #c40000;
    --bright-red: #e00000;
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --grey: #777777;
    --dark-grey: #222222;

}


/* =========================================
   GENERAL
========================================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading.light {
    color: #ffffff;
}

.eyebrow {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
}

.heading-line {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 20px auto 0;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background: var(--black);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--red);
}

.header-inner {
    width: 92%;
    max-width: 1300px;
    margin: 0 auto;

    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}

.logo-main {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-top: 7px;
    color: #cccccc;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--red);
}

.nav-button {
    background: var(--red);
    color: #ffffff !important;
    padding: 12px 18px;
}

.nav-button:hover {
    background: var(--bright-red);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 720px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.90),
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.25)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    position: relative;
    z-index: 2;

    color: #ffffff;
}

.hero-small {
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 800px;

    font-size: 64px;
    line-height: 1.05;
    font-weight: 900;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--red);
}

.hero-text {
    max-width: 620px;
    font-size: 19px;
    margin-bottom: 35px;
    color: #eeeeee;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-block;

    padding: 15px 28px;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;

    transition: 0.3s ease;
}

.btn-red {
    background: var(--red);
    color: #ffffff;
}

.btn-red:hover {
    background: var(--bright-red);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--black);
}


/* =========================================
   INTRODUCTION
========================================= */

.intro {
    background: #ffffff;
}

.intro-content {
    max-width: 850px;
    margin: 0 auto;

    text-align: center;

    font-size: 18px;
    color: #555555;
}

.intro-content p + p {
    margin-top: 20px;
}


/* =========================================
   PROGRAMMES
========================================= */

.programmes {
    background: var(--black);
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.programme-card {
    background: #ffffff;
}

.programme-image {
    height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #333333;
    color: #aaaaaa;
}

.image-placeholder {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.programme-content {
    padding: 35px;
}

.card-label {
    color: var(--red);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 10px;
}

.programme-content h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.programme-content p {
    color: #666666;
    margin-bottom: 20px;
}

.text-link {
    color: var(--red);
    font-weight: bold;
}

.text-link:hover {
    text-decoration: underline;
}


/* =========================================
   WHY US
========================================= */

.why-us {
    background: var(--light-grey);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    background: #ffffff;
    padding: 30px;
    border-top: 4px solid var(--red);
}

.feature-number {
    font-size: 14px;
    font-weight: bold;
    color: var(--red);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature p {
    font-size: 15px;
    color: #666666;
}


/* =========================================
   CTA
========================================= */

.cta {
    position: relative;

    padding: 100px 0;

    text-align: center;

    color: #ffffff;

    background:
        linear-gradient(
            rgba(0,0,0,0.80),
            rgba(0,0,0,0.80)
        ),
        url("images/cta.jpg");

    background-size: cover;
    background-position: center;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.cta p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #dddddd;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #050505;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;

    padding: 70px 0;
}

.footer-about h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-about p {
    color: #aaaaaa;
    margin-bottom: 8px;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 17px;
}

.footer-links a {
    display: block;
    color: #aaaaaa;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--red);
}

.footer-contact p {
    color: #aaaaaa;
    margin-bottom: 8px;
}

.footer-contact span {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #222222;
    padding: 20px 0;
}

.footer-bottom p {
    color: #777777;
    font-size: 13px;
    text-align: center;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .section {
        padding: 65px 0;
    }


    /* HEADER */

    .header-inner {
        min-height: 75px;
    }

    .main-nav {
        display: none;
    }

    .logo-main {
        font-size: 25px;
    }


    /* HERO */

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 17px;
    }


    /* HEADINGS */

    .section-heading h2 {
        font-size: 34px;
    }


    /* PROGRAMMES */

    .programme-grid {
        grid-template-columns: 1fr;
    }


    /* FEATURES */

    .features-grid {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta h2 {
        font-size: 36px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


@media (max-width: 480px) {

    .hero h1 {
        font-size: 36px;
    }

    .hero-small {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

}