html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    background-color: black;
    background-image: none;
    color: white;

    font-family: Arial, sans-serif;
    text-align: center;
    padding-top: 120px;
}

h1 {
    color: red;
    font-size: 50px;
}

p {
    font-size: 24px;
    color: white;
}
nav {
    background-color: red;
    padding: 15px;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 10px;
}

nav h2 {
    color: white;
}
h2 {
    color: white;
}

button {
    background-color: red;
    color: white;
    padding: 12px 25px;
    border: none;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background-color: darkred;
}
/* MOBILE VERSION */
@media (max-width: 600px) {

    nav {
        padding: 20px 10px;
    }

    nav h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    nav a {
        display: inline-block;
        font-size: 16px;
        margin: 5px 7px;
    }

    h1 {
        font-size: 38px;
        line-height: 1.15;
        margin: 40px 20px 15px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 16px;
        line-height: 1.6;
    }

    button {
        font-size: 16px;
        padding: 12px 24px;
    }
}
button {
    background-color: red;
    color: white;
    padding: 15px 35px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: darkred;
    transform: scale(1.05);
}
section {
    width: 80%;
    margin: 50px auto;
    padding: 20px;
}

section h2 {
    color: red;
    font-size: 36px;
}

section p {
    font-size: 20px;
    line-height: 1.8;
}
.hero{
background:
linear-gradient(rgba(0,0,0,0.65),
rgba(0,0,0,0.65)),
url("karatehomepage.jpeg");
    background-size: cover;
    background-position: center;
    height: 600px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-shadow: 2px 2px 10px black;
}
.hero h1{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 55px;
    color: #ff6b57;
    text-shadow: 3px 3px 10px black;
}

.hero-logo{
    width: 70px;
    height: 70px;
}
.hero h1{
    font-size: 55px;
    color: white;
    margin: 0;
    text-align: center;
}

.hero h2{
    font-size: 28px;
    color: white;
    margin-top: 20px;
}

.hero-logo{
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
}

.classes{
    width: 80%;
    margin: 60px auto;
}
.classes{
    width: 80%;
    margin: 60px auto;
}

.class-card{
    background: #222;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    border-left: 5px solid red;
}

.class-card h3{
    color: red;
}

