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

body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #1C1C1C, #2E2E2E);
}

.header {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    height: 50vh;
    margin: auto;
    padding: 0;
    border: none;
    background-image: url("../fotos/bcd.jpeg"), url("../fotos/Screenshot\ from\ 2025-02-19\ 15-59-57.png"), url("../fotos/bc.jpeg");
    background-position: left center, center center, right center;
    background-size: 35% 100%, 30% 100%, 35% 100%;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
}

/* Combined Navigation Container */
.nav-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #120079;
    z-index: 1000;
    padding: 20px;
    width: 400px;
    /* Verhoog de breedte */
    height: 250px;
    border-radius: 5px;
    width: max-content;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 40px;
}

.nav a {
    text-decoration: none;
    color: #120079;
    font-size: 30px;
    padding: 25px 15px;
    background-color: white;
    border-radius: 5px;
    white-space: nowrap;
    display: block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav a:hover {
    background-color: #004d40;
    transform: scale(1.05);
}

/* Combined Hamburger Menu (top-left corner) */
.nav-hamburger {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1001;
    width: auto;
    display: inline-block;
    text-align: center;
    padding: 0;
    margin: 0;
}

.nav-hamburger .menu1-icon {
    cursor: pointer;
    font-size: 55px;
    color: #120079;
    transition: transform 0.3s ease;
    background-color: white;
    border-radius: 20px;
    padding: 10%;
    width: auto;
}

.nav-hamburger .menu1-icon:hover {
    transform: rotate(90deg);
}

.nav-hamburger .menu1-title {
    display: block;
    color: #120079;
    font-size: 26px;
    margin-top: 5px;
    cursor: pointer;
    background-color: white;
    border-radius: 20px;
}

.content {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.services,
.prices {
    width: 45%;
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
    box-shadow: 0px 0px 30px 15px rgba(0, 0, 0, 0.5);
    background-color: #1c1c1c;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 27px;
    box-shadow: 0px 0px 30px 15px rgba(0, 86, 179, 0.4);
}



.service-info,
.service-info1,
.service-info2,
.service-info3,
.service-info4,
.service-info5 {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.service-info h3,
.service-info1 h3,
.service-info2 h3,
.service-info3 h3,
.service-info4 h3,
.service-info5 h3 {
    margin-right: 20px;
}

.service-info:hover,
.service-info1:hover,
.service-info2:hover,
.service-info3:hover,
.service-info4:hover,
.service-info5:hover {
    transform: translateY(-5px);
}

h2 {
    color: white;
    font-family: 'Lobster', cursive;
    text-align: center;
    font-size: 47px;
    font-weight: bold;
    margin-bottom: 15px;
}

ul {
    list-style-type: none;
    padding: 0;
    font-size: 2px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
}

li {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 13px;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
}

/* Product Box Styles */
.product-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    max-width: 600px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 1001;
    transition: all 0.3s ease;
    overflow: auto;
}

.product-box h2 {
    color: #120079;
    margin-bottom: 20px;
    font-size: 2em;
}

.product-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.product-name {
    font-size: 1em;
    margin-left: 10px;
    color: #333;
}

.product-box button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #120079;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s;
}

.product-box button:hover {
    background-color: #120079;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    overflow-y: auto;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 80%;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Service description styles */
.service-description {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #2c2c2c;
    border-radius: 5px;
    font-size: 16px;
}

/* Appointment Booking Icon Styles */
#appointment-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-color: white;
    color: #120079;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

#appointment-icon:hover {
    background-color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

#appointment-icon i {
    transition: transform 0.3s ease;
}

#appointment-icon:hover i {
    transform: rotate(15deg);
}

.contact-footer {
    position: relative;
    /* ✅ was absolute */
    bottom: auto;
    /* ✅ remove bottom stick */
    width: 100%;
    margin-top: 40px;
    /* space above footer */
    padding: 18px 12px;
    background-color: rgba(255, 255, 255, 0.08);
    /* nicer than grey bar */
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item {
    margin: 0 10px;
    white-space: nowrap;
}

/* ===== Haircut Gallery (Premium) ===== */
.gallery-section {
    width: min(1100px, 92%);
    margin: 30px auto 90px;
    padding: 22px 18px;
    border-radius: 16px;
    background: radial-gradient(1200px 400px at 50% 0%, rgba(18, 0, 121, 0.28), rgba(0, 0, 0, 0) 60%),
        rgba(28, 28, 28, 0.9);
    box-shadow: 0px 0px 30px 15px rgba(0, 86, 179, 0.25);
    color: white;
}

.gallery-header {
    text-align: center;
    margin-bottom: 16px;
}

.gallery-header p {
    margin-top: 8px;
    opacity: 0.85;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    letter-spacing: 0.3px;
}

/* Desktop grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* Card */
.gallery-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transform: translateZ(0);
    background: #111;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) saturate(1.05);
    transform: scale(1.02);
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* Overlay caption */
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%);
}

.gallery-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    color: #fff;
}

.gallery-sub {
    margin-top: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    opacity: 0.9;
}

