/* ==========================================================
   BABAK KAMGAR
   Film Composer Portfolio
   ========================================================== */


/* ==========================================================
   RESET
   ========================================================== */

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

html{
    scroll-behavior:smooth;
}

body{

    background:#111111;

    color:#F5F5F5;

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

    position:relative;

}

body::before{

    content:"";

    position:fixed;

    inset:0;

    background:url("../images/persian-background.png") center center;

    background-size:cover;

    background-repeat:no-repeat;

    opacity:.08;

    pointer-events:none;

    z-index:-1;

}


/* ==========================================================
   COLORS
   ========================================================== */

:root{

    --black:#111111;

    --dark:#1B1B1B;

    --dark2:#242424;

    --gold:#D8B56F;

    --white:#F5F5F5;

    --grey:#BDBDBD;

    ---blue:#2B3D57;

    --green:#2F4637;

    --brown:#4A342B;

}


/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3,
h4{

    font-family:"Cormorant Garamond",serif;

    font-weight:400;

}

p{

    color:var(--grey);

    line-height:1.9;

    font-size:18px;

}

a{

    text-decoration:none;

    color:inherit;

}

img{

    width:100%;

    display:block;

}


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

section{

    padding:140px 8%;

}


/* ==========================================================
   TITLES
   ========================================================== */

.section-title{

    text-align:center;

    margin-bottom:80px;

}

.section-title h2{

    font-size:68px;

    letter-spacing:3px;

    margin-bottom:20px;

}

.section-title p{

    max-width:700px;

    margin:auto;

}


/* ==========================================================
   BUTTON
   ========================================================== */

.button{

    display:inline-block;

    margin-top:25px;

    padding:18px 50px;

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

    border-radius:40px;

    color:var(--gold);

    font-size:14px;

    letter-spacing:3px;

    text-transform:uppercase;

    transition:.45s;

}

.button:hover{

    background:var(--gold);

    color:var(--black);

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(216,181,111,.25);

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

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1000;

    padding:28px 80px;

    transition:.45s;

}

/* Cuando haces scroll */

header.sticky{

    background:rgba(15,15,15,.88);

    backdrop-filter:blur(18px);

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

    padding:18px 80px;

}


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

nav{

    max-width:1500px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


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

.logo{

    font-family:"Cormorant Garamond",serif;

    font-size:32px;

    letter-spacing:6px;

    color:#9C4E63;

    transition:.35s;

}

.logo:hover{

    color:var(--gold);

}


/* ==========================================================
   MENU
========================================================== */

nav ul{

    display:flex;

    gap:45px;

    list-style:none;

}

nav ul li{

    list-style:none;

}

nav ul li a{

    position:relative;

    color:white;

    font-size:15px;

    letter-spacing:2px;

    transition:.35s;

}


/* Línea inferior */

nav ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:1px;

    background:var(--gold);

    transition:.4s;

}

nav ul li a:hover{

    color:var(--gold);

}

nav ul li a:hover::after{

    width:100%;

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

.hero{

    position:relative;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}


/* Oscurece ligeramente la imagen */

.overlay{

    position:absolute;

    inset:0;

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

}


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

.hero-content{

    position:relative;

    z-index:2;

    text-align:center;

    max-width:900px;

    padding-top:90px;

}


.hero h1{

    font-size:118px;

    font-weight:300;

    letter-spacing:12px;

    text-shadow:0 10px 40px rgba(0,0,0,.45);

    animation:titleFade 2s ease;

}

.hero h2{

    color:var(--gold);

    font-size:18px;

    letter-spacing:7px;

    text-transform:uppercase;

    margin-bottom:40px;

    font-family:"Inter",sans-serif;

    font-weight:300;

}


@keyframes titleFade{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero p{

    max-width:760px;

    margin:auto;

    margin-bottom:50px;

    font-size:22px;

    color:#ECECEC;

    line-height:1.9;

}


/* ==========================================================
   SCROLL
========================================================== */

.scroll{

    margin-top:70px;

    font-size:38px;

    color:white;

    opacity:.75;

    animation:scrollMove 2s infinite;

}

@keyframes scrollMove{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(12px);

    }

    100%{

        transform:translateY(0);

    }

}
/* ==========================================================
   HERO CINEMATIC EFFECT
========================================================== */

/* Movimiento lento del fondo */

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background-image:url("images/studio.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    animation:kenburns 35s ease-in-out infinite alternate;

    z-index:-2;

}

/* Oscurecer un poco el fondo */

.hero::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.35),
        rgba(0,0,0,.65)
    );

    z-index:-1;

}


