[hidden] {
    display: none !important;
}

#app {
    opacity: 0;
}

#app.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.banner {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 0 40px;
        position: sticky;
        top: 0;
        z-index: 100;

        background: #fbfaf7;
        box-shadow: 0 4px 16px rgba(7, 73, 30, 0.12);

}

.banner::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -3px;
        height: 3px;
        background: linear-gradient(to right, rgba(7, 73, 30, 0.919), rgba(7, 73, 30, 0));
}


.logo {

        display: flex;
        flex-direction: row;
        align-items: baseline;
        justify-content: left;
        gap: 20px;


}

    .logo__link {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 20px;
        text-decoration: none;
        cursor: pointer;
}

    .logo h1 {
        text-align: center;
        font-family: "Dancing Script", cursive;
        color: rgba(7, 73, 30, 0.919);
        font-size: 3rem;
}

    .logo p{


        color: rgba(7, 73, 30, 0.919);
        opacity: 0.8;
        font-family: sans-serif;
        letter-spacing: 0.4rem;
        text-transform: uppercase;
        font-size: 1.2rem;

}

    .logo img {
        width: 500px;
        height: auto;
}

    .logo__badge {
        font-family: "Montserrat", sans-serif;
        font-size: 0.7rem;
        letter-spacing: 0.05rem;
        text-transform: uppercase;
        color: rgba(7, 73, 30, 0.7);
        border-left: 1px solid rgba(7, 73, 30, 0.3);
        padding-left: 20px;
}


    nav {
        
        display: flex;
        gap: 20px;
        align-items: center;
        justify-content: right;
        font-size: 1.2rem;

}

    nav a {
        color: rgb(0, 48, 2);
        text-decoration: none;
        font-family: "Montserrat", sans-serif;
        padding-bottom: 4px;
        border-bottom: 2px solid transparent; /* reserve space so layout doesn't jump */
        transition: border-color 0.2s ease;

    }

    nav a:hover {
        opacity: 0.6;
        border-bottom-color: rgb(0, 48, 2);

    }

    nav a.active {
    border-bottom-color: rgb(0, 48, 2);
}

.behandelingen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 60px;
}

.behandelingen-item {
    opacity: 0.8;
    cursor: pointer;
}

.behandelingen-item:hover {
    opacity: 1;
}


.behandelingen-item img {
    width: 100%;
    aspect-ratio: 1 / 1; /* keeps each image square, adjust if you want a different shape */
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.2s ease, transform 0.2s ease;  
}

.behandelingen-item img:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}



.behandelingen-item figcaption {
    text-align: center;
    margin-top: 10px;
    font-family: "Cinzel", sans-serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 1.2 rem;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);



}

.behandeling-detail {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.behandeling-back {
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Cormorant Garamond", serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 1.2rem;
    margin-bottom: 30px;
    padding: 0;
}

.behandeling-back:hover {
    text-decoration: underline;
}

.behandeling-detail-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 40px;
}

