/* ==================================================
   LION WAY MARTIAL ARTS ACADEMY
   Main stylesheet
   ================================================== */


/* ==================================================
   ROOT VARIABLES
   ================================================== */

:root{
    --gold:#caa24a;
    --gold-light:#f5d77a;

    --background:#0f0f0f;
    --surface:#111111;
    --surface-light:#181818;

    --text:#f5f5f5;
    --text-muted:#aaaaaa;

    --border:#333333;

    --shadow:
        0 8px 30px rgba(0,0,0,.35);

    --radius:8px;

	--scroll-offset:30px;
}


/* ==================================================
   RESET & GLOBAL SETTINGS
   ================================================== */

html{
    margin:0;
    padding:0;
    width:100%;
    scroll-behavior:smooth;
}

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

body{
    margin:0;
    padding:0;
    width:100%;
    overflow-x:hidden;
    font-family:"Inter",sans-serif;
    background:var(--background);
    color:var(--text);
    line-height:1.6;

    /*
       Improves font rendering on Apple devices
       and makes text appearance more consistent.
    */
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;

    opacity:0;
    animation:
        pageFade .8s ease forwards;
}

@keyframes pageFade{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

@keyframes heroGlow{
    from{
        opacity:.5;
    }
    to{
        opacity:1;
    }
}

@media (prefers-reduced-motion: reduce){

    *,
    *::before,
    *::after{
        animation-duration:0.01ms!important;
        animation-iteration-count:1!important;
        scroll-behavior:auto!important;
        transition-duration:0.01ms!important;
    }

}

::selection{
    background:var(--gold);
    color:#000;
}

a:focus-visible,
button:focus-visible{
    outline:
        2px solid var(--gold);
    outline-offset:4px;
}

.gallery img:focus-visible{
    outline:
        3px solid var(--gold);

    outline-offset:
        5px;

    transform:
        translateY(-6px)
        scale(1.03);
}

img{
    display:block;
    max-width:100%;
	height:auto;
}

iframe{
    display:block;
    width:100%;
    height:450px;
    border:0;
    border-radius:10px;
}


/* ==================================================
   GENERAL ELEMENTS
   ================================================== */

nav a{
    color:var(--gold);
    text-decoration:none;
}

nav a:hover{
    color:var(--gold-light);
}

.button{
    display:inline-block;
    margin-top:30px;
    padding:
        15px 35px;

    background:var(--gold);
    color:#111;
    text-decoration:none;
    font-weight:700;
    border-radius:var(--radius);
	letter-spacing:.3px;
	transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;

    box-shadow:
        0 10px 30px rgba(202,162,74,.25);
}

.button:hover{
    background:var(--gold-light);
    transform:translateY(-4px);
	box-shadow:
        0 15px 35px rgba(202,162,74,.35);
}

section{
    width:100%;
    max-width:900px;
    margin:0 auto;
    padding:70px 20px;
}

section:nth-of-type(even){
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.02),
            transparent
        );
}

#over,
#lessen,
#waarom,
#galerij,
#contact{
    scroll-margin-top:var(--scroll-offset);
}


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

section h2{
    position:relative;
    text-align:center;
    margin:
        0 auto 45px;

    font-size:
        clamp(1.9rem,4vw,2.6rem);

    font-weight:700;
    color:var(--gold);
    letter-spacing:.8px;
    line-height:1.2;
}

section h2::after{
    content:"";
    display:block;
    width:70px;
    height:3px;
    margin:
        15px auto 0;

    background:var(--gold);
    border-radius:20px;
    box-shadow:var(--shadow);
    transition:
        width .4s ease;
}

section h2:hover::after{
    width:120px;
}

section h3{
    margin-top:35px;
    margin-bottom:20px;
    text-align:center;
    color:var(--gold);
    font-size:1.4rem;
    letter-spacing:.5px;
}

section p{
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
    color:var(--text);
    line-height:1.75;
}


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

.site-header{
    width:100%;
    overflow:hidden;
    background:var(--surface);
    border-bottom:
        3px solid var(--gold);

    line-height:0;
}

.header-image{
    width:100%;
    height:auto;
}


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

.hero{
    position:relative;
    padding:
        100px 20px;

    text-align:center;
    background:

        radial-gradient(
            circle at top,
            rgba(202,162,74,.15),
            transparent 45%
        ),

        linear-gradient(
            180deg,
            var(--surface-light),
            var(--background)
        );

    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(
            circle,
            rgba(202,162,74,.08),
            transparent 60%
        );

    pointer-events:none;
    animation:
        heroGlow 4s ease-in-out infinite alternate;
}

