/* ==========================
   BODY & ALGEMENE STIJLEN
========================== */
body {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    height: 100vh;
    margin: 0;
    font-family: "Inter", sans-serif;
    overflow-x: hidden; /* voorkomt horizontaal scrollen */
    background-color: #000;
}

html {
    scroll-behavior: smooth; /* Smooth scroll voor alle anchor links */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ==========================
   NAVIGATIE
========================== */

/* ALGEMEEN */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

header {
    background-color: black; /* altijd zichtbaar */
}

li{
    list-style: none;
}

a{
    color: white;
    text-decoration: none;
}

/* NAVBAR */
.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;

    position: sticky; /* sticky navbar */
    top: 0;
    z-index: 1000;
    background-color: black;
}

/* DESKTOP MENU */
.nav-menu {
    display: flex;          /* zichtbaar op desktop */
    gap: 60px;
    align-items: center;
}

/* NAV LINKS HOVER */
.nav-link{
    transition: 0.3s ease;
}

.nav-link:hover{
    color: rgb(250, 6, 6);
}

/* HAMBURGER (MOBIEL) */
.hamburger{
    display: none;
    cursor: pointer;
}

.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* MEDIA QUERY MOBIEL */
@media(max-width:768px){
    /* Hamburger zichtbaar op mobiel */
    .hamburger{
        display: block;
        position: fixed; /* altijd bovenaan */
        top: 20px;
        right: 20px;
        z-index: 1001; /* boven menu */
    }

    /* Dropdown menu mobiel */
    .nav-menu{
        position: fixed;
        top: 70px;
        left: -100%;  /* verborgen */
        width: 200px;
        flex-direction: column;
        background-color: black;
        padding: 20px;
        gap: 16px;
        transition: 0.3s;
        z-index: 1000;
    }

    .nav-menu.active{
        left: 0; /* zichtbaar wanneer hamburger geklikt */
    }

    /* Hamburger animatie */
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* BUTTON: ORDER */
.order {
    padding: 10px 22px;
    border: 1px solid #d4000071;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #ffffff;
    transition: 0.3s ease;
}

.order:hover {
    background-color: #d400005d;
    box-shadow: 0 0 12px #d4000070;
    transform: translateY(-2px);
}

/* BUTTON: WHATSAPP */


/* LOGO CONTAINER FIX */
.logo-container {
    display: flex;               /* Flexbox inschakelen */
    flex-direction: column;      /* Logo boven knop */
    align-items: center;         /* Alles centreren horizontaal */
    gap: 20px;                   /* Ruimte tussen logo en knop */
    margin-top: 0;
}


.logo {
    width: 500px;
    max-width: 90%;
}

/* ==========================
   SECTIES
========================== */
.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    margin: 0;
}

.type-text {

    overflow: hidden;
    border-right: 2px solid #000;

}


/* ABOUT SECTIE */
#about {
    background-color: #111;
    padding: 80px 20px;
    color: #fff;
    text-align: left;
}

#about .about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

#about h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
    transition: color 1.5s ease;
}

#about p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ccc;
    transition: color 1.5s ease;
}

#about.active h2,
#about.active p {
    color: #fff;
}


/* Services sectie */
#service {
    background-color: #111;
    color: #fff;
    padding: 80px 20px;      /* ruimte aan linker- en rechterkant */
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;         /* voorkomt dat content buiten de sectie komt */
}

/* Titel boven services */
#service h2 {
    font-size: 36px;
    margin: 0 auto 40px auto; /* horizontaal gecentreerd */
    color: #fff;
    max-width: 100%;           /* voorkomt overflow */
    word-wrap: break-word;     /* lange woorden breken */
}

/* Container voor service cards */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 10px;           /* voorkomt dat cards tegen de rand komen */
}

/* Elke service card */
.service-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    word-wrap: break-word; 
    box-sizing: border-box;
    max-width: 100%;           /* voorkomt dat de card uit de sectie loopt */
}

/* Hover effect */
.service-item:hover {
    border-color: #d40000;
    box-shadow: 0 0 15px #d40000;
}

/* Responsive */
@media screen and (max-width: 768px) {
    #service h2 { font-size: 28px; }
    .services-container { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
    .service-item { padding: 12px; }
}

@media screen and (max-width: 480px) {
    #service h2 { font-size: 24px; }
    .services-container { grid-template-columns: 1fr; gap: 10px; }
    .service-item { padding: 10px; flex-direction: column; align-items: flex-start; }
    .service-name, .service-price { font-size: 14px; }
}



/* ==========================
   REVIEWS PROFESSIONAL
========================== */
/* Algemeen box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reviews sectie */
#reviews {
    background-color: #111;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden; /* voorkomt dat cards buiten de sectie komen */
}

