/* zorgt dat alle elementen netjes worden berekend */

* {
    box-sizing: border-box;
}


/* maakt soepel scrollen mogelijk */

html {
    scroll-behavior: smooth;
}


/* algemene stijl van de pagina */

body {
    margin: 0;
    padding: 0;

    background: #f7f4ee;

    color: #292929;

    font-family: Arial, sans-serif;
}


/* navigatie */

.head1 {
    position: sticky;
    top: 0;

    z-index: 999;

    height: 82px;

    display: flex;
    align-items: center;

    padding: 0 55px;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #ded8cc;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


.logo {
    color: #840e0e;

    font-family: Georgia, serif;

    font-size: 24px;
    font-weight: bold;

    letter-spacing: 4px;

    text-decoration: none;

    margin-right: 55px;
}

.head1 nav a.faciliteiten-button {
    color:#840e0e;

}

.head1 nav a.faciliteiten-button::after {
     width: 100%;
     color:#840e0e;
}

.head1 nav {
    display: flex;

    gap: 30px;

    flex: 1;
}


.head1 nav a {
    position: relative;

    color: #333;

    font-size: 15px;
    font-weight: bold;

    text-decoration: none;

    transition: color 0.25s ease;
}


.head1 nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #840e0e;

    transition: width 0.25s ease;
}


.head1 nav a:hover {
    color: #840e0e;
}


.head1 nav a:hover::after {
    width: 100%;
}


.header-buttons {
    display: flex;

    gap: 10px;
}


.login-button,
.reserve-button {
    padding: 12px 19px;

    border-radius: 3px;

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;
}


.login-button {
    color: #840e0e;

    border: 1px solid #840e0e;

    background: white;
}

.welkom {
padding-top: 4%;
}

.reserve-button {
    color: white;

    background: #840e0e;

    border: 1px solid #840e0e;
}


.login-button:hover {
    background: #f5eeee;
}


.reserve-button:hover {
    background: #a31515;
}


/* grote hero bovenaan */

.room-hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    background-image: url("https://cache.marriott.com/is/image/marriotts7prod/mc-lonch-gillrays-bar-35184:Feature-Hor?wid=1920&fit=constrain");
    background-size: cover;
    background-position: center;
}

.room-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.1)
        );
}

.room-hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
    margin-left: 9%;

    color: white;
}

.section-label {
    margin-bottom: 18px;

    color: #a37c32;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.room-hero h1 {
    margin-bottom: 25px;

    font-family: Georgia, serif;
    font-size: 68px;
    font-weight: normal;
    line-height: 1.05;
}

.room-hero-content > p:not(.section-label) {
    max-width: 570px;
    margin-bottom: 30px;

    color: #f3f1ed;

    font-size: 17px;
    line-height: 1.8;
}

.hero-button,
.booking-button {
    display: inline-block;

    padding: 16px 28px;

    background: #840e0e;
    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: bold;

    transition: 0.3s;
}

.hero-button:hover,
.booking-button:hover {
    background: #650909;
    transform: translateY(-2px);
}


/* introductie onder de hero */

.room-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    padding: 100px 9%;

    background: white;
}

.room-intro h2 {
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: normal;
    line-height: 1.1;
}

.room-intro-text {
    padding-top: 10px;
}

.room-intro-text p {
    margin-bottom: 25px;

    color: #625d57;

    font-size: 16px;
    line-height: 1.8;
}

/* overzicht met de kamers */

.room-overview {
    padding: 100px 7%;
    background: #f7f4ee;
}

.section-heading {
    margin-bottom: 50px;
    text-align: center;
}

.section-heading h2 {
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: normal;
}

.room-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.room-card {
    overflow: hidden;

    background: white;

    color: #29231f;
    text-decoration: none;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);

    transition: 0.4s;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.13);
}

.room-card-image {
    height: 280px;
    overflow: hidden;
}

.room-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: 0.6s;
}

.room-card:hover .room-card-image img {
    transform: scale(1.06);
}

.room-card-content {
    padding: 28px;
}

.card-label {
    margin-bottom: 10px;

    color: #a37c32;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.room-card h3 {
    margin-bottom: 12px;

    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: normal;
}

.room-card p:not(.card-label) {
    min-height: 48px;
    margin-bottom: 20px;

    color: #706a64;

    font-size: 14px;
    line-height: 1.6;
}

.room-card span {
    color: #840e0e;

    font-size: 12px;
    font-weight: bold;
}

/* grote kamer secties */

.room-detail {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    min-height: 720px;

    background: white;
}

.room-detail.reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.room-detail.reverse .room-gallery {
    order: 2;
}

.room-detail.reverse .room-info {
    order: 1;
}


/* galerij van een kamer */

.room-gallery {
    position: relative;

    min-height: 720px;

    overflow: hidden;

    background: #ddd;
}

.room-gallery input {
    display: none;
}

.gallery-main {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 720px;
}

.gallery-main img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition: opacity 0.4s ease;
}

.gallery-thumbs {
    position: absolute;
    left: 35px;
    bottom: 35px;
    z-index: 5;

    display: flex;
    gap: 10px;
}

.gallery-thumbs label {
    width: 80px;
    height: 60px;

    overflow: hidden;

    border: 2px solid rgba(255, 255, 255, 0.6);

    cursor: pointer;

    transition: 0.3s;
}

