
/*=================

 RESET

 ================= */

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



/*=================

 STYLING GLOBAL

 ================= */


html {
  font-size: 62.5%;
}

body {
    background-color: rgba(255,253,208,1.0);
    font-size: 1.6rem;
}

p {
    line-height: 1.6;
}

section h2 {
    font-size: 3.2rem;
    text-align: center;
    margin: 3rem 0 1rem;
}

section { 
    margin: 4rem auto;
    padding: 2rem;
    background: rgb(255,253,208,1.0);
    border-radius: 1rem;
}

main h2 {
    font-size: 3.4rem;
    text-align: center;
    margin: 5rem 0 3rem;
}



/*=================

 STYLING REUSALBE

 ================= */

.subtitle,
header h1,
section h2,
main h2,
.activiteiten h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

.hero-image,
.image-over-left,
.image-over-right,
.praktisch-image,
.eet-image {
    background-size: cover;
    border-radius: 1rem;
}

.map-ligging iframe,
.image-over-left,
.image-over-right,
.eet-image { 
    width: 100%;
}

.activiteiten article,
.voorzieningen,
.nuttige-adressen,
.ter-plaatse,
.take-away,
.contact-section {
    background-color: rgba(245, 239, 227, 0.75);
    border-radius: 1rem;
}




/*=================

 REUSABLE COMPONENTS

 ================= */

.button {
    display: block;
    background-color: rgba(20, 25, 15, 0.8);
    color: rgba(245, 239, 227, 1);
    text-decoration: none;
    padding: 0.8rem 1.4rem;
    border-radius: 0.8rem;
    margin-top: 0.5rem;
    margin-right: 0.8rem;
    width: fit-content;

}

.button:hover {
    background-color: black;
}



/*=================

 ACCESSIBILITY

 ================= */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}


/*=================

 HEADER + NAVIGATIE

 ================= */

header {
    background-image:
        linear-gradient(
            rgba(20, 25, 15, 0.65),
            rgba(20, 25, 15, 0.65)
        ),
        url("images/Pines-banner.png");
    background-size: cover;
    background-position: center;
    padding: 4rem;
    color: rgba(245, 239, 227, 1);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.subtitle {
    text-align: center;
    font-size: 2 rem;
    margin-top: 0;
    margin-bottom: 3rem;
    font-weight: 100;
    color: rgba(0, 0, 0);
}

header h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-align: center; 
    overflow: hidden;
}


nav ul {
    display: flex; 
    gap: 10rem; 
    justify-content: center;
    list-style: none;
    font-size: 2rem;
}

nav a {
    text-decoration: none;
    color: rgba(245, 239, 227, 1); 
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: black;
}



/*=================

 HOMEPAGE

 ================= */

