/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}

body{
    background:#050505;
    color:#fff;
    font-family:Arial, Helvetica, sans-serif;
    overflow-x:hidden;
    position:relative;
    width:100%;
}

/* =========================
   BACKGROUND
========================= */

body::before{
    content:"";
    position:fixed;
    inset:0;

    background:url("images/back.jpg") center/cover no-repeat;

    filter:blur(8px);
    transform:scale(1.05);

    opacity:0;
    transition:opacity 1.5s ease;

    z-index:-2;
}

body::after{
    content:"";
    position:fixed;
    inset:0;

    background:rgba(0,0,0,0.35);
    backdrop-filter:blur(4px);

    opacity:0;
    transition:opacity 1.5s ease;

    z-index:-1;
}

body.bg-active::before,
body.bg-active::after{
    opacity:1;
}

/* =========================
   INTRO
========================= */

#intro{
    position:fixed;
    inset:0;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#000;
    z-index:9999;

    transition:opacity 1s ease, visibility 1s ease;
}

#intro.hide{
    opacity:0;
    visibility:hidden;
}

.intro-title{
    font-size:clamp(32px,5vw,90px);
    font-weight:900;
    letter-spacing:6px;

    position:relative;
    color:#fff;

    animation:introAppear 1s ease forwards, glow 2s ease infinite;

    overflow:hidden;
}

/* RAINBOW SWEEP */
.intro-title::before{
    content:"";
    position:absolute;
    top:-50%;
    left:-40%;

    width:18%;
    height:220%;

    transform:skewX(-25deg);

    background:linear-gradient(
        90deg,
        #ffffff,
        #f3f3f3,
        #d8d8d8,
        #bcbcbc,
        #d8d8d8,
        #f3f3f3,
        #ffffff
    );

    filter:blur(18px);
    opacity:.9;

    animation:rainbowSweep 2.2s ease forwards .4s;
}

@keyframes rainbowSweep{
    from{left:-40%;}
    to{left:130%;}
}

@keyframes glow{
    50%{
        text-shadow:
            0 0 15px rgba(255,255,255,.7),
            0 0 35px rgba(255,255,255,.4),
            0 0 60px rgba(0,200,255,.15);
    }
}

/* =========================
   CONTENT
========================= */

#content{
    opacity:0;
    transform:translateY(30px);
    transition:1.2s ease;
}

#content.show{
    opacity:1;
    transform:none;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;

    padding:16px 12px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(10,10,10,0.5);
    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo-area{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:6px;
}

.logo-area img{
    height:65px;
    object-fit:contain;
    max-width:100%;
}

.slogan{
    font-family:'Cormorant Garamond', serif;
    font-size:16px;
    color:rgba(255,255,255,0.85);
}

/* =========================
   KESİMLER
========================= */

.models-section{
    padding:40px 12px;
}

.models-section h2{
    text-align:center;
    font-size:20px;
    margin-bottom:18px;
    letter-spacing:2px;
}

.models-grid{
    display:flex;
    gap:12px;

    overflow-x:auto;
    padding-bottom:10px;

    width:100%;
    max-width:100%;
}

.model-card{
    flex:0 0 auto;
    width:160px;

    border-radius:14px;
    overflow:hidden;

    background:rgba(0,0,0,0.3);
}

.model-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

/* =========================
   BOOKING
========================= */

.booking-section{
    margin:40px 12px;
    padding:25px 20px;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    text-align:center;
}

.booking-section h2{
    margin-bottom:25px;
    font-size:22px;
    letter-spacing:1px;
}

.booking-cards{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}

.barber-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:20px;
}

.barber-card h3{
    margin-bottom:15px;
    font-size:22px;
    font-weight:600;
}

.whatsapp-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    width:100%;
    padding:14px;

    background:#25D366;
    color:#000;
    font-weight:bold;
    text-decoration:none;
    border-radius:10px;

    transition:.3s;
}

.whatsapp-btn:hover{
    transform:translateY(-2px);
}

@media(min-width:768px){

    .booking-cards{
        grid-template-columns:repeat(2,1fr);
    }

}

.booking-text p{
    font-size:14px;
    color:rgba(255,255,255,0.75);
    line-height:1.5;
}

.whatsapp-btn{
    display:block;
    width:100%;

    padding:14px;

    background:#25D366;
    color:#000;

    font-weight:700;
    text-align:center;

    border-radius:12px;
    text-decoration:none;
}

/* =========================
   LOCATION
========================= */

.location-section{
    margin:40px 12px;
    padding:25px 15px;

    display:flex;
    flex-direction:column;
    gap:15px;

    text-align:center;

    background:rgba(0,0,0,0.35);
    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,0.08);
    border-radius:16px;

    width:calc(100% - 24px);
}

/* MAP FIX - CRITICAL */
.map-box{
    width:100%;
    max-width:100%;
    overflow:hidden;
    border-radius:14px;
}

.map-box iframe{
    width:100% !important;
    max-width:100% !important;

    display:block;

    border:0;

    height:200px;

    filter:grayscale(10%) brightness(0.95);
}

/* =========================
   FOOTER
========================= */

.footer{
    text-align:center;
    padding:20px 10px;
    margin-top:40px;

    background:rgba(0,0,0,0.35);
    backdrop-filter:blur(10px);

    border-top:1px solid rgba(255,255,255,0.08);

    width:100%;
}

.footer p{
    font-size:13px;
}

.footer span{
    font-size:12px;
    opacity:0.6;
}

/* =========================
   DESKTOP FIX
========================= */

@media(min-width:768px){

    .models-grid{
        overflow-x:hidden;
        justify-content:center;
    }

    .model-card{
        width:200px;
    }

    .booking-section,
    .location-section{
        flex-direction:row;
        text-align:left;
        justify-content:space-between;
        align-items:center;

        width:100%;
        margin:60px auto;
        max-width:1100px;
    }

    .map-box iframe{
        height:260px;
    }

    .booking-text p,
    .location-text p{
        max-width:500px;
    }
}

.video-section{
    padding:20px 12px 40px;
    display:flex;
    justify-content:center;
}

.video-box{
    width:100%;
    max-width:900px;
    overflow:hidden;
    border-radius:18px;

    background:rgba(0,0,0,.35);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.08);
}

.video-box video{
    width:100%;
    height:550px;
    object-fit:cover;
    display:block;
}

@media(max-width:768px){
    .video-box video{
        height:550px;
    }
}