/* Hover effect */
.gallery-card:hover img {
    transform: scale(1.08);
    filter: contrast(1.08) saturate(1.15);
}

.gallery-card:hover {
    box-shadow: 0 18px 40px rgba(18, 0, 121, 0.25), 0 10px 25px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.16);
}

/* Responsive Design */
@media only screen and (max-width: 900px) {
    .header {
        display: flex;
        align-items: center;
        justify-content: start;
        width: 100%;
        height: 20vh;
        margin: auto;
        padding: 0;
        border: none;

        /* Adding three background images */
        background-image: url("../fotos/bcd.jpeg"), url("../fotos/Screenshot\ from\ 2025-02-19\ 15-59-57.png"), url("../fotos/bc.jpeg");

        /* Control the positioning of each image */
        background-position: left center, center center, right center;

        /* Adjust the size of the images */
        background-size: 35% 100%, 30% 100%, 35% 100%;
        /* Left and right 40%, middle 20% */

        /* Ensure all images are visible and do not repeat */
        background-repeat: no-repeat;

        /* Other background settings */
        background-color: #f0f0f0;
        /* Fallback color in case the images don't load */
    }

    .logo {
        width: 50px;
    }

    h2 {
        color: white;
        /* Tekst in wit */
        font-family: 'Lobster', cursive;
        text-align: center;
        font-size: 30px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .service-info,
    .service-info0,
    .service-info1,
    .service-info2,
    .service-info3,
    .service-info4,
    .service-info5 {
        display: center;
        align-items: center;
        cursor: pointer;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .content {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .services,
    .prices {
        width: 100%;
        margin: 10px 0;
        /* box-shadow: 0px 0px 20px 10px rgba(34, 139, 34, 0.3); */
    }

    .product-hamburger {
        position: fixed;
        top: 220px;
        /* Slightly adjust the position for larger screens */
        right: 5px;
        /* Align to the top-left */
        font-size: 30px;
        /* Slightly smaller icon size for medium screens */
        z-index: 1000;
        border-radius: 5px;
        color: #120079;
    }

    .product-hamburger .menu-icon {
        font-size: 30px;
        /* Adjust font size for the icon */
        padding: 10px;
        /* Increase padding */
        border-radius: 5px;
        color: #120079;
        font-family: 'Lobster', cursive;
        background-color: white;
    }

    .product-hamburger .menu-title {
        font-size: 30px;
        /* Adjust title size */
        margin-top: 5px;
        border-radius: 5px;
        color: #120079;
        font-family: 'Lobster', cursive;
        background-color: white;
        /* Keep some space between the icon and title */
    }

    /* Adjustments for the Product Box */
    .product-box {
        width: 70%;
        /* Adjust width for medium screens */
        height: 50%;
        /* Adjust height for medium screens */
        max-width: 500px;
        /* Max width */
        padding: 20px;
        /* Add padding */
    }

    /* Adjustments for the Navigation Hamburger Menu */
    .nav-hamburger {
        position: fixed;
        top: 220px;
        /* Slightly adjust the position for larger screens */
        left: 5px;
        /* Align to the top-left */
        font-size: 30px;
        /* Slightly smaller icon size for medium screens */
        z-index: 1000;
        border-radius: 5px;
        color: #120079;

    }

    .nav-hamburger .menu1-icon {
        font-size: 30px;
        /* Adjust font size for the icon */
        padding: 10px;
        /* Increase padding */
        border-radius: 5px;
        color: #120079;
        font-family: 'Lobster', cursive;
        background-color: white;
    }

    .nav-hamburger .menu1-title {
        font-size: 30px;
        /* Adjust title size */
        margin-top: 5px;
        border-radius: 5px;
        color: #120079;
        font-family: 'Lobster', cursive;
        background-color: white;
        /* Keep some space between the icon and title */
    }

    .nav-container {
        width: max-content;
        /* Ensure it doesn’t stretch across the screen */
        padding: 10px;
        /* Add padding */
        top: 50%;
        /* Position slightly below the hamburger menu */
        left: 50%;
        transform: translate(-50%, -50%);
        height: 200px;
        /* Keep aligned with the hamburger menu */
    }

    .nav a {
        font-size: 25px;
        /* Slightly reduce the font size for links */
        /* Keep padding for easy clicks */
    }

    /* .product-box {
      width: 50%;
      height: 20%;
      max-width: 200px;
    } */

    .product-box h2,
    .modal-content h2 {
        font-size: 1.5em;
    }

    .product-box ul li,
    .modal-content ul li {
        font-size: 14px;
    }

    .modal-content {
        width: 90%;
    }

    .contact-footer {
        position: relative;
        /* Adjust position for smaller screens */
        padding: 5px 0;
        /* Reduce padding */
    }

    .contact-item {
        margin: 5px;
        /* Adjust margin for contact items */
    }

    .gallery-grid {
      display: flex;
      overflow-x: auto;
      gap: 12px;
      scroll-snap-type: x mandatory;
      padding: 6px 2px 10px;
  }

  .gallery-card {
      min-width: 70%;   /* was 85% */
  }

  .gallery-card img {
      height: 220px;    /* smaller */
  }
}