/* ===================================
   SOUTHERN FLAMES - PREMIUM DESIGN
=================================== */

:root{
    --bg:#070707;
    --bg-light:#111111;
    --card:#181818;
    --accent:#ff6b00;
    --accent-light:#ff9d00;
    --text:#ffffff;
    --text-muted:#b8b8b8;
    --border:#252525;
    --shadow:0 10px 30px rgba(0,0,0,.45);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    background:var(--bg);
    color:var(--text);
    line-height:1.7;
    overflow-x:hidden;
}

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

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 6%;

    background:rgba(0,0,0,.65);
    backdrop-filter:blur(12px);

    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,.05);
}

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo img{
    height: clamp(30px, 25vw, 120px);
    width: auto;
    display: block;
}

nav{
    display:flex;
    gap:25px;
}

nav a{
    color:white;
    text-decoration:none;
    transition:.3s;
    font-weight:500;
}

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

.mobile-menu-btn{
    display:none;
    font-size:1.8rem;
    cursor:pointer;
}

.mobile-menu{
    display:none;
}

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

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.75)
        );
}

.hero-content{
    position:relative;
    z-index:2;

    height:100%;

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

    text-align:center;
    padding:20px;
}

.hero h1{
    font-size:4rem;
    margin-bottom:20px;
    text-shadow:0 0 25px rgba(255,107,0,.5);
}

.hero p{
    max-width:800px;
    font-size:1.2rem;
    color:#e5e5e5;
}

.btn{
    margin-top:35px;

    background:linear-gradient(
        135deg,
        var(--accent),
        var(--accent-light)
    );

    color:white;
    text-decoration:none;

    padding:15px 40px;
    border-radius:50px;

    font-weight:bold;

    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(255,107,0,.3);
}

/* =========================
   INTRO IMAGE
========================= */

.intro-image{

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

    min-height:1vh;

    padding:0;
    margin:0;

    background:#070707;
}

.intro-image img{

    max-width:500px;
    width:80%;

    height:auto;

    display:block;
}

/* =========================
   SECTIONS
========================= */

section{
    padding:100px 0;
}

.intro-image{
    padding:0;
    padding-top:80px
}

.container{
    width:min(1200px,90%);
    margin:auto;
}

h2{
    text-align:center;
    font-size:2.4rem;
    margin-bottom:40px;
    color:var(--accent);
}

.dark-section{
    background:rgba(255,255,255,.02);
    border-top:1px solid rgba(255,255,255,.03);
    border-bottom:1px solid rgba(255,255,255,.03);
}

/* =========================
   SHOWS
========================= */

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

    gap:25px;
}

.show-card{
    background:var(--card);
    padding:30px;
    border-radius:16px;

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

    transition:.3s;
}

.show-card:hover{
    transform:translateY(-8px);
    border-color:var(--accent);
}

.show-card h3{
    margin-bottom:15px;
    color:var(--accent-light);
}

/* =========================
   TEAM
========================= */

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

    gap:30px;
}

.member{
    background:var(--card);

    border-radius:18px;
    overflow:hidden;

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

    transition:.3s;
}

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

.member img{
    width:100%;
    height:340px;
    object-fit:cover;
}

.member h3{
    padding:20px 20px 8px;
}

.member p{
    padding:0 20px 25px;
    color:var(--text-muted);
}

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

.gallery-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(300px,1fr));

    gap:18px;
}

.gallery-grid img{
    width:100%;
    height:260px;

    object-fit:cover;

    border-radius:14px;

    cursor:pointer;

    transition:.35s;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

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

#lightbox{
    display:none;

    position:fixed;
    inset:0;

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

    z-index:9999;

    justify-content:center;
    align-items:center;
}

#lightbox img{
    max-width:90%;
    max-height:85vh;
    border-radius:10px;
}

#closeLightbox{
    position:absolute;
    top:20px;
    right:40px;

    font-size:3rem;
    cursor:pointer;
}

/* =========================
   VIDEOS
========================= */

.video-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(30px,1fr));

    gap:25px;
}

.video-grid video{
    width:90%;
    border-radius:16px;
    background:black;
}

/* =========================
   EVENTS
========================= */

.event-list{
    display:grid;
    gap:20px;
}

.event{
    background:var(--card);

    border-left:4px solid var(--accent);

    padding:25px;
    border-radius:10px;
}

.event p{
    color:var(--text-muted);
}

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

form{
    max-width:700px;
    margin:auto;
}

input,
textarea{
    width:100%;

    padding:16px;
    margin-bottom:18px;

    background:#121212;
    color:white;

    border:1px solid #2b2b2b;
    border-radius:10px;

    outline:none;
}

input:focus,
textarea:focus{
    border-color:var(--accent);
}

button{
    background:linear-gradient(
        135deg,
        var(--accent),
        var(--accent-light)
    );

    color:white;
    border:none;

    padding:16px 35px;
    border-radius:50px;

    cursor:pointer;
    font-weight:bold;
}

button:hover{
    opacity:.95;
}

/* =========================
   CONTACT LOGO
========================= */

.contact-wrapper{
    display:flex;
    align-items:flex-start;
}

.contact-logo{
    flex:0 0 250px;
    align-self:flex-start;
}

.contact-logo img{

    width:100%;
    height:auto;

    display:block;
}

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

footer{
    text-align:center;

    padding:40px 20px;

    background:#050505;

    border-top:1px solid rgba(255,255,255,.05);
}

.footer-links{
    margin-top:10px;
}

.footer-links a{
    color:var(--accent);
    text-decoration:none;
    margin:0 10px;
}

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

@media (max-width:900px){

    nav{
        display:none;
    }

    .mobile-menu-btn{
        display:block;
    }

    .mobile-menu{
        position:fixed;

        top:75px;
        left:0;

        width:100%;

        background:#111;

        flex-direction:column;

        z-index:999;

        display:none;
    }

    .mobile-menu a{
        padding:18px;
        text-decoration:none;
        color:white;
        border-bottom:1px solid #222;
    }

    .mobile-menu.active{
        display:flex;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .hero p{
        font-size:1rem;
    }

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

    .video-grid video{
        width:90%;
        max-width:90%;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }
    
    .contact-wrapper{
	
	    flex-direction:column;
	    align-items:center;
	}
	
	.contact-logo{
	
	    max-width:220px;
	    margin-bottom:20px;
	}
	
	.contact-logo img{
	
	    width:100%;
	}
}

@media (max-height: 500px) and (orientation: landscape){

    header{
        padding: 6px 5%;
    }

    .mobile-menu{
        top:50px;
    }

}

#sending-message {
    color: #ffcc00;
    font-weight: bold;
    text-align: center;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}