* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    line-height: 1.4;
    font-size: max(min(2.5rem, 5cqw), 1.25rem);
    font-weight: 300;
    overflow-x: hidden;
}

h1 {
    font-size: min(5rem, 10cqw);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2 {
    font-size: max(min(3rem, 6cqw), 1.5rem);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

p + h2 {
    margin-top: 2rem;
}

.long-text h2 {
    margin: 2rem 0;
}

.long-text h3 {
    margin: 1.5rem 0 0.5rem 0;
}

h3 {
    font-size: max(min(2.75rem, 5.5cqw), 1.375rem);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

a {
    border-bottom-color: rgba(255,255,255,1);
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    padding: 0px 0px 2px 0px;
    text-decoration: inherit;
    color: inherit;
}

a:hover {
    color: rgba(150,203,255,1);
}


.outer-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-header {
    background-color: rgba(112,49,117,1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: min(1rem, 2cqw) min(2rem, 4cqw);
    height: min(7rem, 15cqw);
}

.page-header-mobile {
    display: none !important; 
}

.page-header-desktop {
    position: sticky;
    top: 0;
    z-index: 100;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.smallTitle {
    font-size: min(5rem, 9cqw);
}

.extraSmallTitle {
    font-size: min(5rem, 6.5cqw);
}


.header-close {
    display: flex;
    height: 100%;
    align-items: center;
    padding: min(0.75rem, 1.5cqw);
    transition: transform 0.1s, padding 0.1s;
    border: none;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.header-close img {
    height: 100%;
    display: block;
}

.header-close:hover {
    padding: min(0.25rem, 0.5cqw);
    color: inherit;
}

.content-wrapper {
    background-color: rgba(112,49,117,1);
    height: 100%;
    display: flex;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.image-container {
    flex: 0 0 50%;
    background-color: #ffffff;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.image-container picture {
    width: 100%;
    height: 100%;
    display: block;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-container.has-carousel .regular-image {
    display: none;
}

.image-container.has-carousel .carousel-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.55s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;

    font-size: 50px;
    text-shadow: 1px 1px 1px #000;

    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.0);
}

/* Hide arrows when JS is not available */
.carousel-container:not(.js-active) .carousel-arrow {
    display: none;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.text-container {
    flex: 0 0 50%;
    color: white;
    overflow-y: auto;
    container-type: inline-size;
    container-name: text-container;
}

.text-content {
    overflow-x: hidden;
    font-size: max(min(2.5rem, 5cqw), 1.25rem);
    padding: min(2rem, 4cqw);
}

.text-content p {
    margin-bottom: 1rem;
}

.divider {
    border-bottom-color: rgba(255,255,255,1);
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    margin: max(min(1.5rem, 2.5cqw), 0.75rem) 0px;
}

.divider-solid {
    border-bottom-color: rgba(255,255,255,1);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    margin: max(min(1.5rem, 2.5cqw), 0.75rem) 0px 0px 0px;
}

.map-container {
    width: 100%;
    margin-top: 2rem;
    border-radius: 4px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 500px;
    display: block;
    border: 0;
}

/* Index page styles */
.index-image-container .index-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-container {
    width: 100%;
    padding: 3% 13% 2% 5%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.index-links {
    font-weight: 400 !important;
}

.index-links a {
    text-transform: uppercase;
    line-height: 130%;
    display: block;
    border-bottom: none;
    font-size: max(min(5rem, 10cqw), 2.5rem);
}

.index-links a:hover {
    background-color: rgba(255,255,255,0.3);
    transition: all 1500ms ease 0ms;
    -webkit-transition: all 1500ms ease 0ms;
    -moz-transition: all 1500ms ease 0ms;
    color: inherit;
}

.link-extra-space {
    margin-bottom: 1.5rem;
}

.opening-hours {
    width: 500px;
    max-width: 100%;
}

.opening-hours td:first-child { 
    width: 20%; 
}

.closed {
    font-style: italic;
    font-weight: 500;
    opacity: 0.9;
}

/* Mobile styles */
@media (aspect-ratio < 3/4) or ((max-width: 768px) and (aspect-ratio < 1/1)) {
    .page-header-mobile {
        display: flex !important;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        color: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        align-items: center;
        justify-content: space-between;
    }

    .page-header-desktop {
        display: none !important;
    }
    
    .content-wrapper {
        flex-direction: column;
        flex: 1;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .image-container {
        flex: 0 0 auto;
        width: 100%;
        height: 40vh;
    }
    
    .image-container.has-carousel {
        height: min(850px, 60vh);
    }
    
    .index-image-container {
        height: auto;
        min-height: auto;
    }
    
    .index-image-container .index-background {
        display: none;
    }
    
    .logo-container {
        padding: 5% 20% 13% 5%;
        position: relative;
    }
    
    .text-container {
        flex: 1;
        width: 100%;
        padding-top: 0;
        overflow-y: unset;
    }
}


