/*  RESET */
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
}
/* 2. Remove default margin */
* {
    margin: 0;
    -webkit-tap-highlight-color: transparent;

}
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}
body {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 300;
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
/* 7. Inherit fonts for form controls */
input, button, textarea, select {
    font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
/*
  10. Create a root stacking context
*/
#root, #__next {
    isolation: isolate;
}

/* GENERAL */

h1 {

}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
}

h2{
    font-size: 2.5rem;
}

html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    scroll-snap-type: y mandatory; /* beide */
    background-color: #000;
    -webkit-overflow-scrolling: touch; /* SUPER belangrijk voor iOS */
    overscroll-behavior-y: contain;       /* <- minder “momentum” chain naar body */
}

.bg-dark {
    background-color: black;
    color: white;
}

.column {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.centered {
    text-align: center;
}

h1,
h2 {
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 32px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-style: normal;
}

.contact-details a {
    color: white;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.capitalize {
    text-transform: capitalize;
}

.uppercase {
    text-transform: uppercase;
}

.sections {
    display: flex;
    flex-direction: column;
}

/* NAV */
.navbar {
    position: absolute;
    background-color: rgba( 0,0,0,0.8);
    z-index: 10;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.navbar > .toggler {
    position: absolute;
    z-index: 10;
    right: 0;
    margin: 10px 15px;
    border: 1px solid grey;
    border-radius: 10px;
    padding: 4px 12px;

    background-color: rgba(0,0,0,0.8);
    color: white;

    -webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3);
    box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3);
}

.navbar > .toggler > .toggler-icon {
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.bar1, .bar2, .bar3 {
    display: block;
    width: 35px;
    height: 4px;
    margin: 6px 0;

    background-color: #FFF;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 10px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -10px) rotate(45deg);
}

.navbar-list {
    transition: 0.4s;
}

.nav-list {
    margin: 0;
    padding: 0;

    list-style-type: none;
}

.nav-item a {
    display:block;
    padding: 10px 15px;

    text-decoration: none;

    color: white;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 600;
}



/* LANGUAGE SWITCHER */
.lang-switcher {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 10px 15px;
    gap: 4px;
}

.lang-item a {
    display: block;
    padding: 4px 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.lang-item a:hover {
    color: white;
}

.lang-item.active a {
    color: white;
    border-bottom-color: white;
}
/* END OF LANGUAGE SWITCHER */

/* END OF NAV */

/* SECTIONS */
section {
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;


}

section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* speel hier met de 0.5 */
    z-index: 0;
}

section > * {

    z-index: 1;
}

.section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.content-box,.jumbotron{
    padding: 38px 62px;
    width: 80%;
    max-width: 1200px;
    margin-bottom: 30px;
}

.jumbotron {
    border: 0px solid;
    border-radius: 30px;
    background-color: rgba(0,0,0,0.6);


    -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.3);
    box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.3);
}

.selection-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.selection-box > header {
    flex: 0 0 100%;
}

.selection-box-item {
    flex: 0 0 45%;
    margin: 10px 0;
    min-height: 200px;

    border-radius: 15px;
    border-width: 2px;
    border-style: solid;

    border-top-color: rgba(255,255,255, 0.2);
    border-right-color: rgba(255,255,255, 0.1);
    border-bottom-color: rgba(255,255,255, 0.1);
    border-left-color: rgba(255,255,255, 0.2);

    /* Optional */
    overflow: hidden;
}

.item-box {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: inherit;
    width: 100%;

    padding: 24px 38px;

    text-decoration: none;
    color: inherit;

    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;


    transition: all .5s;
}

.item-box:hover, .item-box:focus {
    transform: scale(1.2);
}

.item-box > h2, .item-box > h3  {
    margin-top: 100px;
    font-size: 2rem;
}

/* SECTION HOME */
section.home {
    background-image: url(../images/backgrounds/Home_Background.jpg);
    background-position: center 20%;
    justify-content: end;
}

.tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-top: 8px;
    font-style: italic;
}
/* ENF OF SECTION HOME */

/* SECTION ARTS */
section.arts {
    background-image: url(../images/backgrounds/Arts_Background.jpg);
    background-position: center 35%;
}

.item-box.sounds {
    background-image: url(../images/backgrounds/Sounds_Background.jpg);
    background-position: center center;
}

.item-box.dances {
    background-image: url(../images/backgrounds/Dances_Background.jpg);
    background-position: top center;
}

.item-box.experimental {
    background-image: url(../images/Experimental_Sensation_ItemBox.jpg);
    background-position: center 30%;
}
.item-box.fantasy {
    background-image: url(../images/Fantasy_World_ItemBox.jpg);
    background-position: center 30%;
}
.item-box.oriental {
    background-image: url(../images/Oriental_Elegance_ItemBox.jpg);
    background-position: center 30%;
}
.item-box.tribal {
    background-image: url(../images/Tribal_Mystery_ItemBox.jpg);
    background-position: center 30%;
}
.item-box.collab {
    background-image: url(../images/Duo_ItemBox.jpg);
    background-position: center 10%;
}
.item-box.solo {
    background-image: url(../images/Solo_ItemBox.jpg);
    background-position: center 80%;
}
/* END OF SECTION ARTS */