/* Titel */
#reviews h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #fff;
}

/* Container voor review cards */
.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;          /* ruimte tussen cards */
    max-width: 1000px;
    margin: 0 auto;     /* centreert de container */
    padding: 0 10px;    /* marge aan de zijkanten */
}

/* Elke review card */
.review-card {
    flex: 1 1 200px;      /* flexibel: minimaal 200px */
    max-width: 250px;     /* niet te groot */
    background-color: rgba(34,34,34,0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;         /* extra marge zodat ze niet tegen elkaar/plakjes aan zitten */
}

/* Hover effect */
.review-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

/* Review image */
.review-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px 15px 0 0;
}

/* Content */
.review-content {
    padding: 10px;
    color: #fff;
    text-align: center;
}

.review-author {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.review-rating {
    color: gold;
    margin-bottom: 8px;
    font-size: 14px;
}

.review-text {
    font-size: 13px;
    line-height: 1.4;
    color: #ccc;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .review-card {
        flex: 1 1 180px;
        max-width: 200px;
        margin: 8px;
    }
}

@media screen and (max-width: 480px) {
    .review-card {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 5px auto;
    }

    #reviews h2 {
        font-size: 28px;
    }

    .review-text {
        font-size: 12px;
    }
}



/* Section */
#hairstyles {
    height: 110vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0;

}

#hairstyles h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

/* Container */
.hairstyle-container {
    width: 90%;
    max-width: 1000px;
}

/* Video */
/* Video container bord */
.video-box {
    background-color: rgba(255, 255, 255, 0.05); /* lichte achtergrond */
    padding: 15px;                               /* ruimte rond de video */
    border: 2px solid white;                      /* wit randje */
    border-radius: 15px;                          /* afgeronde hoeken */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);      /* schaduw voor diepte */
    width: 100%;
    max-width: 700px;                             /* maximale breedte */
    margin: 0 auto;                               /* centeren */
}

/* Zorg dat de video de container volgt */
.video-box video {
    width: 100%;
    max-height: 480px;
    border-radius: 10px; /* behoud afgeronde hoeken van video */
    object-fit: cover;
}


/* Foto's */
.hairstyle-gallery {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.hairstyle-gallery img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.hairstyle-gallery img:hover {
    transform: scale(1.04);
}

/* Responsiveness */
@media screen and (max-width: 480px) {
    #hairstyles h2 {
        font-size: 26px;
    }

    .video-box video {
        max-height: 260px;   /* groter dan vorige versie */
    }

    .hairstyle-gallery img {
        height: 100px;
    }
}









/* CONTACT SECTION */
#contact {
    background-color: #111;
    color: white;
    padding: 60px 20px;
    text-align: center; /* centreren van alles binnen de sectie */
    display: flex;
    flex-direction: column; /* verticaal stapelen van items */
    align-items: center;    /* horizontaal centreren */
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    align-self: center;   /* extra zekerheid voor centreren */
    margin-top: 0;        /* staat helemaal bovenaan */
}


.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.contact-info p,
.contact-info ul {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info ul {
    padding-left: 20px;
}

.contact-info a {
    color: red;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-info a:hover {
    color: #ff4d4d;
}

/* WhatsApp knop */
.contact-info .whatsapp {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.contact-info .whatsapp:hover {
    background-color: red;
    color: white;
    box-shadow: 0 0 12px red;
    transform: translateY(-2px);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contact-container {
        text-align: center;
    }

    .contact-info ul {
        padding-left: 0;
        list-style: none;
    }
}






/* ==========================
   Responsief: kleinere schermen
========================== */
@media screen and (max-width: 1024px) {
    .reviews-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 kolommen */
        gap: 20px;
        justify-items: center; /* centreer de items in de cellen */
    }

    .review-card {
        max-width: 200px; /* iets kleiner op mobiel/tablet */
        width: 100%;
    }
}

/* Nog kleinere schermen (bijv. mobiel) */
@media screen and (max-width: 768px) {
    .reviews-container {
        grid-template-columns: repeat(2, 1fr); /* 2 kolommen */
        gap: 15px;
    }

    .review-card {
        max-width: 90%;     /* bijna hele breedte van het scherm */
        flex: 1 1 80%;      /* flex-basis groter voor leesbaarheid */
    }
}

@media screen and (max-width: 480px) {
    .reviews-container {
        grid-template-columns: 1fr; /* 1 kolom op echt klein scherm */
    }

    .review-card {
        max-width: 100%;
    }
}


/* ==========================
   ORDER / AFSPRAAK FORM
========================== */


/* Kalender icoon voor Chrome / Edge */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
}

/* Tijd icoon (Chrome) */
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
}