.gallery-thumbs label:hover {
    border-color: white;
    transform: translateY(-3px);
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* eerste foto van de galerijen */

#bigben1:checked ~ .gallery-main .bigben-img1,
#thames1:checked ~ .gallery-main .thames-img1,
#balcony1:checked ~ .gallery-main .balcony-img1,
#westminster1:checked ~ .gallery-main .westminster-img1,
#southbank1:checked ~ .gallery-main .southbank-img1 {
    opacity: 1;
}


/* tweede foto van de galerijen */

#bigben2:checked ~ .gallery-main .bigben-img2,
#thames2:checked ~ .gallery-main .thames-img2,
#balcony2:checked ~ .gallery-main .balcony-img2,
#westminster2:checked ~ .gallery-main .westminster-img2,
#southbank2:checked ~ .gallery-main .southbank-img2 {
    opacity: 1;
}


/* derde foto van de galerijen */

#bigben3:checked ~ .gallery-main .bigben-img3,
#thames3:checked ~ .gallery-main .thames-img3,
#balcony3:checked ~ .gallery-main .balcony-img3,
#westminster3:checked ~ .gallery-main .westminster-img3,
#southbank3:checked ~ .gallery-main .southbank-img3 {
    opacity: 1;
}


/* vierde foto van de galerijen */

#bigben4:checked ~ .gallery-main .bigben-img4,
#thames4:checked ~ .gallery-main .thames-img4,
#balcony4:checked ~ .gallery-main .balcony-img4,
#westminster4:checked ~ .gallery-main .westminster-img4,
#southbank4:checked ~ .gallery-main .southbank-img4 {
    opacity: 1;
}


/* informatie naast de galerij */

.room-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 8%;
}

.room-number {
    margin-bottom: 22px;

    color: #c9a227;

    font-family: Georgia, serif;
    font-size: 20px;
}

.room-info h2 {
    margin-bottom: 25px;

    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: normal;
    line-height: 1.05;
}

.room-description {
    max-width: 570px;
    margin-bottom: 30px;

    color: #625d57;

    font-size: 16px;
    line-height: 1.8;
}


/* belangrijkste informatie van de kamer */

.room-features {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-bottom: 30px;
    padding: 25px 0;

    border-top: 1px solid #ddd6ca;
    border-bottom: 1px solid #ddd6ca;
}

.room-features div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.room-features span {
    color: #8b837b;

    font-size: 10px;
    letter-spacing: 1.5px;
}

.room-features strong {
    color: #332c27;

    font-size: 13px;
}


/* lijst met kamerfaciliteiten */

.room-amenities {
    margin-bottom: 30px;
}

.room-amenities h3 {
    margin-bottom: 15px;

    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: normal;
}

.amenity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px 20px;
}

.amenity-grid span {
    color: #625d57;

    font-size: 13px;
}

.amenity-grid span::before {
    content: "•";

    margin-right: 8px;

    color: #a37c32;
}


/* knop bij iedere kamer */

.room-button {
    width: fit-content;

    padding: 15px 28px;

    background: #840e0e;
    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: bold;

    transition: 0.3s;
}

.room-button:hover {
    background: #650909;
    transform: translateY(-2px);
}


/* Checkbox onzichtbaar maken */
.beer-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Biertje is aanklikbaar */
.beer-card {
    display: block;
    cursor: pointer;
}

/* Donkere achtergrond van het venster */
.beer-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease,
                visibility 0.3s ease;
}

/* Venster openen met CSS */
.beer-toggle:checked ~ .beer-modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Donkere achtergrond achter het venster */
.beer-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 12, 0.78);
}

.beer-close-area {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

/* Het informatiekaartje */
.beer-modal-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;

    padding: 35px;
    background: #fff;
    color: #292929;
    text-align: center;

    border-top: 4px solid #a37c32;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.beer-toggle:checked ~ .beer-modal .beer-modal-content {
    transform: translateY(0);
}

.beer-modal-content h2 {
    margin: 10px 0 20px;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: normal;
}

.beer-modal-content h3 {
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: normal;
}

.beer-modal-content > p:not(.card-label) {
    color: #706a64;
    font-size: 14px;
    line-height: 1.8;
}

.beer-modal-image {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    margin: 0 auto 20px;
    border-radius: 4px;
}

/* Informatie overzichtelijk weergeven */
.beer-info {
    margin: 25px 0;
    border-top: 1px solid #ded8cc;
}

.beer-info div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #ded8cc;
    text-align: left;
}

.beer-info span {
    color: #8b837b;
    font-size: 10px;
    letter-spacing: 1px;
}

.beer-info strong {
    font-size: 12px;
    text-align: right;
}

/* Sluitknop rechtsboven */
.beer-close {
    position: absolute;
    top: 10px;
    right: 17px;
    color: #840e0e;
    font-size: 30px;
    cursor: pointer;
}

/* Knop onderaan */
.beer-close-button {
    display: inline-block;
    padding: 13px 22px;
    background: #840e0e;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.beer-close-button:hover {
    background: #650909;
}

/* Focus zichtbaar maken voor toetsenbordgebruik */
.beer-toggle:focus-visible + .room-cards .beer-card {
    outline: 2px solid #840e0e;
    outline-offset: 4px;
}

