/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0b0b0b;
    color:#fff;
    overflow:hidden;
    transition:background .3s ease, color .3s ease;
}

.page-shell{
    height:100vh;
    overflow:hidden;
}

.page-section{
    display:none;
    min-height:100vh;
    height:100vh;
    overflow-y:auto;
}

.page-section.active{
    display:block;
}

body,
html{
    width:100%;
    max-width:100%;
}
body{

    background:
    linear-gradient(
        rgba(0,0,0,.75),
        rgba(0,0,0,.85)
    ),
    url("hero-bg.jpg");

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    background-repeat:no-repeat;

}

body.dark-theme{
    background:
    linear-gradient(
        rgba(245,245,245,.88),
        rgba(245,245,245,.92)
    ),
    url("hero-bg.jpg");
    color:#111;
}

body.dark-theme .header,
body.dark-theme .hero,
body.dark-theme section,
body.dark-theme .gallery-card,
body.dark-theme .stat-card,
body.dark-theme .contact-form input,
body.dark-theme .contact-form textarea,
body.dark-theme .quote-box,
body.dark-theme .cta,
body.dark-theme .journey-card,
body.dark-theme .genre-card,
body.dark-theme .project-card,
body.dark-theme .gallery-card,
body.dark-theme .gallery-modal-content{
    background-color:rgba(255,255,255,.9);
    color:#111;
}

body.dark-theme .nav-menu a,
body.dark-theme .logo,
body.dark-theme .social-links a,
body.dark-theme .btn,
body.dark-theme .btn.outline,
body.dark-theme .section-title span,
body.dark-theme .journey-card i,
body.dark-theme .project-card i,
body.dark-theme .quote-box i,
body.dark-theme .stat-card h2,
body.dark-theme .cta span,
body.dark-theme .genre-card h3,
body.dark-theme .genre-definition strong{
    color:#111;
}

body.dark-theme .hero-description,
body.dark-theme .about-content p,
body.dark-theme .journey-card p,
body.dark-theme .gallery-info p,
body.dark-theme .cta p,
body.dark-theme .section-title h2,
body.dark-theme .about-content h3,
body.dark-theme .journey-card h3,
body.dark-theme .gallery-info h3,
body.dark-theme .project-card h3,
body.dark-theme .project-card p,
body.dark-theme .cta h2,
body.dark-theme .hero-tag,
body.dark-theme .quote-box p,
body.dark-theme .genre-definition,
body.dark-theme .gallery-modal-text p,
body.dark-theme .gallery-modal-text h3{
    color:#111;
}