/* Movimiento muy lento */

@keyframes kenburns{

    0%{

        transform:scale(1);

    }

    100%{

        transform:scale(1.08);

    }

}
/* ==========================================================
   ABOUT
========================================================== */

.about{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:35px;

    align-items:center;

    background:#1A1E1A;;

}

.about-image img{

    width:100%;

    height:auto;

    border-radius:12px;

    box-shadow:0 10px 40px rgba(0,0,0,.35);

}

.about-text h2{

    font-size:60px;

    margin-bottom:30px;

}

.about-text p{

    font-size:19px;

    line-height:2;

    margin-bottom:40px;

}
/* ==========================================================
   SELECTED PROJECTS
========================================================== */

.projects{

    background:#223344;

    padding:140px 8%;

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

}

.project-grid{

    display:grid;

    grid-template-columns:repeat(2, 460px);

    justify-content:center;

    gap:25px;

}

.card{

    width:88%;

    max-width:400px;

    margin:auto;

}

.card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 60px rgba(0,0,0,.45);

}
/* IMAGE */

.card img{

    width:100%;

    height:360px;

    object-fit:contain;

    object-position:center;

    background:#111;

    padding:15px;

}

.card:hover img{

    transform:scale(1.05);

}
/* CONTENT */

.card-content{

    padding:40px;

    min-height:220px;

}

.card-content h3{

    font-size:38px;

}

.card-content p{

    font-size:17px;

}

.card-content a{

    font-size:14px;

    letter-spacing:2px;

    text-transform:uppercase;

    font-weight:600;

}
/* FILM */

.film .card-content{

    background:#1D242D;

}

.film h3{

    color:#E8D3A3;

}

.film a{

    color:#F1CA76;

}


/* STAGE */

.stage .card-content{

    background:#232C21;

}

.stage h3{

    color:#D8E9B5;

}

.stage a{

    color:#B7CF84;

}


/* PRODUCTION */

.production .card-content{

    background:#352624;

}

.production h3{

    color:#F1C3A1;

}

.production a{

    color:#EFA97C;

}

/* NOVAN */

.novan .card-content{

    background:#25203A;

}

.novan h3{

    color:#D7C3FF;

}

.novan a{

    color:#B792FF;

}

.novan:hover{

    box-shadow:0 25px 55px rgba(120,80,180,.35);

}


/* ==========================================================
   FILM MUSIC
========================================================== */

.film-music{

    background:#2A3952;

    padding:140px 8%;

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

}

.film-header{

    text-align:center;

    margin-bottom:70px;

}

.film-header h2{

    font-size:68px;

    font-family:"Cormorant Garamond",serif;

    font-weight:400;

    letter-spacing:3px;

    margin-bottom:20px;

}

.film-header p{

    max-width:700px;

    margin:auto;

    color:#bfbfbf;

    font-size:18px;

}


/* GRID */

.films{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}
/* ==========================================================
   FILM CARD
========================================================== */

.film-item{

    position:relative;

    overflow:hidden;

    border-radius:16px;

    cursor:pointer;

    background:#000;

    transition:.45s;

}

.film-item img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;

    object-position:center;

    transition:.8s;

}

.film-item:hover img{

    transform:scale(1.08);

}
/* ==========================================================
   FILM INFO
========================================================== */

