:root {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    --background-color: #F075AE;
    --color-dark: #333;
    --secondary-color: #B8DB80;
    --text-color: #B8DB80;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--background-color);
    margin: 0;
    font-family: sans-serif;
    color: var(--text-color);
}

/* ── Intro overlay ── */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.6s ease;
}

#intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-content {
    text-align: center;
    color: var(--text-color);
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.background-headline {
    color: var(--text-color);
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

.intro-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

#enter-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--background-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

#enter-btn:hover {
    background: #d45a93;
}

/* ── Video overlay ── */
#video-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

#video-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

#video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#skip-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    padding: 0.6rem 1.4rem;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

#skip-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* ── Main site ── */
#main-site {
    opacity: 0;
    transition: opacity 0.8s ease;
}

#main-site.visible {
    opacity: 1;
}

.navbar {
    padding: 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    background-color: var(--secondary-color);
    width: 100%;
    box-sizing: border-box;
}

header {
    width: 100%;
    background-color: var(--secondary-color);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-self: end;
}

.nav-item a {
    font-family: 'Fredoka One', sans-serif;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-item a:hover {
    color: #F075AE;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

.logo {
    width: 150px;
    height: auto;
    display: block;
}

h1 {
    text-align: center;
    margin: 0;
    font-family: 'Fredoka One', sans-serif;
    font-size: 2.6rem;
    text-shadow:
        2px 2px 0 #b0478a,
        4px 4px 0 rgba(0,0,0,0.25),
        0 6px 20px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    text-decoration: underline;
    color: white;
}

h2, h3, h4{
    max-width: 900px;
    margin: 2rem auto 0;
    font-family: 'Fredoka One', sans-serif;
    font-size: 2.2rem;
    text-decoration: underline;;
    text-shadow:
        2px 2px 0 #b0478a,
        4px 4px 0 rgba(0,0,0,0.22),
        0 5px 16px rgba(0,0,0,0.28);
    letter-spacing: 0.5px;
}


p {
    font-family: 'Fredoka One', sans-serif;
    max-width: 700px;
    margin: 1rem auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.text {
    max-width: 700px;
    margin: 1rem auto;
    padding: 1.25rem 1.75rem;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.text.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/* ── Content rows (image + text) ── */
.content-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.content-row--reverse {
    flex-direction: row-reverse;
}

.content-image {
    width: 340px;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.content-row .text {
    margin: 0;
    flex: 1;
}

/* ── Carousel section ── */
#carousel-section {
    padding: 3rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

#carousel-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.carousel-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: rgba(255,255,255,0.8);
}

@media (max-width: 1023px) {
    .navbar {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        padding: 1rem 1.5rem;
        gap: 0.5rem;
    }

    .navbar h1 {
        grid-column: 2;
        grid-row: 1;
        font-size: 1.8rem;
        text-align: left;
    }

    .navbar ul {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        gap: 1.5rem;
    }

    .logo {
        width: 110px;
        grid-row: 1;
    }

    .content-image {
        width: 260px;
        height: 200px;
    }

    .carousel-slide img {
        height: 350px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
        gap: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar ul {
        justify-self: unset;
        gap: 1.2rem;
    }

    .logo {
        width: 90px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    #enter-btn {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }

    .text {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .content-row,
    .content-row--reverse {
        flex-direction: column;
    }

    .content-image {
        width: 100%;
        height: 200px;
    }

    #details {
        padding: 1.5rem 0.75rem 2rem;
    }

    .map-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .map-links {
        flex-direction: column;
        width: 100%;
    }

    #carousel-section {
        padding: 2rem 0.5rem;
    }

    .carousel-container {
        gap: 0.5rem;
    }

    .carousel-slide img {
        height: 280px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ── Location section ── */
#details {
    padding: 2rem 1rem 3rem;
}

#details h2 {
    text-align: center;
    margin-bottom: 0;
}

.location-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.location-card address {
    font-family: 'fredoka one', sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
}

.w3w-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: #e11f26;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
    transition: background 0.2s;
}

.w3w-badge:hover {
    background: #b91920;
}

.w3w-slashes {
    font-weight: 800;
    letter-spacing: -1px;
}

.map-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.map-btn {
    padding: 0.5rem 1.2rem;
    border: 2px solid #333;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s;
}

.map-btn:hover {
    background: #333;
    color: #fff;
}

hr {
    border: 1px solid rgba(0,0,0,0.1);
}

footer {
    background-color: var(--secondary-color);
    color: #fff;
    margin: 2rem -20px -20px -20px;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.15);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #fff;
}

.footer-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.footer-nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: rgba(255,255,255,0.85);
}