.behandeling-detail-header h2 {
    font-family: "Cormorant Garamond", serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.behandeling-detail-subtitle {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(7, 73, 30, 0.75);
}

.behandeling-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.behandeling-detail-intro {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
}

.behandeling-detail-section {
    margin-bottom: 30px;
}

.behandeling-detail-section h3 {
    font-family: "Cormorant Garamond", serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 1.45rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(7, 73, 30, 0.3);
    padding-bottom: 6px;
}

.behandeling-detail-section > h4 {
    font-family: "Cormorant Garamond", serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.behandeling-detail-section p,
.behandeling-detail-section li {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.behandeling-detail-section ul {
    list-style: none;
    padding: 0;
}

.behandeling-detail-section li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.behandeling-detail-section li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: rgba(7, 73, 30, 0.919);
}

.behandeling-detail-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.behandeling-detail-feature {
    background: rgba(7, 73, 30, 0.04);
    border-radius: 4px;
    padding: 18px 20px;
}

.behandeling-detail-feature h4 {
    font-family: "Cormorant Garamond", serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.behandeling-detail-feature p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #333;
    margin-bottom: 8px;
}

.behandeling-detail-feature p:last-child {
    margin-bottom: 0;
}

.behandeling-detail-facts {
    align-self: start;
    background: rgba(7, 73, 30, 0.05);
    border: 1px solid rgba(7, 73, 30, 0.15);
    border-radius: 4px;
    padding: 20px 25px;
}

.behandeling-detail-facts dt {
    font-family: "Cormorant Garamond", serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 1rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    margin-top: 16px;
}

.behandeling-detail-facts dt:first-child {
    margin-top: 0;
}

.behandeling-detail-facts dd {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    color: #333;
    margin: 4px 0 0;
}

.behandeling-detail-cta {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.behandeling-detail-button {
    display: inline-block;
    background: rgba(7, 73, 30, 0.919);
    color: #f2ede4;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    letter-spacing: 0.03rem;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.behandeling-detail-button:hover {
    background: rgb(0, 48, 2);
    transform: translateY(-2px);
}




body {
    background: #f9f7f3;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ---------------------------------------------------------
   PLAIN CONTENT PAGES (home, producten, contact)
   --------------------------------------------------------- */

.home-content,
.producten-content,
.contact-content {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.home-content h2,
.producten-content h2,
.contact-content h2 {
    font-family: "Cinzel", sans-serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 2rem;
    margin-bottom: 20px;
}

.home-content p,
.producten-content p,
.contact-content p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
}


/* ---------------------------------------------------------
   HOME BADGE (officiële ESSE verdeler)
   --------------------------------------------------------- */

.home-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.home-badge__image {
    width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(7, 73, 30, 0.15);
    flex-shrink: 0;
}

.home-badge__text {
    text-align: right;
}

.home-badge__eyebrow {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: rgba(7, 73, 30, 0.7);
    margin-bottom: 6px;
}

.home-badge__text h3 {
    font-family: "Cinzel", sans-serif;
    font-size: 1.8rem;
    color: rgba(7, 73, 30, 0.919);
    margin: 0;
}

.home-badge__link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.home-badge__link:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .home-badge {
        flex-direction: column;
        text-align: center;
    }

    .home-badge__text {
        text-align: center;
    }
}


/* ---------------------------------------------------------
   PRODUCTEN ROWS (image + text, alternating)
   --------------------------------------------------------- */

.producten-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
    text-align: left;
}

.producten-row__text {
    flex: 1;
}

.producten-row__image--top {
    object-position: left top;
}

.producten-row__image--left-bottom {
    object-position: left bottom;
}

.producten-row__link {
    color: rgba(7, 73, 30, 0.919);
    text-decoration: underline;
    font-weight: 600;
}

.producten-row__link:hover {
    text-decoration-thickness: 2px;
}

@media (max-width: 700px) {
    .producten-row {
        flex-direction: column;
        text-align: center;
    }
}


/* ---------------------------------------------------------
   HOME HERO (image carousel + text)
   --------------------------------------------------------- */

.home-hero {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
    text-align: left;
}

.home-hero__carousel {
    position: relative;
    width: 320px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(7, 73, 30, 0.15);
}

.home-hero__track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.4s ease;
}

.home-hero__track img {
    width: 33.3333%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.home-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(7, 45, 20, 0.55);
    color: #f2ede4;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.home-hero__arrow:hover {
    background: rgba(7, 45, 20, 0.85);
}

.home-hero__arrow--prev {
    left: 10px;
}

.home-hero__arrow--next {
    right: 10px;
}

.home-hero__dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(242, 237, 228, 0.6);
    cursor: pointer;
    padding: 0;
}

.home-hero__dot.active {
    background: #f2ede4;
}

.home-hero__text p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

@media (max-width: 700px) {
    .home-hero {
        flex-direction: column;
        text-align: center;
    }
}

.contact-content p a {
    color: rgba(7, 73, 30, 0.919);
    font-weight: 600;
}

.contact-content p a:hover {
    text-decoration-thickness: 2px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
    text-align: left;
}

.contact-info-card {
    background: rgba(7, 73, 30, 0.05);
    border: 1px solid rgba(7, 73, 30, 0.15);
    border-radius: 4px;
    padding: 24px 28px;
}

.contact-info-card h3 {
    font-family: "Cinzel", sans-serif;
    color: rgba(7, 73, 30, 0.919);
    font-size: 1.05rem;
    margin: 0 0 12px;
    border-bottom: 1px solid rgba(7, 73, 30, 0.2);
    padding-bottom: 8px;
}

.contact-info-card p {
    margin: 0;
}

.contact-info-card p a {
    color: rgba(7, 73, 30, 0.919);
    text-decoration: none;
}

.contact-info-card p a:hover {
    text-decoration: underline;
}