/* ==================================================
   HERO BRAND LABEL
   ================================================== */

.hero-label{
    position:relative;
    margin:
        0 auto 20px;

    color:var(--gold-light);
    font-size:.85rem;
    font-weight:700;
    letter-spacing:
        3px;

    text-transform:
        uppercase;

    opacity:.9;
}

.hero h1{
    position:relative;
	display:inline-block;
    font-size:
        clamp(2.2rem,5vw,3.4rem);

	line-height:1.2;
    margin-bottom:45px;
    color:var(--gold);
    letter-spacing:1px;
}

.hero h1::after{
    content:"";
    display:block;
    width:100px;
    height:3px;
    margin:18px auto 0;
    background:var(--gold);
    border-radius:20px;
    box-shadow:var(--shadow);
    transition:
        width .4s ease;
}

.hero h1:hover::after{
    width:160px;
}

.hero p{
    position:relative;
    max-width:750px;
    margin:
        0 auto 25px;

    font-size:1.1rem;
	line-height:1.8;
    color:var(--text);
}

.hero strong{
    color:var(--gold);
}


/* ==================================================
   STICKY NAVIGATION
   ================================================== */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:

        15px 30px;

    background:var(--surface);
    border-bottom:
        2px solid var(--gold);

    box-shadow:var(--shadow);
}

.nav-logo{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--gold);
    font-size:1.4rem;
    font-weight:bold;
    letter-spacing:1px;
    white-space:nowrap;
}

.nav-logo img{
    width:32px;
    height:32px;
    object-fit:contain;
}

.nav-logo span{
    display:flex;
    align-items:center;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:25px;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-links a{
    color:var(--text);
    text-decoration:none;
    font-weight:bold;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease; 
}

.nav-links a:hover{
    color:var(--gold);
}

.nav-button{
    background:var(--gold);
    color:#111 !important;
    padding:
        10px 18px;

    border-radius:6px;
}

.nav-button:hover{
    background:var(--gold-light);
}

.nav-toggle{
    display:none;
    background:none;
    border:none;
    color:var(--gold);
    font-size:1.5rem;
    cursor:pointer;
}

.nav-button:focus-visible,
.button:focus-visible{
    background:var(--gold-light);
}


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

.welcome-logo{
    text-align:center;
    margin-top:-50px;
    margin-bottom:35px;
}

.welcome-logo img{
    width:
        min(180px,60vw);

    max-width:70%;
    border-radius:50%;
    background:var(--surface);
    border:
        4px solid var(--gold);

    box-shadow:var(--shadow);
}


/* ==================================================
   LESSONS
   ================================================== */

#lessen ul{
    max-width:500px;
    margin:
        30px auto;

    padding:
        0;

    list-style:none;
}

#lessen li{
    background:var(--surface);
    border:
        1px solid var(--border);

    border-radius:var(--radius);
    padding:
        12px 20px;

    margin-bottom:12px;
    color:var(--text);
    font-weight:600;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

#lessen li:hover{
    border-color:var(--gold);
    transform:translateY(5px);
    box-shadow:var(--shadow);
}


/* ==================================================
   TRAINER ACHIEVEMENTS
   ================================================== */

.achievements{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(180px,1fr));

    gap:20px;
    margin-top:50px;
}

.achievement-card{
    background:
        linear-gradient(
            145deg,
            #1c1c1c,
            #111
        );

    border:
        1px solid var(--border);

    border-radius:var(--radius);
    padding:
        30px 20px;

    text-align:center;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.achievement-card:hover{
    transform:translateY(-8px);
    border-color:var(--gold);
    box-shadow:var(--shadow);
}

.achievement-icon{
    color:var(--gold);
    font-size:2.3rem;
    margin-bottom:15px;
}

.achievement-card h3{
    margin:
        0 0 10px;

    font-size:2.2rem;
    color:var(--gold);
}

.achievement-card p{
    margin:0;
    color:var(--text);
    font-size:.95rem;
    line-height:1.5;
}


/* ==================================================
   VALUES CARDS
   ================================================== */

.cards{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(150px,1fr));

    gap:20px;
    margin-top:40px;
}