body.dark-theme .social-links a,
body.dark-theme .btn,
body.dark-theme .btn.outline,
body.dark-theme .contact-form input,
body.dark-theme .contact-form textarea,
body.dark-theme .genre-card,
body.dark-theme .gallery-card{
    border-color:rgba(0,0,0,.14);
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

:root{

    --main:#8b0000;
    --main-light:#b30000;

    --dark:#0b0b0b;
    --card:#151515;

    --gray:#b8b8b8;
    --bg:#0b0b0b;
    --text:#fff;
    --panel:#171717;

}

body.dark-theme{
    --bg:#f5f5f5;
    --text:#111;
    --panel:#ffffff;
}

body.dark-theme{
    background:
    linear-gradient(
        rgba(255,255,255,.82),
        rgba(255,255,255,.92)
    ),
    url("hero-bg.jpg");
    color:var(--text);
}

body.dark-theme .header,
body.dark-theme .hero,
body.dark-theme section,
body.dark-theme .gallery-card,
body.dark-theme .contact-form input,
body.dark-theme .contact-form textarea,
body.dark-theme .stat-card{
    background-color:rgba(255,255,255,.86);
    color:var(--text);
}

body.dark-theme .hero-description,
body.dark-theme .about-content p,
body.dark-theme .journey-card p,
body.dark-theme .gallery-info p,
body.dark-theme .cta p,
body.dark-theme .contact-form input,
body.dark-theme .contact-form textarea,
body.dark-theme .quote-box p,
body.dark-theme .hero-tag,
body.dark-theme .section-title h2,
body.dark-theme .about-content h3,
body.dark-theme .journey-card h3,
body.dark-theme .gallery-info h3,
body.dark-theme .cta h2{
    color:var(--text);
}

body.dark-theme .social-links a,
body.dark-theme .btn,
body.dark-theme .btn.outline{
    border-color:rgba(0,0,0,.12);
}


/* =========================
   GLOBAL
========================= */

section{
    padding:70px 8%;
    background:rgba(0,0,0,.35);
}

.page-shell{
    height:100vh;
    overflow:hidden;
}

.page-section{
    display:none;
    min-height:100vh;
    width:100%;
}

.page-section.active{
    display:block;
}

.section-title{
    text-align:center;
    margin-bottom:40px;
}

.section-title span{
    color:var(--main);
    font-weight:700;
    letter-spacing:2px;
}

.section-title h2{
    font-size:36px;
}


/* =========================
   HEADER
========================= */

.header{
    position:fixed;
    width:100%;
    top:0;
    z-index:999;
    background:rgba(0,0,0,.8);
    backdrop-filter:blur(10px);
}

.navbar{
    width:min(90%, 1200px);
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:15px 0;
}

.logo{
    font-size:clamp(1.2rem, 2vw, 1.6rem);
    font-weight:800;
    white-space:nowrap;
}

.logo i,
.logo span{
    color:var(--main);
}

.nav-menu{
    display:flex;
    gap:clamp(12px, 2vw, 25px);
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    max-width:100%;
}

.nav-menu a{
    display:inline-flex;
    align-items:center;
    padding:4px 0;
    transition:color .25s ease, transform .25s ease;
}

.nav-menu a:hover{
    transform:translateY(-1px);
}

.nav-menu a:hover,
.nav-menu .active{
    color:var(--main);
}



/* =========================
   HERO
========================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:
    linear-gradient(
        rgba(0,0,0,.35),
        rgba(0,0,0,.55)
    ),
    url("hero-bg.jpg");
    background-size:cover;
    background-position:center;
    position:relative;


}

.hero-container{
    width:min(100%, 1200px);
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(250px, 400px);
    gap:clamp(25px, 4vw, 40px);
    align-items:center;
}

.hero-tag{
    color:#ff4040;
    font-weight:700;
    letter-spacing:4px;
    font-size:18px;
    text-shadow:2px 2px 8px #000;
}

.hero h1{
    font-size:clamp(2.6rem, 5vw, 4.1rem);
    line-height:1;
    margin:15px 0;
    color:#fff;
    text-shadow:3px 3px 15px rgba(0,0,0,.9);
}

.hero h2{
    color:#ff4444;
    font-size:clamp(1.4rem, 3vw, 2rem);
    font-weight:700;
    text-shadow:2px 2px 10px #000;
}

.hero-description{
    color:#f2f2f2;
    font-size:clamp(1rem, 1.8vw, 1.125rem);
    line-height:1.8;
    margin:20px 0;
    max-width:650px;
    text-shadow:2px 2px 8px rgba(0,0,0,.8);
}

.hero-description strong{
    color:#ff4040;
    font-weight:700;
}
/* BUTTON */

.btn{
    display:inline-flex;
    gap:8px;
    padding:12px 25px;
    border-radius:50px;
    background:var(--main);
    font-weight:600;
    margin-right:10px;
}

.btn.outline{
    background:none;
    border:2px solid var(--main);
}

.btn:hover{
    opacity:.8;
}


/* SOCIAL */

.social-links{
    display:flex;
    gap:12px;
    margin-top:25px;
}

.social-links a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#222;
    display:grid;
    place-items:center;
}

.social-links a:hover{
    background:var(--main);
}


/* PROFILE */

.hero-image img{

    width:min(100%, 380px);

    aspect-ratio: 3 / 4;
    height:auto;

    object-fit:cover;

    object-position:center;

    border-radius:20px;

    border:3px solid var(--main);

    filter:brightness(.75);

    box-shadow:

    0 20px 50px rgba(0,0,0,.8),

    0 0 30px rgba(139,0,0,.5);

    animation:float 5s ease-in-out infinite;

    transition:.5s;

}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-20px);
    }

    100%{
        transform:translateY(0);
    }

}


/* PROFILE HOVER EFFECT */

.hero-image img:hover{

    filter:brightness(1);

    transform:

    translateY(-15px)

    scale(1.04);

    box-shadow:

    0 30px 70px rgba(0,0,0,.9),

    0 0 50px rgba(139,0,0,.8);

}

/* SCROLL */

.scroll-down{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
}


/* =========================
   MOBILE
========================= */

@media(max-width:900px){

.navbar{
    flex-direction:column;
    align-items:center;
    width:min(94%, 1200px);
}

.nav-menu{
    display:flex;
    flex-wrap:wrap;
    gap:8px 16px;
    width:100%;
    justify-content:center;
    text-align:center;
}

.hero-container{
    grid-template-columns:1fr;
    text-align:center;
}

.hero-description{
    margin:auto;
}

.hero-buttons,
.social-links{
    justify-content:center;
}

.hero-image img{
    width:min(100%, 300px);
    margin:0 auto;
}

}
/* =========================
   ABOUT
========================= */

.about{
    background:rgba(0,0,0,.35);
}

.about-container{
    display:grid;
    grid-template-columns:minmax(250px, 350px) 1fr;
    gap:clamp(20px, 4vw, 40px);
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:20px;
}

