/* 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 nav a.kamers-button {
    color:#840e0e;

}

.head1 nav a.kamers-button::after {
     width: 100%;
}

.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 {
    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-mh-lonch-duskview%3AClassic-Hor?fit=constrain&wid=2000");
    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);
}


/* grote uitzicht sectie */

.view-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 560px;

    background: #241d19;
    color: white;
}

.view-image {
    overflow: hidden;
}

.view-image img {
    width: 100%;
    height: 100%;
    min-height: 560px;

    display: block;

    object-fit: cover;
}

.view-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 10%;
}

.view-content h2 {
    margin-bottom: 30px;

    font-family: Georgia, serif;
    font-size: 55px;
    font-weight: normal;
    line-height: 1.05;
}

.view-content p:not(.section-label) {
    max-width: 530px;
    margin-bottom: 20px;

    color: #d0c9c2;

    font-size: 16px;
    line-height: 1.8;
}


/* algemene voorzieningen */

.amenities-section {
    padding: 100px 8%;

    background: #eee6d8;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.amenity-box {
    padding: 35px 28px;

    background: white;

    border-top: 3px solid #840e0e;
}

.amenity-icon {
    display: block;

    margin-bottom: 25px;

    color: #c9a227;

    font-family: Georgia, serif;
    font-size: 20px;
}

.amenity-box h3 {
    margin-bottom: 15px;

    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: normal;
}

.amenity-box p {
    color: #706a64;

    font-size: 14px;
    line-height: 1.7;
}


/* afsluitende reserveringssectie */

.room-ending {
    padding: 120px 20px;

    background:
        radial-gradient(
            circle at center,
            #fffdf8 0%,
            #eee6d8 100%
        );

    text-align: center;
}

.room-ending h2 {
    margin-bottom: 25px;

    font-family: Georgia, serif;
    font-size: 56px;
    font-weight: normal;
    line-height: 1.05;
}

.room-ending > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 35px;

    color: #625d57;

    font-size: 16px;
    line-height: 1.8;
}


/* footer van de website */

.footer {
    padding: 65px 30px 30px;

    background: #241d19;
    color: #d8d0c7;

    text-align: center;
}

.footer-logo {
    margin-bottom: 12px;

    color: white;

    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 4px;
}

.footer > p {
    color: #aaa29a;

    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 25px;

    margin: 30px 0;
}

.footer-links a {
    color: #d8d0c7;

    text-decoration: none;

    font-size: 13px;

    transition: 0.3s;
}

.footer-links a:hover {
    color: #c9a227;
}

.footer .copyright {
    padding-top: 25px;

    border-top: 1px solid #403831;

    font-size: 11px;
}


/* tablet versie */

@media (max-width: 1050px) {

    .head1 {
        padding: 0 30px;
    }

    .head1 nav {
        gap: 18px;
    }

    .room-hero h1 {
        font-size: 55px;
    }

    .room-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-detail,
    .room-detail.reverse {
        grid-template-columns: 1fr 1fr;
    }

    .room-info {
        padding: 60px 6%;
    }

    .room-info h2 {
        font-size: 45px;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* mobiele versie */

@media (max-width: 750px) {

    .head1 {
        min-height: 75px;

        padding: 15px 20px;

        flex-wrap: wrap;
        gap: 15px;
    }

    .head1 nav {
        order: 3;

        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 15px;
    }

    .header-buttons {
        margin-left: auto;
    }

    .login-button,
    .reserve-button {
        padding: 10px 13px;
    }

    .room-hero {
        min-height: 520px;
    }

    .room-hero-content {
        margin: 0 7%;
    }

    .room-hero h1 {
        font-size: 43px;
    }

    .room-intro {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 70px 7%;
    }

    .room-intro h2 {
        font-size: 42px;
    }

    .room-cards {
        grid-template-columns: 1fr;
    }

    .room-detail,
    .room-detail.reverse {
        display: flex;
        flex-direction: column;
    }

    .room-detail.reverse .room-gallery,
    .room-detail.reverse .room-info {
        order: initial;
    }

    .room-gallery {
        min-height: 500px;
    }

    .gallery-main {
        min-height: 500px;
    }

    .gallery-thumbs {
        left: 20px;
        bottom: 20px;

        gap: 7px;
    }

    .gallery-thumbs label {
        width: 65px;
        height: 50px;
    }

    .room-info {
        padding: 60px 7%;
    }

    .room-info h2 {
        font-size: 42px;
    }

    .view-section {
        grid-template-columns: 1fr;
    }

    .view-image,
    .view-image img {
        min-height: 400px;
    }

    .view-content {
        padding: 65px 7%;
    }

    .view-content h2 {
        font-size: 43px;
    }

    .amenities-section {
        padding: 70px 7%;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .room-ending {
        padding: 80px 7%;
    }

    .room-ending h2 {
        font-size: 43px;
    }

}


/* kleine telefoons */

@media (max-width: 500px) {

    .logo {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .head1 nav a {
        font-size: 12px;
    }

    .room-hero h1 {
        font-size: 37px;
    }

    .room-intro h2 {
        font-size: 36px;
    }

    .room-info h2 {
        font-size: 36px;
    }

    .room-features {
        grid-template-columns: 1fr;
    }

    .amenity-grid {
        grid-template-columns: 1fr;
    }

    .view-content h2 {
        font-size: 36px;
    }

    .room-ending h2 {
        font-size: 36px;
    }

    .footer-links {
        gap: 15px;
    }

}