/* ---------------------------
   Manrope Variable Font (Weight)
   --------------------------- */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-VariableFont_wght.woff2') format('woff2'),
        url('../fonts/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    /* Adjust based on available weights */
    font-style: normal;
    font-display: swap;
}

/* ---------------------------
   Roboto Variable Font (Normal)
   --------------------------- */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-VariableFont_wdth,wght.woff2') format('woff2'),
        url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    /* Adjust based on available weights */
    font-stretch: 75% 125%;
    /* Adjust based on available widths */
    font-style: normal;
    font-display: swap;
}

/* ---------------------------
   Roboto Variable Font (Italic)
   --------------------------- */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Italic-VariableFont_wdth,wght.woff2') format('woff2'),
        url('../fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    /* Adjust based on available weights */
    font-stretch: 75% 125%;
    /* Adjust based on available widths */
    font-style: italic;
    font-display: swap;
}

:root {
    --bg-color: #fff;
    --text-color: #202124;
    --link-color: #007bff;
    --link-hover-color: #0056b3;
    --border-color: #e0e0e0;
    --accent-color: #283618;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.double-text-box p,
.text-container-artwork p:not(.art-details) {
    text-align: justify;
}

.wavy {
    /* fun wavy underline style */
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: var(--text-color);

}

.text-right {
    text-align: right;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    height: 5rem;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.95);
}

.logo {
    position: relative;
    margin-top: 15rem;
    height: 15rem;
    width: auto;
    transition: height 1s ease;
}

.menu-logo {
    margin-top: 2px;
    height: 4rem;
}

.menu-landing {
    font-size: 2rem;
    margin: 0 10px;
    transition: font-size 1s ease;
}


.menu {
    font-size: 1.5rem;
    margin: 0 10px;
}

.hero img {
    position: relative;
    z-index: 999;
    width: 100%;
    pointer-events: none;
    object-fit: cover;
}

.names-container {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    max-width: 85%;
    margin: 0 auto;
}

.name {
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 4px;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

section {
    margin: 40px 0;
}

/* Main Container */
.image-text-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 75lvh;
    /* background-color: var(--accent-color); */
}

.image-container {
    aspect-ratio: 1 / 1;
    height: 100%;
    position: relative;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 45px;
}

.text-container {
    max-height: 100%;
    padding: clamp(15px, 15%, 150px);
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.hero-text {
    padding: 0 15%;
    margin: 120px 0;
    text-align: center;
}

.text-container h1 {
    margin-bottom: 20px;
}

.text-container p {
    font-size: 1.25rem;
    line-height: 1.75;
}

.hero-text h1 {
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Main Container */
.image-text-artwork {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 75lvh;
    background-color: #ffffff;
    padding: 0 5%;
}

/* Image Section with Fixed 1:1 Aspect Ratio */
.image-container-artwork {
    aspect-ratio: 1.25 / 1;
    height: 100%;
    position: relative;
}

.image-container-artwork img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Section */
.text-container-artwork {
    padding: 40px;
    text-align: left;
    overflow-y: auto;
    max-height: 100%;
}

.text-container-artwork h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.art-details {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.text-container-artwork p {
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
    height: 100%;
}

.double-text-box {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
}

/* Artwork Double Layout */
.image-text-artwork-double {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    align-items: center;
    width: 100%;
    height: 75lvh;
    background-color: #ffffff;
    padding: 0 5%;
}

.image-text-artwork-double-left {
    display: flex;
    gap: 25px;
    height: 100%;
}

/* Artwork Text Section */
.artwork-text-container-left {
    text-align: right;
}

.artwork-text-container-left h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Artwork Image Section with Fixed Aspect Ratio */
.artwork-image-container-left {
    aspect-ratio: 3 / 4;
    position: relative;
    height: 100%;
}

.artwork-image-container-left img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-text-artwork-double-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.artwork-text-container-right {
    flex: 1;
    height: 40%;
}

.artwork-text-container-right h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Artwork Image Section with Fixed Aspect Ratio */
.artwork-image-container-right {
    aspect-ratio: 1 / 1;
    position: relative;
    height: 60%;
}

.artwork-image-container-right img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reverse-image-text-artwork {
    flex-direction: row-reverse;
}

.title {
    margin: 20px;
}

.title-centered {
    text-align: center;
}

/* Horizontal Scrolling Gallery */
.horizontal-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    margin: 20px;
    scroll-behavior: smooth;
    align-items: flex-start;
    /* Ensures images align at the top */
}

/* Styling Scrollbar (Only for Webkit Browsers) */
.horizontal-gallery::-webkit-scrollbar {
    height: 12px;
}

.horizontal-gallery::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.horizontal-gallery::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 12px;
}

.horizontal-gallery::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Styling Scrollbar (Only for Webkit Browsers) */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #f0f0f0;
}