.about-content h3{
    font-size:28px;
    margin-bottom:15px;
}

.about-content p{
     color:#f1f1f1;
    line-height:1.8;
    margin-bottom:15px;
}


/* =========================
   JOURNEY / EXPERIENCE
========================= */

.journey-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:20px;
    
}

.journey-card{
    background:transparent;
    padding:25px;
    border-radius:15px;
    transition:.3s;
}

.journey-card i{
    font-size:35px;
    color:#8b0000;
    margin-bottom:15px;
}

.journey-card h3{
    margin-bottom:10px;
}

.journey-card p{
     color:#f1f1f1;
    line-height:1.8;
    font-size:14px;
}

.journey-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px #000;
}


/* =========================
   PROJECT SHOWCASE
========================= */

.project-showcase{
    background:rgba(0,0,0,.35);
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:20px;
}

.project-card{
    background:transparent;
    padding:25px;
    border-radius:15px;
    transition:.3s;
}

.project-card i{
    font-size:35px;
    color:#8b0000;
    margin-bottom:15px;
}

.project-card h3{
    margin-bottom:10px;
}

.project-card p{
    color:#f1f1f1;
    line-height:1.8;
    font-size:14px;
}

.project-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px #000;
}

/* =========================
   QUOTE
========================= */

.quote{
    background:
    linear-gradient(#000b,#000b),
    url("hero-bg.jpg");

    background-size:cover;
    text-align:center;
}

.quote-box{
    max-width:700px;
    margin:auto;
}

.quote-box i{
    font-size:40px;
    color:#8b0000;
}

.quote-box h2{
    font-size:35px;
    margin:20px 0;
}

.quote-box p{
    color:#8b0000;
}


/* =========================
   GENRES
========================= */

.genre-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:15px;
}

.genre-card{
    background:transparent;
    padding:25px 15px;
    border-radius:15px;
    text-align:center;
    border-bottom:3px solid #8b0000;
    cursor:pointer;
    transition:.3s;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    appearance:none;
    -webkit-appearance:none;
    font:inherit;
    width:100%;
}

.genre-card h3{
    margin-bottom:0;
}

.genre-card:hover,
.genre-card.active{
    transform:translateY(-6px);
    box-shadow:0 10px 25px #000;
    background:rgba(139,0,0,.18);
}

.genre-definition{
    margin-top:20px;
    padding:18px 20px;
    border-radius:15px;
    background:rgba(0,0,0,.35);
    line-height:1.8;
    color:#f1f1f1;
}

.genre-definition strong{
    color:#ff4040;
}


/* =========================
   STATS
========================= */

.stats{
    background:rgba(0,0,0,.35);
}

.stats-container{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:20px;
}

.stat-card{
    background:#171717;
    text-align:center;
    padding:30px 15px;
    border-radius:15px;
}

.stat-card h2{
    font-size:40px;
    color:#8b0000;
}

.stat-card p{
     color:#f1f1f1;
    line-height:1.8;
}


/* =========================
   TABLET
========================= */

@media(max-width:1000px){

.about-container{
    grid-template-columns:1fr;
}

.journey-grid,
.project-grid,
.genre-grid,
.stats-container{
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}

}


/* =========================
   MOBILE
========================= */

@media(max-width:600px){

section{
    padding:60px 5%;
}

.nav-menu{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    font-size:0.94rem;
}

.section-title h2{
    font-size:clamp(1.5rem, 5vw, 1.75rem);
}

.journey-grid,
.project-grid,
.genre-grid,
.stats-container,
.gallery-grid{
    grid-template-columns:1fr;
}

.quote-box h2{
    font-size:clamp(1.4rem, 5vw, 1.6rem);
}

.about-content h3{
    font-size:22px;
}

}
/* =========================
   GALLERY
========================= */

.gallery-preview{
    background:rgba(0,0,0,.35);
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
    align-items:stretch;
}

.gallery-card{
    background:#171717;
    border-radius:18px;
    overflow:hidden;
    border:none;
    text-align:left;
    cursor:pointer;
    padding:0;
    width:100%;
    font:inherit;
    appearance:none;
    -webkit-appearance:none;

    display:flex;
    flex-direction:column;
    height:100%;

    box-shadow:0 10px 25px rgba(0,0,0,.35);
    transition:.3s ease;
}

.gallery-card:hover{
    transform:translateY(-8px);
}

.gallery-card img{
    width:100%;
    aspect-ratio:4/5;          /* Makes every image the same size */
    object-fit:cover;          /* Crops instead of stretching */
    object-position:center;    /* Keeps subject centered */
    display:block;
    transition:.35s;
}

.gallery-card:hover img{
    transform:scale(1.05);
}