/* SECTION STORIES */
section.stories {
    background-image: url(../images/backgrounds/Story_Background.jpg);
    background-position: center 40%;
}
/* END OF SECTION STORIES */

/* SECTION REFERENCES */
section.references {
    background-image: url(../images/backgrounds/References_Background.jpg);
    background-position: center 65%;
}
/* END OF SECTION REFERENCES */

/* SECTION CONTACT */
section.contact {
    background-image: url(../images/backgrounds/Contact_Background.jpg);
    background-position: center 30%;
}
/* END OF SECTION CONTACT */

/* SECTION SOUNDS */
section.sounds {
    background-image: url(../images/backgrounds/Sounds_Background.jpg);
    background-position: center center;
}
/* END OF SECTION SOUNDS */

/* SECTION SOLO */
section.solo {
    background-image: url(../images/backgrounds/Solo_Background.jpg);
    background-position: center 70%;
}
/* END OF SECTION SOLO */

/* SECTION COLLAB */
section.collab {
    background-image: url(../images/backgrounds/Duo_Background.jpg);
    background-position: 60% 10%;
}
/* END OF SECTION COLLAB */

/* SECTION DANCES */
section.dance {
    background-image: url(../images/backgrounds/Dances_Background.jpg);
    background-position: center center;
}
/* END OF SECTION DANCE */

.performance-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.performance-option {
    display: block;
    min-height: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}

.performance-option::before {
    display: none;
}

.performance-option h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    text-align: center;
}