#dateSelect {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #000000;
    background-color: #ff0000;

    /* mooie custom pijl */
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;

    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover effect */
#dateSelect:hover {
    border-color: #007bff;
}

/* Wanneer user klikt */
#dateSelect:focus {
    border-color: #007bff;
    box-shadow: 0px 0px 6px rgba(0, 123, 255, 0.5);
    outline: none;
}

/* Option stijl */
#dateSelect option {
    padding: 10px;
    background: #ff0000;
}



#timeInput {
    width: 60px; /* kies zelf een breedte */
    display: block;
    margin: 0 auto; /* optioneel: centreren */
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.507);
    border-radius: 6px;
    background-color: rgba(134, 134, 134, 0.336);
    color: rgb(151, 148, 148);
    font-size: 9px;
    transition: 0.3s ease;

    
}





#order {
    background-color: #000;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column; /* stapel items verticaal */
    align-items: center;    /* centreren horizontaal */
}

#order h2 {
    color: rgb(255, 255, 255);
    font-size: 25px;
    margin-bottom: 30px;
    margin-top: 0;           /* staat helemaal bovenaan */
    align-self: center;      /* centreren binnen flex container */
}


#order form {
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Full Name, Email, Telefoon */
#order input[type="text"],
#order input[type="email"],
#order input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.507);
    border-radius: 6px;
    background-color: rgba(134, 134, 134, 0.336);
    color: rgb(151, 148, 148);
    font-size: 15px;
    transition: 0.3s ease;
}



#order textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.507);
    border-radius: 6px;
    background-color: rgba(134, 134, 134, 0.336);
    color: rgb(151, 148, 148);
    font-size: 15px;
    transition: 0.3s ease;
}

#order input:focus,
#order textarea:focus {
    border-color: #ff4d4d;
    outline: none;
    box-shadow: 0 0 8px red;
}

#order button {
    padding: 14px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Style voor de select/dropdown */
#order select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.507);
    border-radius: 6px;
    background-color: rgba(134, 134, 134, 0.336); /* achtergrondkleur */
    color: white; /* tekstkleur */
    font-size: 15px;
    transition: 0.3s ease;
}

/* Focus staat voor wanneer je op het veld klikt */
#order select:focus {
    border-color: #ff4d4d;
    outline: none;
    box-shadow: 0 0 8px red;
}




#order button:hover {
    background-color: white;
    color: red;
    box-shadow: 0 0 10px red;
    transform: translateY(-2px);
}

#order textarea {
    height: 100px;
    resize: none;
}

/* Voor grote schermen */
@media screen and (min-width: 1024px) {
    #order form {
        max-width: 450px;      /* Houd de breedte van het formulier */
        margin-left: auto;      /* Duw het naar rechts */
        margin-right: 50px;     /* Voeg een beetje marge rechts toe */
        text-align: left;       /* Optioneel, zodat de tekst links uitgelijnd is */
    }
}


/* ==========================
   RESPONSIVE
========================== */
@media screen and (max-width: 768px) {
    #about h2 { font-size: 28px; }
    #about p { font-size: 16px; }

    #reviews h2 { font-size: 28px; }
    .reviews-container { gap: 15px; }
    .review-card { max-width: 100%; }

    nav ul { gap: 15px; justify-content: center; }
    .whatsapp { margin-top: 10px; }
    .Hamak_Barber { margin-bottom: 10px; }
}

@media screen and (max-width: 600px) {
    #order form { max-width: 100%; }
    #order h2 { font-size: 26px; }
}



/* ==========================
   ACHTERGROND FOTO'S PER SECTIE
========================== */
#home1 {
    background-image: url("../fotos_map/background5.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#about {
    background-image: url("../fotos_map/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#service {
    background-image: url("../fotos_map/background\ 4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

#reviews {
    background-image: url("../fotos_map/background\ 4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#contact {
    background-image: url("../fotos_map/background3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#order {
    background-image: url("../fotos_map/background3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hairstyles {
    background-image: url("../fotos_map/background\ 4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}