.film-info h3::after{

    content:"";

    display:block;

    width:55px;

    height:2px;

    background:var(--gold);

    margin-top:12px;

}
.film-info{

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    padding:30px;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.92)
    );

    transform:translateY(25px);

    opacity:0;

    transition:.45s;

}

.film-item:hover .film-info{

    transform:translateY(0);

    opacity:1;

}

/* ==========================================================
   FILM HOVER
========================================================== */

.film-item{

    box-shadow:0 20px 45px rgba(0,0,0,.35);

}

.film-item:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(0,0,0,.45);

}

.film-item::after{

    content:"";

    position:absolute;

    inset:0;

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

    opacity:0;

    transition:.4s;

}

.film-item:hover::after{

    opacity:1;

}

./* ==========================================================
   STAGE WORK
========================================================== */

.stage-work{

    background:#2D3B2E;

    padding:140px 8%;

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

}

.stage-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.stage-item{

    position:relative;

    overflow:hidden;

    border-radius:16px;

    cursor:pointer;

    box-shadow:0 20px 45px rgba(0,0,0,.35);

    transition:.45s;

}

.stage-item:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(0,0,0,.45);

}

.stage-item img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.8s;

}

.stage-item:hover img{

    transform:scale(1.08);

}
/* ==========================================================
   PROJECT DETAILS
========================================================== */

.card-content{

    position:relative;

}

.card-content h3::after{

    content:"";

    display:block;

    width:55px;

    height:2px;

    background:rgba(255,255,255,.35);

    margin-top:15px;

}

.card-content a{

    display:inline-block;

    transition:.35s;

}

.card:hover .card-content a{

    transform:translateX(8px);

}
/* ==========================================================
   CARD GLOW
========================================================== */

.film:hover{

    box-shadow:0 25px 55px rgba(45,70,110,.35);

}

.stage:hover{

    box-shadow:0 25px 55px rgba(65,90,45,.35);

}

.production:hover{

    box-shadow:0 25px 55px rgba(110,65,45,.35);

}
.stage-info{

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    padding:28px;

    background:linear-gradient(

        transparent,

        rgba(0,0,0,.92)

    );

    opacity:0;

    transform:translateY(25px);

    transition:.45s;

}

.stage-item:hover .stage-info{

    opacity:1;

    transform:translateY(0);

}

.stage-info h3{

    font-size:30px;

    color:white;

    margin-bottom:8px;

}