.performance-option p {
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .performance-options {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
}


/* SECTION EXPERIMENTAL */
section.experimental {
    background-image: url(../images/backgrounds/Experimental_Sensation_Background.jpg);
    background-position: center 40%;
}
/* END OF SECTION EXPERIMENTAL */

/* SECTION FANTASY */
section.fantasy {
    background-image: url(../images/backgrounds/Fantasy_World_Background.jpg);
    background-position: center 35%;
}
/* END OF SECTION FANTASY */

/* SECTION ORIENTAL */
section.oriental {
    background-image: url(../images/backgrounds/Oriental_Elegance_Background.jpg);
    background-position: center 30%;
}
/* END OF SECTION ORIENTAL */

/* SECTION TRIBAL */
section.tribal {
    background-image: url(../images/backgrounds/Tribal_Mystery_Background.jpg);
    background-position: center 30%;
}
/* END OF SECTION TRIBAL */

/* SECTION TERMS */
.terms-content h3 {
    margin-top: 2rem;
    font-size: 1.4rem;
}

.terms-content h4 {
    margin-top: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.terms-content ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

.terms-content p {
    margin: 0.8rem 0;
}

section.terms {
    background-image: url(../images/backgrounds/Conditions_Background.jpg);
}

section.credits {
    background-image: url(../images/backgrounds/Credits_Background.jpg);
}

section.terms {
    min-height: auto;
}

section.credits {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

section.terms {
    align-items: flex-start;
    padding: 120px 0 60px;
}
/* END OF SECTION TERMS */

/* SECTION CREDITS */
.credits-content dl {
    margin: 1rem 0;
}

.credits-content dt {
    font-weight: 600;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.credits-content dd {
    margin: 0.25rem 0 0 0;
    font-size: 1.1rem;
}
/* END OF SECTION CREDITS */

/* REVIEWS */
.reviews {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.review {
    margin: 0;
    padding: 0;
    font-style: italic;
    max-width: 280px;
    opacity: 0.88;
    transition: opacity 0.3s, transform 0.3s;
}

.review:hover {
    opacity: 1;
    transform: scale(1.04);
}

.review:nth-child(odd) {
    text-align: right;
    transform: rotate(-1.5deg);
    align-self: flex-start;
}

.review:nth-child(even) {
    text-align: left;
    transform: rotate(1.5deg);
    align-self: flex-end;
}

.review:nth-child(3n) {
    transform: rotate(-0.8deg);
    align-self: center;
}

.review:only-child {
    text-align: center;
    transform: none;
    max-width: 360px;
}

.review p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.review p::before {
    content: "\201C";
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    line-height: 0;
    vertical-align: -0.3em;
    margin-right: 2px;
    opacity: 0.5;
}

.review p::after {
    content: "\201D";
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    line-height: 0;
    vertical-align: -0.3em;
    margin-left: 2px;
    opacity: 0.5;
}

.review cite {
    display: block;
    margin-top: 0.3rem;
    font-style: normal;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.review cite::before {
    content: "— ";
}
/* END OF REVIEWS */

/* END OF SECTIONS */


/* MEDIA QUERIES */
@media (min-width: 992px) {
    .navbar {
        background-color: rgba( 0,0,0,0.5);
        -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.5);
        box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.5);
    }

    .navbar > .toggler {
        display: none;
    }

    .navbar-list {
        display: flex;
        align-items: center;
        position: relative;
        padding: 0 10px;
    }

    .nav-list {
        flex: 1;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .lang-switcher {
        position: absolute;
        right: 0;
        padding: 0 10px;
    }

    .nav-item {
        display: inline-block;
        padding-top: 5px;
    }

    .nav-item a.active {
        color: #fff;
        border-bottom: 2px solid white;
    }

    .selection-box {
        justify-content: space-evenly;
    }

    .selection-box-item {
        min-width: 45%;
        min-height: 400px;
    }

    .dance .selection-box-item {
        min-height: clamp(220px, 30vh, 280px);
    }

    .references ul {
        list-style: none;
        padding: 0;
        margin: 0;

        position: relative;
        width: 100%;

        /* Hoogte: schaal mee met viewport, maar nooit te klein */
        min-height: 420px;
        height: clamp(420px, 70vh, 820px);
    }

    /* Items */
    .references li {
        position: absolute;
        white-space: nowrap;
        font-weight: 800;
        line-height: 1.1;
        user-select: none;

        /* Artistieke look */
        opacity: 0.92;
        text-shadow: 0 2px 10px rgba(0,0,0,0.55);

        transition: transform .25s ease, opacity .25s ease;
    }

    .references li:hover {
        transform: translate(var(--x, 0), var(--y, 0)) scale(1.06) rotate(var(--r, 0deg));
        opacity: 1;
    }
}

/* Tablet/Mobile */
@media (max-width: 991.98px) {
    body {
        font-size: 16px;
        scroll-snap-type: y proximity;
    }

    h2 {
        font-size: 1.75rem;
    }

    .content-box, .jumbotron {
        padding: 14px 16px;
        width: 92%;
    }

    .hero img {
        min-width: 280px;
    }

    section.home {
        background-position: 40% 20%;
    }

    .tagline {
        font-size: 1.2rem;
        margin-top: 0;
    }

    .nav-item a {
        font-size: 1.4rem;
    }

    .item-box > h2, .item-box > h3 {
        font-size: 1.4rem;
        margin-top: 40px;
    }

    .item-box {
        padding: 16px 20px;
    }

    .jumbotron {
        border-radius: 18px;
    }

    .item-box:hover, .item-box:focus {
        transform: none;
    }

    .selection-box-item {
        min-height: 150px;
    }

    .navbar > .toggler {
        margin: 10px 4%;
    }

    .navbar-list {
        display: none;
        opacity: 0;
    }

    .navbar-list.show {
        display: block;
        height: auto;
        opacity: 1;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255,255,255, 0.4);
    }

    .lang-switcher {
        border-top: 1px solid rgba(255,255,255, 0.4);
        padding: 10px 15px;
    }

    .nav-item a.active {
        color: #f2c94c;
    }

    .selection-box {
        flex-direction: column;
    }

    .dance .selection-box {
        flex-direction: row;
        justify-content: space-between;
    }

    .dance .selection-box-item {
        flex: 0 0 calc(50% - 0.35rem);
        min-width: 0;
        min-height: clamp(110px, 18vh, 140px);
        margin: 0.35rem 0;
    }

    .dance .item-box > h2 {
        margin-top: 20px;
        font-size: clamp(0.85rem, 3.5vw, 1.2rem);
    }

    .references ul{
        position: static;
        display: block;
        min-height: auto;
        height: auto;
    }

    .references li{
        position: static;
        font-size: 1rem;
        transform: none;
        opacity: 1;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section {
        padding-bottom: 5rem;
    }
}

/* LANDSCAPE PHONE */
@media (orientation: landscape) and (max-height: 500px) {
    .section {
        padding: 60px 0 2rem;
    }

    .selection-box {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .selection-box-item {
        min-width: 45%;
        min-height: 120px;
    }

    .item-box > h2, .item-box > h3 {
        margin-top: 20px;
        font-size: 1.2rem;
    }

    .jumbotron, .content-box {
        padding: 12px 16px;
        width: 90%;
    }

    .tagline {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: row;
        gap: 1rem;
    }

    section.terms {
        padding: 70px 0 40px;
    }
}

/* FOOTER */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    color: #aaa;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: #aaa;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: #fff;
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-company {
    margin: 0;
    color: #777;
    white-space: nowrap;
}
/* END OF FOOTER */

/* Responsive reference cloud without collision-prone absolute positioning. */
.references ul {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: clamp(0.75rem, 2vw, 2rem);
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    padding: 1rem 0 !important;
    list-style: none;
}

.references li {
    position: static !important;
    inset: auto !important;
    flex: 0 1 auto;
    max-width: 100%;
    font-size: clamp(0.9rem, 1.8vw, 1.35rem) !important;
    font-weight: 700;
    line-height: 1.3 !important;
    text-align: center;
    white-space: normal !important;
    opacity: 0.92 !important;
    transform: none !important;
}

.references li:nth-child(3n + 1) {
    font-size: clamp(1rem, 2.2vw, 1.65rem) !important;
}

.references li:nth-child(4n + 2) {
    font-size: clamp(0.85rem, 1.5vw, 1.15rem) !important;
}

@media (max-width: 991.98px) {
    .references ul {
        gap: 0.65rem 1rem;
    }

    .footer-company {
        order: 3;
        white-space: normal;
    }
}
