/* Art Matters — Tour Berlin Pages
 * Shared stylesheet for all Berlin collection pages.
 * Extracted from Berlin luxury inline CSS (canonical).
 */

        @font-face {
            font-family: 'OptimaLTPro';
            src: url('../fonts/OptimaLTPro-Roman.otf') format('opentype');
        }

        @font-face {
            font-family: 'OptimaLTbold';
            src: url('../fonts/OptimaLTPro-Bold.otf') format('opentype');
        }

        @font-face {
            font-family: 'OptimaLTbolditalic';
            src: url('../fonts/OptimaLTPro-BoldItalic.otf') format('opentype');
        }

        body {
            margin: 0;
            font-family: 'OptimaLTPro', serif;
            /* Updated to use the new font */
            
            overflow-x: hidden;
            height: 100vh;
        }

        section {
            position: relative;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            color: black;
            padding: 20px;
            background-color: white;
            margin: 0 auto;
            overflow: hidden;
            flex-direction: column;
            max-width: 100%;
            z-index: 1;
        }

        /* Left Container: Text on the left, Image on the right */
        /* This container displays text on the left and an image on the right */
        .content-container-L {
            display: grid;
            grid-template-columns: 470px 500px; /* Fixed widths ensure alignment */
            align-items: start;
            column-gap: 70px;
            max-width: 100%;
            height: auto;
            padding: 50px;
            box-sizing: border-box;
            border-bottom: 1px solid grey;
        }

        /* Right Container: Image on the left, Text on the right */
        /* This container displays an image on the left and text on the right */
        .content-container-R {
            display: grid;
            grid-template-columns: 500px 470px; /* Fixed widths ensure alignment */
            align-items: start;
            column-gap: 70px;
            max-width: 100%;
            height: auto;
            padding: 50px;
            box-sizing: border-box;
            border-bottom: 1px solid grey;
        }

        .text-left,
        .text-right {
            text-align: justify;
            line-height: 23px;
            margin: 0;
            padding: 0;
        }

        figure {
            margin: 0;
            padding: 0;
            display: block;
            /* Let figure behave as a block-level element */
        }

        .section-image-R {
            width: 500px;
            height: auto;
            filter: contrast(100%) brightness(90%);
            margin: 0 0 0 30px; /* Added margin-left of 30px */
            padding: 0;
            display: block;
        }

        .section-image-L {
            width: 500px;
            height: auto;
            filter: contrast(100%) brightness(90%);
            margin: 0 0 0 -30px; /* Added margin-left of 30px */
            padding: 0;
            display: block;
        }

        .image-caption-R {
            font-size: 0.75em;
            color: #666;
            margin-top: 5px;
            text-align: left;
            max-width: 500px;
            line-height: 1.2em;
            margin: 5px 0 0 -30px; /* Added margin-left of -30px */
        }

        .image-caption-L {
            font-size: 0.75em;
            color: #666;
            margin-top: 5px;
            text-align: left;
            max-width: 500px;
            line-height: 1.2em;
            margin: 5px 0 0 30px; /* Added margin-left of 30px */
        }

        .bg1 {
            background: transparent;
            background-size: cover;
            background-position: center;
            width: 100%;
            height: 100vh;
            scroll-snap-align: start;
            filter: brightness(100%);
        }

        .bg1 h1 {
            font-family: 'OptimaLTBold', serif;
        }

        .bg1 img {
            width: 250px;
            height: auto;
            padding-left: 50px;
        }

        .header-container {
            margin: 0 20px;
            margin-left: 250px;
            width: calc(100% - 60px);
            position: relative;
        }

        .language-toggle-container {
            position: absolute;
            top: 20px;
            right: 60px;
            z-index: 10;
            display: table-cell;
            vertical-align: middle;
            text-align: center;
        }

        .language-toggle {
            display: inline-block;
            margin: 0px;
            position: relative;
        }

        .language-toggle>input[type="checkbox"] {
            display: none;
        }

        .language-toggle>label.language-toggle-inner {
            outline: 0;
            display: block;
            width: 4em;
            height: 2em;
            position: relative;
            cursor: pointer;
            user-select: none;
            -webkit-user-select: none;
            overflow: hidden;
            transform: skew(-0deg);
            backface-visibility: hidden;
            transition: all 0.2s ease;
            font-family: 'Playfair Display', serif;
            background: antiquewhite;
        }

        .language-toggle>label.language-toggle-inner:after,
        .language-toggle>label.language-toggle-inner:before {
            transform: skew(0deg);
            display: inline-block;
            transition: all 0.2s ease;
            width: 100%;
            text-align: center;
            position: absolute;
            line-height: 2em;
            color: black;
            text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
        }

        .language-toggle>label.language-toggle-inner:after {
            left: 100%;
            content: attr(data-on);
        }

        .language-toggle>label.language-toggle-inner:before {
            left: 0;
            content: attr(data-off);
        }

        .language-toggle>label.language-toggle-inner:active {
            background: #888;
        }

        .language-toggle>label.language-toggle-inner:active:before {
            left: -10%;
        }

        .language-toggle>input[type="checkbox"]:checked+label.language-toggle-inner {
            background: #86d993;
        }

        .language-toggle>input[type="checkbox"]:checked+label.language-toggle-inner:before {
            left: -100%;
        }

        .language-toggle>input[type="checkbox"]:checked+label.language-toggle-inner:after {
            left: 0;
        }

        .language-toggle>input[type="checkbox"]:checked+label.language-toggle-inner:active:after {
            left: 10%;
        }

        h1,
        .headerp {
            text-align: left;
            color: white;
        }

        h1 {
            font-size: 5em;
            text-shadow: 2px 2px 5px grey;
            font-family: 'OptimaLTPro-Bold', serif;
        }

        .headerp {
            font-size: 1.5em;
            padding-bottom: 10px;
            padding-left: 50px;
            text-shadow: 2px 2px 5px grey;
            max-width: 550px;
        }

        .headerp b {
            font-size: 1.2em;
        }

        .headerp a {
            text-decoration: none;
            color: inherit;
        }

        h2 {
            font-size: 1.5em;
            margin: 10px 0;
            text-align: left;
            color: black;
            font-family: 'OptimaLTbolditalic', serif;
        }

        h3 {
            font-size: 1em;
            margin: 10px 0;
            text-align: left;
        }

        .content-container p {
            font-size: 0.8em;
            margin: 10px 0;
            text-align: left;
            max-width: 450px;
        }

        .tour-button {
            margin-top: 10px;
            padding: 10px 20px;
            font-size: 1em;
            color: black;
            background-color: #e7e7e700;
            border: solid;
            border-radius: 4px;
            cursor: pointer;
        }

        .tour-button:hover {
            background-color: antiquewhite;
            color: black;
            border: solid white;
        }

        .footer {
            background-color: black;
            height: auto;
            min-height: 500px;
            width: 100;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 20px 60px;
            padding-top: 50px;
            scroll-snap-align: end;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        .footer-columns {
            display: flex;
            justify-content: flex-start;
            width: 100%;
            flex-wrap: wrap;
        }

        .footer-column {
            margin-right: 40px;
            color: #999;
            font-size: 12px;
            line-height: 24px;
            text-align: left;
            flex: 1 1 200px;
        }

        .footer-column ul {
            list-style-type: none;
        }

        .contact-info {
            line-height: 18px;
        }

        .footer-logo {
            width: 100px;
            margin-bottom: 0px;
            filter: invert(80);
            padding-left: 40px;
        }

        .footer-text {
            margin-top: 20px;
            font-size: 12px;
            text-align: left;
            color: #999;
            padding-left: 40px;
        }

        .footer a {
            color: #999;
            text-decoration: none;
            padding: 0px 0px;
            border-radius: 5px;
            transition: background-color 0.3s, color 0.3s;
        }

        .footer a:hover {
            color: rgb(111, 106, 252);
        }

        .footer strong {
            color: white;
        }

        .spacer {
            height: 100px;
        }

        @media (max-width: 768px) {
    /* Prevent horizontal scrolling */
    html, body {
        overflow-x: hidden;
    }

    /* Stack containers vertically instead of side-by-side */
    .content-container-L,
    .content-container-R {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        margin: 0 auto;
        border-bottom: 1px solid grey;
    }

    /* Ensure figure (image) appears first on mobile */
    .content-container-L figure,
    .content-container-R figure {
        order: 1; /* Put figure at the top */
        width: 100%;
        max-width: 100%;
    }

    /* Text container follows the figure */
    .content-container-L .text-left,
    .content-container-R .text-right {
        order: 2; /* Text below image */
        text-align: center; /* Center text on mobile */
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Center h2 and h3 headings on mobile */
    .content-container-L h2,
    .content-container-L h3,
    .content-container-R h2,
    .content-container-R h3 {
        text-align: center;
    }

    /* Images scale to fit the container width */
    .section-image-R,
    .section-image-L {
        width: 100% !important;
        max-width: 100%;
        height: auto;
        margin: 0 !important;
        padding: 0;
        display: block;
    }

    /* Captions fit within the container and center align */
    .image-caption-R,
    .image-caption-L {
        font-size: 0.75em;
        color: #666;
        margin: 5px 0 0 0 !important;
        text-align: center;
        max-width: 100%;
        line-height: 1.2em;
    }

    /* Adjust header container to avoid horizontal overflow */
    .header-container {
        margin: 0 20px;  
        width: auto;
        padding: 0;
        box-sizing: border-box;
        position: relative;
    }


    .language-toggle {
            display: inline-block;
            margin-right: 40px;
            position: relative;
        }


    /* Adjust the bg1 image and header text on mobile */
    .bg1 img {
        width: 150px;
        height: auto;
        padding-left: 0;
    }

    .bg1 .headerp {
        padding-left: 10px;
        max-width: calc(100% - 20px);
    }

    /* Adjust language toggle to ensure it fits on small screens */
    .language-toggle-container {
        top: 10px;
        right: 10px;
    }

    /* Footer adjustments */
    .footer {
        padding: 20px;
        box-sizing: border-box;
    }

    .footer-columns {
        display: block;
        width: 100%;
    }

    .footer-column {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }

    .footer-text {
        padding-left: 20px;
        max-width: calc(100% - 40px);
    }

    .spacer {
        height: 20px;
    }


    .coming-soon h1 {
        padding-right: 0;
        padding-left: 0;
        text-align: center;
        width: 100%;
        font-size: 2.5em; /* Reduced from 4em to 2.5em for mobile */
        margin: 20px auto;
    }

    .coming-soon p {
        padding-right: 0;
        padding-left: 0;
        text-align: center;
        width: 100%;
        margin: 20px auto;
        max-width: 90%;
    }

    .coming-soon hr {
        width: 380px;
        max-width: 90%; /* Fallback for very small screens */
    }

    .sub-header {
        font-size: 1.2em !important; /* Increased from 1.5em */
        color: white !important;
        text-shadow: 2px 2px 5px grey !important;
        position: relative !important;
        z-index: 2 !important;
        margin-top: -65px !important; /* Make this more negative to pull it up closer to h1 */
        padding-left: 0px !important;
    }

}

@media (max-width: 700px) {
    .header-container {
        margin: 0;
        width: 100%;
        padding: 0 20px;
    }

    h1 {
        font-size: 3em;
    }

    .headerp {
        font-size: 1.2em;
        padding-left: 10px;
        max-width: calc(100% - 20px);
    }

    .tour-button {
        font-size: 0.9em;
    }

    .header-container h1,
    .header-container .headerp {
        text-align: left;
    }

    .bg1 {
        width: 100vw;
    }

    .sub-header {
        font-size: 1.2em !important; /* Increased from 1.5em */
        color: white !important;
        text-shadow: 2px 2px 5px grey !important;
        position: relative !important;
        z-index: 2 !important;
        margin-top: -10px !important; /* Make this more negative to pull it up closer to h1 */
        padding-left: 0px !important;
    }


}

@media (max-width: 480px) {
    .coming-soon h1 {
        font-size: 2em; /* Even smaller for very small screens */
    }

    .coming-soon h1 {
        font-size: 1.5em; /* Explicitly set for mobile */
        max-width: 50%; /* Limit width to half */
        margin: 0 auto; /* Center the heading */
    }

    .coming-soon p {
        font-size: 1em; /* Adjusted size for mobile */
        max-width: 50%; /* Limit width to half */
        margin: 0 auto; /* Center the paragraph */
    }

    .coming-soon p {
        font-size: 1em; /* Adjusted size for mobile */
    }


    .sub-header {
        font-size: 1.2em !important; /* Increased from 1.5em */
        color: white !important;
        text-shadow: 2px 2px 5px grey !important;
        position: relative !important;
        z-index: 2 !important;
        margin-top: -30px !important; /* Make this more negative to pull it up closer to h1 */
        padding-left: 0px !important;
    }


}

.coming-soon img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.coming-soon .image-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coming-soon .row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.coming-soon .column {
    flex: 1;
    text-align: center;
    margin: 10px;
}

.coming-soon .column h3 {
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

.coming-soon h1 {
    font-size: 4em;
    font-family: 'OptimaLTPro-Bold', serif;
    color: black;
    text-align: left;
    margin: 20px 0;  /* Changed from auto to 0 */
    text-shadow: none;
    width: 100%;
    padding-right: 0; /* Remove right padding */
    border-bottom: 1px solid grey;
}

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;  /* Changed from center to flex-start */
    width: 100%;
    padding: 0 20px;
    max-width: 1500px;  /* Match the image-grid max-width */
    margin: 0 auto;     /* Center the container */
    
}

.coming-soon .image-grid {
    width: 100%;
    max-width: 1200px; /* Add max-width to match typical image grid width */
}

.coming-soon p {
    text-align: left;  /* Changed from center */
    max-width: 1200px;
    margin: 20px 0;    /* Changed from auto to 0 */
    padding: 0;
}

.coming-soon hr {
    width: 100%;
    max-width: 1200px;
    margin: 0;         /* Reset margin */
}

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
}

.coming-soon h1 {
    font-size: 2em;
    font-family: 'OptimaLTPro-Bold', serif;
    color: black;
    text-align: left;
    margin: 20px auto;
    text-shadow: none;
    width: 100%;
    padding-right: 0; /* Keeps desktop offset */
}

.coming-soon p {
    text-align: center;
    max-width: 800px;
    margin: 20px auto;
    padding: 0;
}

@media (max-width: 768px) {
    .coming-soon h1,
    .coming-soon p {
        padding: 0;
        width: 90%;
        margin: 20px auto;
        text-align: center;
    }






}

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Changed from flex-start to center */
    width: 100%;
    padding: 0;  /* Removed padding */
    max-width: 100%;  /* Set max-width to 100% */
    margin: 0 auto;     /* Center the container */
}