.stage-info span{

    color:var(--gold);

    letter-spacing:2px;

    font-size:14px;

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

.events{

    background:#253936;

    padding:140px 8%;

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

}

.events-list{

    max-width:1000px;

    margin:auto;

}

.event{

    display:grid;

    grid-template-columns:180px 1fr;

    gap:40px;

    align-items:center;

    padding:35px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.event:hover{

    padding-left:18px;

}

.date{

    color:var(--gold);

    font-size:15px;

    letter-spacing:3px;

    text-transform:uppercase;

}

.details h3{

    font-size:34px;

    margin-bottom:8px;

}

.details p{

    color:#bdbdbd;

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

.contact{

    background:
        linear-gradient(rgba(58,31,43,.95), rgba(58,31,43,.95)),
        url("../images/persian-background.png");

    background-size:600px;

    background-repeat:repeat;

}

.contact-form{

    max-width:800px;

    margin:auto;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    background:#1b1b1b;

    border:1px solid #2d2d2d;

    color:white;

    padding:20px;

    margin-bottom:20px;

    font-size:16px;

    border-radius:10px;

    transition:.35s;

}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:var(--gold);

}

.contact-form button{

    cursor:pointer;

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

footer{

    background:#0d0d0d;

    padding:45px;

    text-align:center;

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

}

footer p{

    color:#8c8c8c;

    font-size:15px;

    letter-spacing:2px;

}

.card{

    position:relative;

    background:#1b1b1b;

    border-radius:20px;

    overflow:hidden;

    transition:.4s;

    box-shadow:0 15px 40px rgba(0,0,0,.25);

}

.card-link{
    position:absolute;
    inset:0;
    z-index:10;
}

.card-content{
    position:relative;
    z-index:20;
}

.card-content a{
    position:relative;
    z-index:30;
}

/* ==========================================================
   BIOGRAPHY PAGE
========================================================== */

.bio-hero{

    display:grid;

    grid-template-columns:45% 55%;

    height:100vh;

    background:#111;

    overflow:hidden;

    padding:0;

}
.bio-photo{

    position:relative;

    height:100vh;

}
.bio-photo img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    filter:brightness(.65);

    display:block;

}
.bio-text{

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:0 8%;

    background:#111;

}

.persian-decoration{

    position:absolute;

    right:40px;

    bottom:40px;

    width:220px;

    opacity:.25;

    pointer-events:none;

}

.persian-decoration img{

    width:100%;

    display:block;

}

.small-title{

    color:var(--gold);

    letter-spacing:6px;

    text-transform:uppercase;

    font-size:14px;

}
.bio-text h1{

    font-size:82px;

    margin:20px 0;

    letter-spacing:3px;

}
.bio-text h2{

    color:var(--gold);

    font-family:"Inter",sans-serif;

    font-size:18px;

    letter-spacing:5px;

    text-transform:uppercase;

    margin-bottom:50px;

    font-weight:300;

}
.bio-text p{

    font-size:20px;

    line-height:2;

    color:#d2d2d2;

    margin-bottom:30px;

}
/* ================= VIDEO PLAYER ================= */

.video-modal{

    position:fixed;

    inset:0;

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

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.video-modal.active{

    display:flex;

}

.video-container{

    position:relative;

    width:85%;

    max-width:1200px;

    aspect-ratio:16/9;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 30px 80px rgba(0,0,0,.6);

}

.video-container iframe{

    width:100%;

    height:100%;

    border:none;

}

.close-video{

    position:absolute;

    top:15px;

    right:20px;

    color:white;

    font-size:42px;

    cursor:pointer;

    z-index:20;

    transition:.3s;

}

.close-video:hover{

    color:#D8B56F;

    transform:rotate(90deg);

}
.video-modal{

    position:fixed;

    inset:0;

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

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.video-modal.active{

    display:flex;

}

.video-window{

    width:80%;

    max-width:1200px;

    position:relative;

}

#player{

    width:100%;

    border-radius:20px;

    background:black;

}

.close-video{

    position:absolute;

    top:-45px;

    right:0;

    color:white;

    font-size:45px;

    cursor:pointer;

}
/* ================= SERVICES ================= */

.services{

    padding:120px 10%;

    background:#304844;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-top:60px;

}

.service-box{

    background:#181818;

    border:1px solid rgba(212,175,55,.25);

    padding:40px;

    transition:.4s;

}

.service-box:hover{

    transform:translateY(-8px);

    border-color:#d4af37;

    box-shadow:0 15px 35px rgba(0,0,0,.35);

}

.service-box h3{

    font-family:'Cormorant Garamond',serif;

    font-size:34px;

    color:#d4af37;

    margin-bottom:18px;

}

.service-box p{

    color:#d0d0d0;

    line-height:1.8;

    font-size:16px;

}

.services-button{

    text-align:center;

    margin-top:70px;

}

@media(max-width:900px){

.services-grid{

    grid-template-columns:1fr;

}

}
/* ===== ACTIVE SECTION ===== */

nav ul li a.active{

    color:#A35B6B;

    text-shadow:
        0 0 8px rgba(163,91,107,.45);

}

nav ul li a.active::after{

    width:100%;

    background:#A35B6B;

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

.contact-details{

    margin-top:50px;

    text-align:center;

}

.contact-details p{

    margin:18px 0;

    color:#E8E8E8;

    font-size:18px;

    line-height:1.8;

}

.contact-details strong{

    color:var(--gold);

    font-weight:500;

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:14px;

}