.gallery-info{
    padding:20px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.gallery-info h3{
    color:#ffffff;
    font-size:1.45rem;
    font-weight:700;
    line-height:1.3;
    margin:0 0 12px;
}

.gallery-info p{
    color:#d9d9d9;
    font-size:15px;
    line-height:1.8;
    margin:0;
}

/* =========================
   GALLERY MODAL
========================= */

.gallery-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.88);
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    z-index:1000;
}

.gallery-modal.open{
    display:flex;
}

.gallery-modal-content{
    width:min(850px,100%);
    background:#111;
    border-radius:20px;
    overflow:hidden;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,.6);
}

.gallery-modal-close{
    position:absolute;
    top:15px;
    right:15px;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

.gallery-modal-content img{
    width:100%;
    max-height:70vh;
    object-fit:contain;
    background:#000;
}

.gallery-modal-text{
    padding:25px;
}

.gallery-modal-text h3{
    color:#fff;
    font-size:1.6rem;
    margin-bottom:10px;
}

.gallery-modal-text p{
    color:#d9d9d9;
    line-height:1.8;
    font-size:15px;
}

/* =========================
   CONTACT
========================= */

.contact{
    padding:100px 0;
}

.contact-info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:50px;
}

.contact-card{
    background:#171717;
    padding:35px 25px;
    border-radius:18px;
    text-align:center;
    transition:.35s;
}

.contact-card:hover{
    transform:translateY(-8px);
}

.contact-card i{
    font-size:38px;
    color:#c00000;
    margin-bottom:20px;
}

.contact-card h3{
    color:#fff;
    margin-bottom:12px;
}

.contact-card a,
.contact-card p{
    color:#ddd;
    text-decoration:none;
    line-height:1.7;
}

.contact-card a:hover{
    color:#c00000;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form-section{
    padding:90px 0;
}

.contact-form{
    max-width:800px;
    margin:auto;
}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:18px;
    margin-bottom:18px;

    background:#171717;
    color:#fff;

    border:1px solid #333;
    border-radius:12px;

    font-size:16px;

}

.contact-form textarea{
    resize:vertical;
}

.contact-form button{

    width:100%;

}

.form-status{

    margin:15px 0;
    color:#bbb;

}

/* =========================
   CTA
========================= */
/* =========================
   CTA
========================= */
/* =========================
   CTA
========================= */

.cta{
    padding:100px 20px;
    background:#101010;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.cta::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.25);
    pointer-events:none;
}

.cta .container{
    max-width:1100px;
    margin:auto;
    position:relative;
    z-index:2;
}

.cta-content{
    max-width:760px;
    margin:auto;
}

.cta-content span{
    color:#ff4040;
    font-weight:700;
    letter-spacing:2px;
}

.cta-content h2{
    margin:18px 0;
    color:#fff;
    font-size:2.5rem;
}

.cta-content p{
    color:#d9d9d9;
    line-height:1.8;
    margin-bottom:35px;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
    position:relative;
    z-index:10;
}

.cta-buttons a{
    text-decoration:none;
}

.cta-buttons .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:15px 35px;
    cursor:pointer;
    position:relative;
    z-index:11;
}

/* =========================
   FOOTER
========================= */

.footer{

    background:#080808;

    padding:60px 8% 20px;

}


.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:30px;

}


.footer-box h2{

    margin-bottom:15px;

}


.footer-box h3{

    margin-bottom:15px;

    color:#ff3d00;

}


.footer-box p,
.footer-box li{

 color:#ddd;
    margin-bottom:8px;

    font-size:14px;

}


.footer-box li a:hover{

    color:#ff3d00;

}


.footer-social{

    display:flex;

    gap:10px;

    margin-top:20px;

}


.footer-social a{

    width:38px;

    height:38px;

    background:#222;

    border-radius:50%;

    display:grid;

    place-items:center;

}


.footer-social a:hover{

    background:#ff3d00;

}


.footer hr{

    border:0;

    border-top:1px solid #222;

    margin:30px 0 15px;

}


.footer-bottom{

    display:flex;

    justify-content:space-between;

    color:#777;

    font-size:13px;

}


/* =========================
   RESPONSIVE
========================= */


@media(max-width:1000px){

.gallery-grid{

    grid-template-columns:repeat(2,1fr);

}


.footer-container{

    grid-template-columns:repeat(2,1fr);

}

}


@media(max-width:600px){


.gallery-grid{

    grid-template-columns:1fr;

}


.cta h2{

    font-size:30px;

}


.cta-buttons{

    flex-direction:column;

    align-items:center;

}


.footer-container{

    grid-template-columns:1fr;

}


.footer-bottom{

    flex-direction:column;

    text-align:center;

    gap:10px;

}

}