body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Gallery Item */
.gallery-item {
    display: flex;
    flex-direction: column;
    white-space: normal;
}

/* Image Container */
.gallery-image {
    height: 60lvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-image img,
video {
    height: 100%;
    /* All images will have the same height */
    width: auto;
    /* Allows width to vary based on aspect ratio */
    object-fit: contain;
    /* Ensures images fit inside without cropping */
}

/* Text Below Image */
.gallery-text {
    text-align: left;
    font-size: 1rem;
    padding: 10px 0;
    max-width: 90%;
}

.extra-space {
    margin: 100px 0 0 0;
}

.featured {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 50px;
    margin: 0 0 100px 0;
}

.featured img {
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

.featured img:hover {
    transform: scale(1.02);
    transition: 0.5s ease-in-out;
}

footer {
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media screen and (max-width: 1900px) {
    .text-container {
        padding: 30px;
    }
    
}

@media screen and (max-width: 1750px) {
    .double-text-box {
        flex-direction: column;
    }    

    .image-container-artwork {
        aspect-ratio: 1.1 / 1;
    }

    .image-text-artwork {
        padding: 0;
    }

    .image-container {
        aspect-ratio: 1 / 1.3;
    }
}

@media screen and (max-width: 1500px) {
    .header {
        padding: 1rem;
    }

    .extra-space {
        margin: 40px 0 0 0;
    }

    .featured {
        margin: 0 0 40px 0;
    }

    .logo {
        position: relative;
        margin-top: 4rem;
        height: 5rem;
    }

    .menu-logo {
        height: 2rem;
        margin-top: 2px;
    }

    .menu-landing {
        font-size: 1rem;
    }

    .header {
        padding: 1rem;
        height: 3rem;
    }

    .names-container {
        font-size: 1rem;
    }

    section {
        margin: 0px 0;
    }

    .hero img {
        height: 100lvh;
        object-fit: cover;
        object-position: right;
        transition: height 2s ease;
    }

    .image-text-container {
        flex-direction: column;
        height: auto;
    }

    .image-container,
    .text-container {
        width: 100%;
    }

    .text-container {
        text-align: center;
        padding: 30px;
    }

    .text-container h1 {
        font-size: 2rem;
    }

    .text-container p {
        font-size: 1rem;
    }

    .hero-text {
        padding: 0 5%;
        margin: 60px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .image-text-artwork {
        flex-direction: column;
        height: auto;
        padding: 5%;
    }

    .image-container-artwork,
    .text-container-artwork {
        width: 100%;
    }

    .image-container {
        height: auto;
        aspect-ratio: 1 / 1;
        /* Ensures the image stays square */
    }

    .text-container-artwork {
        padding: 20px 0px;
    }

    .text-container-artwork h1 {
        font-size: 1.8rem;
    }

    .double-text-box {
        flex-direction: column;
    }

    .image-text-artwork-double {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
        width: 100%;
        height: auto;
    }

    .image-text-artwork-double-left {
        flex-direction: column;
        width: 100%;
        gap: 25px;
        height: 100%;
    }

    .image-text-artwork-double-right {
        width: 100%;
        gap: 25px;
        height: 100%;
    }

    .artwork-image-container {
        width: 100%;
        aspect-ratio: 1 / 1;
        /* Changes to a square ratio for mobile */
    }

    .horizontal-gallery {
        gap: 10px;
        margin: 10px;
    }

    .gallery-image {
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gallery-image img {
        height: 100%;
        object-fit: contain;
    }

    .gallery-text {
        font-size: 0.9rem;
    }

    .featured {
        flex-direction: column;
        gap: 20px;
    }

    .featured img {
        height: 5rem;
    }
}

.contact-body-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    min-height: 100lvh;
}

.contact-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-container-content {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 2rem;
}

.imprint-body-container {
    padding: 50px;
}

.artwork-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: hardCycle 9s infinite;
}

.black-bg {
    background-color: black;
}

.stage1 {
    animation-delay: 0s;
}

.stage2 {
    animation-delay: 3s;
}

.stage3 {
    animation-delay: 6s;
}

@keyframes hardCycle {
    0% {
        opacity: 1;
    }

    33.333% {
        opacity: 1;
    }

    33.334% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.squared-gallery {
    aspect-ratio: 1/1;
    object-fit: cover;
}