.cards div{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-height:140px;
    background:
        linear-gradient(
            145deg,
            #1c1c1c,
            #111
        );

    border:
        1px solid var(--border);

    border-radius:var(--radius);
    color:var(--text);
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.cards i{
    font-size:2rem;
    color:var(--gold);
}

.cards span{
    font-weight:bold;
}

.cards div:hover{
    transform:translateY(-8px);
    border-color:var(--gold);
    box-shadow:var(--shadow);
}


/* ==================================================
   WHY WUSHU & KUNG FU
   ================================================== */

.why-content{
    max-width:850px;
    margin:
        0 auto 40px;

    font-size:1.05rem;
}

.why-content p{
    margin-bottom:25px;
}

.why-content strong{
    color:var(--gold);
}

.highlight-text{
    margin-top:35px;
    padding:20px;
    background:var(--surface);
    border-left:
        3px solid var(--gold);

    border-radius:6px;
    font-size:1.1rem;
    font-weight:bold;
}


/* ==================================================
   PHOTO GALLERY
   ================================================== */

.gallery-intro{
    max-width:700px;
    margin:
        0 auto 35px;

    text-align:center;
    color:var(--text-muted);
    font-size:1.05rem;
}

.gallery{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap:20px;
    margin-top:30px;
    overflow:hidden;

	list-style:none;
    padding:0;
    margin-left:0;
}

.gallery li{
    margin:0;
    padding:0;
	width: 100%;
}

.gallery img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:var(--radius);
    cursor:pointer;
    border:
        1px solid var(--border);

    background:var(--surface);
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.gallery video{
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.gallery img:hover{
    transform:
        translateY(-6px)
        scale(1.03);
    border-color:var(--gold);
    box-shadow:var(--shadow);
}

.gallery video:hover{
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

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

#lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:
        rgba(0,0,0,.92);

    justify-content:center;
    align-items:center;
    z-index:9999;
}

#lightbox.show{
    display:flex;
}

#lightbox img{
    max-width:80%;
    max-height:75vh;
    border:
        3px solid var(--gold);

    border-radius:8px;
    opacity:0;
    transform:scale(.92);
    transition:
        opacity .3s ease,
        transform .3s ease;
}

#lightbox.show img{
    opacity:1;
    transform:scale(1);
}


/* ==================================================
   LIGHTBOX CLOSE BUTTON
   ================================================== */

#close{
    position:absolute;
    top:25px;
    right:25px;
    width:50px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:var(--surface);
    border:
        2px solid var(--gold);

    border-radius:50%;
    color:white;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    z-index:10001;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

#close:hover{
    background:var(--gold);
    color:#111;
}


/* ==================================================
   LIGHTBOX NAVIGATION ARROWS
   ================================================== */

#previous,
#next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:
        rgba(17,17,17,.7);

    border:
        2px solid var(--gold);

    border-radius:50%;
    color:white;
    font-size:20px;
    cursor:pointer;
    z-index:10001;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

#previous{
    left:20px;
}

#next{
    right:20px;
}

#previous:hover,
#next:hover{
    background:var(--gold);
    color:#111;
}

#close:focus-visible,
#previous:focus-visible,
#next:focus-visible{
    border:none;
    padding:0;
    font-family:inherit;
    cursor:pointer;
	outline:
        3px solid var(--gold-light);
	outline-offset:
        5px;
}


/* ==================================================
   LIGHTBOX COUNTER
   ================================================== */

#counter{
    position:absolute;
    bottom:25px;
    left:50%;
    transform:
        translateX(-50%);

    background:
        rgba(0,0,0,.65);

    color:white;
    padding:
        8px 16px;

    border-radius:20px;
    border:
        1px solid var(--gold);
}


/* ==================================================
   CONTACT DETAILS
   ================================================== */

.contact-details{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-bottom:30px;
    width:100%;
}