.hero-image {
    max-width: 100%;
    width: 80%;
    height: 60rem;
    margin: 5rem auto 3rem;
    background-image: url("images/WP-voorkant.jpg");
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.openingszin h2 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.openingszin p {
    text-align: center;
    font-size: 1.8rem;
}

.over {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 95vw;
    max-width: none;
    margin: 5rem auto;
}

.over-text {
    text-align: center;
}

.image-over-left,
.image-over-right {
    height: 42rem;
}

.image-over-left {
    background-image: url("images/slaapkamer1.jpg");
    background-position: left;
}

.image-over-right {
    background-image: url("images/WP-keuken.jpg");
    background-position: right;
}

.ligging {
    max-width: 120rem;
    margin: 6rem auto;
    text-align: center;
}

.ligging-text {
    margin-bottom: 2rem;
}

.map-ligging iframe {
    height: 45rem;
    border-radius: 1rem;
    border: none;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 95vw;
    max-width: none;
    margin: 5rem auto;
    padding: 4rem;
    background-color: rgba(20, 25, 15, 0.65);
    border-radius: 1rem;
}

.feature-box {
    text-align: center;
    color: rgba(245, 239, 227, 1);
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.feature-box:last-child {
    border-right: none;
}
    


/*=================

 ACTIVITEITEN PAGINA

 ================= */

.activiteiten {
    max-width: 120rem;
    margin: 5rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.activiteiten article {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 2.5rem;
}

.activiteiten-text {
    margin: 0 auto 5rem;
    text-align: center;
    max-width: 60rem;
}

.activiteiten-text p {
    font-size: 1.8rem;
    line-height: 1.6;
}

.activiteiten p {
    font-size: 1.8rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 1.5rem;
}   

.activiteiten ul {
    list-style: none;
}

.activiteiten li {
    margin-bottom: 3rem;
}

.activiteiten h3 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
}



/*=================

PRAKTISCH PAGINA

 ================= */

.praktisch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 120rem;
    margin: 5rem auto;
}

.praktisch-image {
    height: 30rem;
    max-width: 120rem;
    margin: 4rem auto;
    background-image: url("images/Lake.jpeg");
    background-position: center;
}

.praktisch-text {
    max-width: 60rem;
    margin: 0 auto 4rem;
    text-align: center;
    line-height: 1.6;
}

.praktisch-text p {
    font-size: 1.8rem;
    line-height: 1.6;
}

.nuttige-adressen p {
    text-align: left;
}

.voorzieningen,
.nuttige-adressen {
    padding: 3rem;
}

.voorzieningen h3,
.nuttige-adressen h3 {
    margin-bottom: 2rem;
}



/*=================

 EETGELEGENHEDEN PAGINA

 ================= */

.eetgelegenheden {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 120rem;
    margin: 5rem auto;
}

.eet-text {
    max-width: 60rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.eet-text p {
    font-size: 1.8rem;
    line-height: 1.6;
}

.ter-plaatse,
.take-away {
    padding: 2.5rem;
}

.ter-plaatse h3,
.take-away h3 {
    margin-bottom: 2rem;
}

.ter-plaatse p,
.take-away p {
    text-align: left;
}

.eet-image {
    grid-column: 1 / -1;
    height: 60rem;
    max-width: 120rem;
    margin: 2rem auto 0;
    background-image: url("images/Boom.jpeg");
    background-position: center;
}

/*=================

 EETGELEGENHEDEN PAGINA

 ================= */

 .gallery h2 {
    text-align: center;
    font-size: 3.2rem;
    color:black
    
}

.gallery p {
    max-width: 60rem;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.6;
    color:black
}

.gallery {
    max-width: 1400px;
    margin: 7rem auto 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;

    background-color: rgba(255, 253, 208, 1);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
    cursor: pointer;
}

.gallery-grid img {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 4rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 5rem;
    cursor: pointer;
}

.lightbox-prev {
    left: 3rem;
}

.lightbox-next {
    right: 3rem;
}

.lightbox-arrow:hover {
    opacity: 0.7;
}


/*=================

 CONTACT PAGINA

 ================= */

.contact-section {
    max-width: 70rem;
    margin: 5rem auto;
    padding: 4rem;
}

.contact-text {
    margin-bottom: 3rem;
    text-align: center;
}

.contact-text h3 {
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

form div {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(20, 25, 15, 0.3);
    border-radius: 0.6rem;
    font-family: inherit;
}

textarea {
    min-height: 12rem;
}

.extra h3,
.extra p {
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-align: center;
}



/*=================

 FOOTER

 ================= */

footer {
    text-align: center;
    padding: 2rem;
    font-size: 1.4rem;
}



/*=================

 RESPONSIVE DESIGN

 ================= */

 @media (max-width: 48rem) {

    header h1 {
        font-size: 3.2rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-image {
        width: 90%;
        height: 25rem;
    }

    .over,
    .activiteiten,
    .praktisch,
    .eetgelegenheden {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .image-over-left,
    .image-over-right,
    .praktisch-image,
    .eet-image {
        height: 25rem;
    }

    .features {
        grid-template-columns: 1fr;
        width: 90%;
        gap: 2rem;
    }

    .feature-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding-bottom: 2rem;
    }

    .feature-box:last-child {
        border-bottom: none;
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}