.coming-soon h1,
.coming-soon p {
    max-width: 100%; /* Set max-width to 100% */
}

.coming-soon h1,
.coming-soon p {
    text-align: left;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    max-width: 1100px; /* Match the hr width */
}

.coming-soon hr {
    width: 1100px;
    margin: 0;
    border: 1px solid black;
}

/* Base styles for coming-soon section */
.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 75%;
    padding: 5px;
    max-width: 1400px;
    margin: 0 auto;
}

.coming-soon h1 {
    font-size: 4em;
    font-family: 'OptimaLTPro-Bold', serif;
    color: black;
    text-align: left;
    margin: 20px 0;
    text-shadow: none;
    width: 100%;
    padding-right: 0;
    border-bottom: 1px solid grey;
    max-width: 1100px;
}

.coming-soon p {
    text-align: left;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    max-width: 1100px;
}

.coming-soon hr {
    width: 1100px;
    margin: 0;
    border: 1px solid black;
}

.coming-soon img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.coming-soon .image-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.coming-soon .row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.coming-soon .column {
    flex: 1;
    text-align: center;
    margin: 10px;
}

.coming-soon .column h3 {
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

/* Media queries for coming-soon section */
@media (max-width: 768px) {
    .coming-soon h1,
    .coming-soon p {
        padding: 0;
        width: 90%;
        margin: 20px auto;
        text-align: center;
    }

    .coming-soon h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .coming-soon h1 {
        font-size: 1.5em;
        max-width: 50%;
        margin: 0 auto;
        
    }

    .coming-soon p {
        font-size: 0.5em;
        max-width: 50%;
        margin: 0 auto;
        padding-top: 7px;
    }


}
/* this is the main sub-header CSS */
    .sub-header {
        font-size: 1.8em; /* Increased from 1.5em */
        color: white;
        text-shadow: 2px 2px 5px grey;
        position: relative;
        z-index: 2;
        margin-top: -65px; /* Make this more negative to pull it up closer to h1 */
        padding-left: 0px;
    }

    .video-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -2;
    }

    .video-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    