.contact-info-card dl {
    margin: 0;
}

.contact-info-card dt {
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    color: rgba(7, 73, 30, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    margin-top: 10px;
}

.contact-info-card dt:first-child {
    margin-top: 0;
}

.contact-info-card dd {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    color: #333;
    margin: 2px 0 0;
}

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


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {
    margin-top: auto;
    background: rgb(7, 45, 20);
    color: #f2ede4;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, rgba(242, 237, 228, 0), rgba(242, 237, 228, 0.6), rgba(242, 237, 228, 0));
}

.site-footer__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px;
}

.site-footer__section {
    min-width: 160px;
}

.site-footer__section h3 {
    font-family: "Cinzel", sans-serif;
    color: #f2ede4;
    font-size: 0.95rem;
    letter-spacing: 0.03rem;
    margin: 0 0 12px;
    border-bottom: 1px solid rgba(242, 237, 228, 0.25);
    padding-bottom: 6px;
}

.site-footer__section dl {
    margin: 0;
}

.site-footer__section dt {
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    color: rgba(242, 237, 228, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    margin-top: 10px;
}

.site-footer__section dt:first-child {
    margin-top: 0;
}

.site-footer__section dd {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    color: #f2ede4;
    margin: 2px 0 0;
}

.site-footer__section p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    color: #f2ede4;
    margin: 0 0 8px;
    line-height: 1.5;
}

.site-footer__section p a {
    color: inherit;
    text-decoration: none;
}

.site-footer__section p a:hover {
    text-decoration: underline;
}

.site-footer__instagram {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    color: #f2ede4;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer__instagram:hover {
    opacity: 0.7;
}

.site-footer__instagram-icon {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.site-footer__bottom {
    border-top: 1px solid rgba(242, 237, 228, 0.15);
    text-align: center;
    padding: 16px 20px;
}

.site-footer__bottom p {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 0.9rem;
    color: rgba(242, 237, 228, 0.7);
}


/* ---------------------------------------------------------
   RESPONSIVE (tablet + mobile)
   The header row needs ~890px, so below that it stacks and
   the nav wraps instead of being pushed off-screen.
   --------------------------------------------------------- */

@media (max-width: 920px) {
    .banner {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 10px 16px 12px;
    }

    .logo {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .logo__link {
        gap: 14px;
    }

    .logo h1 {
        margin: 0;
        font-size: 2.4rem;
        line-height: 1.1;
    }

    .logo p {
        margin: 0;
        font-size: 0.95rem;
        letter-spacing: 0.3rem;
    }

    .logo__badge {
        border-left: none;
        padding-left: 0;
        font-size: 0.65rem;
        letter-spacing: 0.08rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 16px;
        font-size: 1rem;
    }

    .behandelingen-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 24px;
        margin: 40px 30px;
    }

    /* browsers give <figure> a 40px side margin, which squeezes the images on small screens */
    .behandelingen-item {
        margin: 0;
    }

    .behandeling-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .banner {
        padding: 8px 12px 10px;
    }

    .logo h1 {
        font-size: 2.1rem;
    }

    .logo p {
        font-size: 0.8rem;
        letter-spacing: 0.22rem;
    }

    nav {
        font-size: 0.92rem;
        gap: 4px 14px;
    }

    .behandelingen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
        margin: 30px 16px;
    }

    .behandelingen-item figcaption {
        font-size: 0.8rem;
        overflow-wrap: anywhere;
    }

    .home-content,
    .producten-content,
    .contact-content {
        margin: 40px auto;
    }

    .home-content h2,
    .producten-content h2,
    .contact-content h2 {
        font-size: 1.6rem;
    }

    .home-badge,
    .home-hero,
    .producten-row {
        gap: 24px;
        margin-top: 40px;
    }

    .home-badge__image {
        width: 100%;
        max-width: 420px;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .home-hero__carousel {
        width: 100%;
        max-width: 320px;
    }

    .behandeling-detail {
        margin: 30px auto;
    }

    .behandeling-detail-header {
        margin-bottom: 10px;
    }

    .behandeling-detail-header h2 {
        font-size: 1.9rem;
    }

    .behandeling-detail-feature-grid {
        grid-template-columns: 1fr;
    }

    .behandeling-detail-button {
        padding: 12px 28px;
    }

    .site-footer__content {
        padding: 28px 20px;
        gap: 28px;
    }
}