.class-card p{
    color: white;
}
.class-container{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.class-card{
    flex: 1;
    min-width: 250px;
}
.logo {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 50%;
}
.hero-logo{
    width:70px;
    height:70px;
    border-radius:50%;
    vertical-align:middle;
    margin-right:15px;
}
.hero h1{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.stats{
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    background:#111;
    padding:60px 20px;
    text-align:center;
}

.stat h2{
    color:#ff3b3b;
    font-size:50px;
    margin-bottom:10px;
}

.stat p{
    color:white;
    font-size:20px;
}
.gallery{
    padding:70px 10%;
    background:#111;
    text-align:center;
}

.gallery h2{
    color:#ff3b3b;
    font-size:40px;
    margin-bottom:30px;
}

.gallery-container{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.gallery-container img{
    width:300px;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    transition:0.3s;
}

.gallery-container img:hover{
    transform:scale(1.05);
}
.contact{
    background:#1a1a1a;
    color:white;
    text-align:center;
    padding:70px 20px;
}

.contact h2{
    color:#ff3b3b;
    font-size:40px;
    margin-bottom:20px;
}

.contact button{
    background:#25D366;
    color:white;
    border:none;
    padding:15px 30px;
    border-radius:30px;
    font-size:18px;
    cursor:pointer;
    margin-top:20px;
}

.contact button:hover{
    background:#128C7E;
}
footer{
    background:#000;
    color:white;
    text-align:center;
    padding:25px;
}

footer a{
    color:#ff3b3b;
    text-decoration:none;
    margin:0 5px;
}

footer a:hover{
    color:white;
}
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #ff6b4a;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: white;
}
.register{
    padding:70px 20px;
    background:#f5f5f5;
    text-align:center;
}

.register h2{
    color:#d62828;
    margin-bottom:30px;
}

.register form{
    max-width:500px;
    margin:auto;
}

.register input,
.register select{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

.register button{
    width:100%;
    padding:15px;
    background:#d62828;
    color:white;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
}

.register button:hover{
    background:#a61e1e;
}
@media (max-width: 600px) {

    nav h2 {
        font-size: 20px;
    }

    nav a {
        display: block;
        margin: 8px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 18px;
    }

    section {
        width: 90%;
    }

    button {
        font-size: 16px;
        padding: 12px 25px;
    }
}
/* MOBILE PHONE FIX */
@media (max-width: 600px) {

    nav {
        padding: 15px 10px;
    }

    nav h2 {
        font-size: 22px;
        margin: 5px 0 15px;
    }

    nav a {
        font-size: 16px;
        margin: 5px 8px;
    }

    h1 {
        font-size: 42px;
        line-height: 1.1;
        margin: 40px 15px 20px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
        line-height: 1.6;
    }

    button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* ===== FINAL RESPONSIVE FIX ===== */

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background-color: #000 !important;
    background-image: none !important;
}


.hero,
section.hero {
    background-color: #111 !important;
    background-image: none !important;
}
/* Mobile */
@media (max-width: 768px) {

    body {
    background-image: none !important;
}

    .hero,
    section.hero {
        background-color: transparent !important;
        background-image: url("karatehomepage.jpeg") !important;
        background-size: cover !important;
        background-position: center top !important;
        min-height: 650px;
    }

    .hero h1 {
        font-size: 42px !important;
        line-height: 1.15 !important;
    }

    .hero p {
        font-size: 20px !important;
    }

    .hero-logo {
        width: 90px !important;
        height: 90px !important;
    }
}
/* ===== NEW HOME/NAV DESIGN ONLY ===== */

.main-nav {
    position: relative;
    width: 100%;
    background: red;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.nav-brand span {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.menu-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    display: none;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}


/* ===== HERO ===== */

.hero {
    background: #000 !important;
    padding: 0 !important;
    text-align: center;
}


/* IMAGE IS COMPLETELY SEPARATE */

.hero-image {
    width: 100%;
    background: #000;
    padding: 20px 5%;
}

.hero-image img {
    width: 100%;
    max-width: 1200px;
    height: 460px;
    object-fit: cover;
    display: flex;
    margin: auto;
    border-radius: 12px;
}


/* TEXT IS BELOW IMAGE */

.hero-content {
    background: #000;
    padding: 60px 20px 80px;
}

.hero-content .hero-logo {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: white !important;
    font-size: 58px !important;
    line-height: 1.15;
    margin: 0 auto 25px;
    max-width: 900px;
}

.hero-content p {
    color: white !important;
    font-size: 22px;
    margin-bottom: 35px;
}

.download-app-btn {
    display: inline-block;
    background: red;
    color: white !important;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 18px;
    margin-bottom: 30px;
}

.join-btn {
    display: inline-block;
    background: red;
    color: white !important;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 18px;
    margin-bottom: 30px;
}


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

@media (max-width: 768px) {

    .main-nav {
        padding: 10px 15px;
    }

    .nav-brand img {
        width: 45px;
        height: 45px;
    }

    .nav-brand span {
        font-size: 17px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 15px;
        width: 210px;
        background: #111;
        flex-direction: column;
        gap: 0;
        border-radius: 0 0 10px 10px;
        overflow: hidden;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid #333;
    }

    .hero-image {
        padding: 12px;
    }

    .hero-image img {
        height: 220px;
        border-radius: 10px;
    }

    .hero-content {
        padding: 45px 15px 65px;
    }

    .hero-content .hero-logo {
        width: 75px !important;
        height: 75px !important;
    }

    .hero-content h1 {
        font-size: 40px !important;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.5;
    }
}
/* Fix Join Now and About Us spacing */

.hero button {
    margin: 20px auto 40px;
    display: block;
}

#about,
.about {
    margin-top: 140px;
}
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #222;
    display: block;
}
.gallery-container a img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-container a img:hover {
    transform: scale(1.05);
}
/* ===== Lightbox Popup ===== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.gallery-container img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-container img:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 32px;
    }
}
/* Google Map */

.contact iframe {
    width: 100%;
    max-width: 1000px;
    height: 350px;
    border: 0;
    border-radius: 16px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.map-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 24px;
    background:#e63946;
    color:#fff;
    text-decoration:none;
    border-radius:999px;
    font-weight:600;
}

.map-btn:hover{
    background:#ff4d5a;
}
/* ===== OUR TEAM SECTION ===== */

.team-section {
    background-color: #0a0a0a;
    padding: 70px 20px;
    text-align: center;
}

.team-section h2 {
    color: red;
    font-size: 40px;
    margin-bottom: 10px;
}

.team-subtitle {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 40px;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-card {
    background-color: #151515;
    width: 280px;
    padding: 25px;
    border-radius: 15px;
    border-bottom: 4px solid red;
}

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid red;
}

.team-card h3 {
    margin-top: 20px;
    font-size: 22px;
}

.team-card p {
    color: #cccccc;
    margin-top: 8px;
}
/* =====================================================
   BKDA PROFESSIONAL ANIMATION & VISUAL ENHANCEMENT
   ===================================================== */

/* Smooth page movement */
html {
    scroll-behavior: smooth;
}

/* Hero image animation */
.hero-image img {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.25);
}

/* Hero content entrance */
.hero-content {
    animation: heroFadeUp 1s ease-out;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo entrance */
.hero-content .hero-logo {
    animation: logoAppear 1s ease-out;
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Navigation hover animation */
.nav-menu a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: #ffdddd;
}

.nav-menu a:hover::after {
    width: 70%;
}

/* Professional button animation */
.join-btn,
.download-app-btn,
.map-btn,
button {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.join-btn:hover,
.download-app-btn:hover,
.map-btn:hover,
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(255, 0, 0, 0.35);
}

/* Class cards */
.class-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.2);
    border-left-color: #ff3333;
}

/* Team cards */
.team-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.25);
}

