/*
Theme Name: Restaurant Eenig
Author: Innovatie Media & Stoere Binken Design
Author URI: https://innovatiemedia.nl
Description: Een maatwerk thema speciaal ontworpen & ontwikkeld door Innovatie Media in samenwerking met Stoere Binken Design.
Version: 10.0
Text Domain: eenig
*/

/* Gallery spacing */
.image-grid {
    padding-bottom: 8rem;
}

/* Gallery cursor */
.gallery-grid__item,
.gallery-item__button {
    cursor: pointer;
}

/* Scroll reveal - prevent FOUC (Flash of Unstyled Content) */
section:not(.reveal-initialized) .slider,
section:not(.reveal-initialized) .text-content,
section:not(.reveal-initialized) .wrapper > div:not(.gallery-group),
section:not(.reveal-initialized) .wrapper-small > div,
section:not(.reveal-initialized) .gallery-grid,
section:not(.reveal-initialized) .content-left-right > div,
footer:not(.reveal-initialized) img {
    opacity: 0;
}

/* Ensure lightbox is never hidden */
.lightbox-wrap,
[data-lightbox="wrapper"] {
    opacity: 1 !important;
}

/* Margin utilities for sections */
section.no-margin-top,
.content-images-text.no-margin-top {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

section.no-margin-bottom,
.content-images-text.no-margin-bottom {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Margin utilities for heading wrapper */
.heading-wrapper.no-margin-top,
.heading-wrapper.no-margin-top > * {
    margin-top: 0 !important;
}

.heading-wrapper.no-margin-bottom,
.heading-wrapper.no-margin-bottom > * {
    margin-bottom: 0 !important;
}

/* Text alignment utilities */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* Last section before footer - extra spacing */
section.content:last-of-type,
section.content-images-text:last-of-type {
    padding-bottom: 300px !important;
}

@media (max-width: 768px) {
    section.content:last-of-type,
    section.content-images-text:last-of-type {
        padding-bottom: 100px !important;
    }
}

/* Contact page - extra footer spacing */
.page-contact footer {
    padding-top: 350px !important;
    &::after {
        background: none !important;
    }
}

@media (max-width: 768px) {
    .page-contact footer {
        padding-top: 175px !important;
    }
}

.footer-legal {
    a {
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .content.content-left-right:not(:has(~ .content.content-left-right)) {
        margin-bottom: 0 !important;
        padding-bottom: 20px !important;
    }

    .content.content-left-right.content-left.bg-white {
        .wrapper-small {
            top: -30px !important;
            position: relative;
        }
    }
}

/* Content block headings - ensure correct font */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content-images-text h1,
.content-images-text h2,
.content-images-text h3,
.content-images-text h4,
.content-images-text h5,
.content-images-text h6 {
    font-family: "Poltawski Nowy", serif;
}

.bold-nav-full__ul:has(.bold-nav-full__li:hover) .bold-nav-full__li {
    opacity: 0.3 !important;
}

/* Mobile menu font size */
@media (max-width: 767px) {
    .bold-nav-full__link {
        font-size: 40px;
    }
}

.content.content-left-right.content-left.bg-white {
	background: transparent !important;
}


@media screen and (max-width: 1024px) {
		.gallery-grid__item {
	display: flex;
	aspect-ratio: 1 /1;
	}
	.gallery-grid__item img {
	aspect-ratio: 1 /1;
	}
}

/* Content slider indicators position */
.content .slider__indicators {
    bottom: 63px !important;
}

/* Content text-content subtitle font */
.content .text-content .subtitle {
    font-family: "PT Sans", sans-serif !important;
}