.contact-item{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;

    width:100%;
    padding:12px 18px;

    background:var(--surface);
    border:1px solid var(--border);
    border-radius:8px;

    color:var(--text);
    font-weight:bold;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.contact-item:hover{
    border-color:var(--gold);
    background:#222;
    transform:translateY(-3px);
    box-shadow:var(--shadow);
}

.contact-item i{
    font-size:1.4rem;
}

.contact-item a,
.contact-item a:visited{
    color:var(--text);
    text-decoration:none;
    font-weight:bold;
}

.contact-item a:hover{
    color:var(--gold-light);
}

.contact-item .fa-phone{
    color:#25D366;
}

.contact-item .fa-envelope{
    color:var(--gold);
}


/* ==================================================
   SOCIAL MEDIA BUTTONS
   ================================================== */

.social{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
    margin-top:30px;
}

.social a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:130px;
    padding:
        12px 18px;

    background:var(--surface);
    border:
        1px solid var(--border);

    border-radius:8px;
    color:var(--text);
    text-decoration:none;
    font-weight:bold;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.social a i{
    font-size:1.4rem;
}

.social a:hover{
    border-color:var(--gold);
    background:#222;
    transform:translateY(-3px);
    box-shadow:var(--shadow);
}

.social a:active{
    transform:scale(.97);
}


/* Social icon colours */

.social .fa-whatsapp{
    color:#25D366;
}

.social .fa-facebook-f{
    color:#1877F2;
}

.social .fa-instagram{
    color:#E4405F;
}

.social .fa-tiktok{
    color:var(--text);
    text-shadow:
        2px 2px #25F4EE,
        -2px -2px #FE2C55;
}

.social .fa-telegram-plane{
    color:#229ED9;
}


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

footer{
    text-align:center;
    padding:25px;
    border-top:
        1px solid #444;

    color:var(--text-muted);
}


/* ==================================================
   TABLET & MOBILE NAVIGATION
   ================================================== */

@media (max-width:768px){
    section{
        padding:
            45px 15px;
    }

.button{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

/* Navigation */

    .navbar{
        padding:
            8px 15px;
    }

    .nav-logo{
        font-size:1.2rem;
        gap:8px;
    }

    .nav-logo img{
        width:28px;
        height:28px;
    }

    .nav-toggle{
        display:block;
        font-size:1.8rem;
        padding:5px;
    }

	.nav-links{
		position:absolute;
		top:100%;
		right:10px;
		width:min(260px,90vw);
		background:var(--surface);
		border:1px solid var(--gold);
		border-radius:8px;
		box-shadow:var(--shadow);
		padding:8px 0;
		flex-direction:column;
		gap:0;
		opacity:0;
		visibility:hidden;
		transform:
			translateY(-10px);

		transition:
			opacity .25s ease,
			transform .25s ease,
			visibility .25s ease;
	}

	.nav-links.active{
		opacity:1;
		visibility:visible;
		transform:
			translateY(0);
	}

    .nav-links li{
        width:100%;
    }

    .nav-links a{
        display:block;
        padding:
            14px 18px;

        font-size:1rem;
    }

    .nav-links a:hover{
        background:#222;
    }

    .nav-button{
        margin:
            8px 12px;

        text-align:center;
    }

	#over p{
	    margin-bottom:25px;
	}

/* Welcome section */

    .welcome-logo{
        margin-top:-20px;
        margin-bottom:25px;
    }

    .welcome-logo img{
        width:130px;
    }

/*Hero section */

    .hero{
        padding:
            55px 15px 65px;
    }

	.hero-label{
	    font-size:.75rem;
	    letter-spacing:2px;
	}

	.hero h1{
	    font-size:
	        clamp(1.9rem,8vw,2.5rem);
	}

/* Gallery sections */

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

    .gallery img{
        height:240px;
    }

	.gallery video {
	    height: 240px;
	}

    #previous,
    #next{
        width:38px;
        height:38px;
        font-size:24px;
    }

    #previous{
        left:8px;
    }

    #next{
        right:8px;
    }

    #close{
        width:36px;
        height:36px;
        top:12px;
        right:12px;
        font-size:18px;
    }

    #counter{
        font-size:.9rem;
    }

/* Cards section */

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

    .cards div{
        min-height:120px;
    }
}


/* ==================================================
   SMALL MOBILE DEVICES
   ================================================== */

@media(max-width:600px){
    .social{
        flex-direction:column;
    }

    .social a{
        width:100%;
    }

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

    .achievement-card{
        padding:
            20px 10px;
    }

    .achievement-card h3{
        font-size:1.8rem;
    }

    section p{
        font-size:.98rem;
        line-height:1.7;
    }

    section h2{
        margin-bottom:35px;
    }
}

/* ==================================================
   MAPS CONTAINER
   ================================================== */

.map-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}

.map-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.map-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.map-button:hover,
.map-button:focus {
    background: #333;
}


/* ==================================================
   LEGAL PAGES
   ================================================== */

.legal-content{
    max-width:900px;
    margin:0 auto;
}

.legal-content h2{
    text-align:left;
    margin-top:50px;
}

.legal-content p,
.legal-content li{
    line-height:1.8;
}

.legal-content ul{
    padding-left:22px;
}

.legal-content a{
    color:var(--gold);
}

.legal-content a:hover{
    color:var(--gold-light);
}

.legal-box{
    background:var(--surface);
    border-left:4px solid var(--gold);
    border-radius:8px;
    padding:20px;
    margin:40px 0;
}

/* ==================================================
   END OF FILE
   ================================================== */