/* Team photos */
.team-card img {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.team-card:hover img {
    transform: scale(1.06);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

/* Gallery animation */
.gallery-container a {
    overflow: hidden;
    border-radius: 12px;
    display: block;
}

.gallery-container a img {
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.gallery-container a:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Statistics animation */
.stat {
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.stat:hover {
    transform: translateY(-8px);
}

.stat h2 {
    transition: transform 0.3s ease;
}

.stat:hover h2 {
    transform: scale(1.08);
}

/* Contact section */
.contact iframe {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.contact iframe:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.18);
}

/* Footer links */
footer a {
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

footer a:hover {
    transform: translateY(-2px);
}

/* Mobile menu animation */
.nav-menu {
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.nav-menu.open {
    animation: menuOpen 0.3s ease;
}

@keyframes menuOpen {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* =====================================================
   PROFESSIONAL BKDA GALLERY
   ===================================================== */

.gallery {
    padding: 80px 20px;
    background: #0b0b0b;
    text-align: center;
}

.gallery h2 {
    color: #ff3030;
    font-size: 42px;
    margin-bottom: 8px;
}

.gallery-subtitle {
    color: #aaa;
    font-size: 17px;
    margin-bottom: 35px;
}

/* Main gallery area */
.gallery-showcase {
    max-width: 950px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

/* Main image */
.gallery-main {
    width: 100%;
    max-width: 850px;
    height: 480px;
    background: #050505;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #292929;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

/* Previous / Next buttons */
.gallery-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: #e00000;
    color: white;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.gallery-arrow:hover {
    background: #ff3030;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

/* Thumbnail strip */
.gallery-thumbnails {
    max-width: 900px;
    margin: 25px auto 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 5px 12px;
}

.gallery-thumb {
    width: 95px;
    height: 65px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    opacity: 0.55;
    cursor: pointer;
    transition: 0.3s ease;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: red;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.35);
}

/* Mobile */
@media (max-width: 768px) {

    .gallery {
        padding: 60px 12px;
    }

    .gallery h2 {
        font-size: 32px;
    }

    .gallery-subtitle {
        font-size: 15px;
    }

    .gallery-showcase {
        gap: 8px;
    }

    .gallery-main {
        height: 280px;
        border-radius: 12px;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gallery-thumb {
        width: 75px;
        height: 52px;
    }
}
