@font-face {
    font-family: "Museo Sans";
    src: url("../fonts/MuseoSans_500-gAOL0Hf.otf") format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Museo Sans";
    src: url("../fonts/MuseoSans_700-TeGaT6V.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --gold: #B09777;
    --gold-dark: #907D67;
    --cream: #F4F1EC;
    --cream-dark: #E6E0DA;
    --gray: #404A59;
    --default-text: #333333;
}


body {
    font-family: "Museo Sans", sans-serif;
    font-size: 1rem;
    background-color: #FFFEF9 !important;
    min-height: 100vh;
    padding-top: 0;
    color: var(--default-text);
}
@media(min-width: 1025px) {
    body {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}
a {
    color: var(--gold-dark);
    text-decoration: underline;
    ;
}
a.tab {
    text-decoration: none;
}
h1 {
    font-family: "Museo Sans", sans-serif;
    font-size: 4rem;
    color: var(--cream);
    margin-bottom: 0;
}
@media(max-width: 1023px) {
    h1 {
        font-size: clamp(2.7rem, 11vw, 3.6rem);
        line-height: 0.95;
        margin-bottom: 0.5rem !important;
    }
}
h2 {
    margin-top: 2rem;
    font-family: "Museo Sans", sans-serif;
    font-size: 1.4rem;
    line-height: 0.9;
    padding-bottom: .2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}
h3 {
    font-family: "Museo Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--default-text);
    margin-bottom: 1rem;
}
ol {
    list-style-type: disc;
    margin-left: 2rem;
}

#logo {
    width: 100px;
    height: auto;
}
@media(min-width: 1025px) {
    #logo {
        position: absolute;
        top: -50px;
        left: -20px;
        z-index: 1000;
        transform: rotate(-10deg);
    }
}

.footer {
    border-top: 1px solid var(--gold);
    text-align: center;
    padding: 1rem;
}
/* Navbar */
.navbar {
    z-index: 1000;
}

.home-navbar {
    align-items: center;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.home-navbar .navbar-center {
    flex: 1;
}
.home-navbar .navbar-end {
    margin-left: auto;
}
.mobile-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.home-navbar .drawer-content {
    display: flex;
    justify-content: flex-end;
}
/* Slideshow */
.slideshow-section {
    padding: 1rem;
}
.slideshow-header {
    text-align: center;
    font-family: "Museo Sans", sans-serif;
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.slideshow-header i {
    font-size: 1.8rem;
    color: var(--gold);
}
.slideshow-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray);
    margin-bottom: 0;
}
.slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.slideshow-viewport {
    overflow: hidden;
    flex: 1;
}
.slideshow-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
}
.slideshow-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 0.25rem;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .slideshow-slide {
        flex: 0 0 50%;
    }
}
@media (min-width: 1024px) {
    .slideshow-slide {
        flex: 0 0 33.333%;
    }
}
.slideshow-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 2px solid var(--gold);
    text-decoration: none;
    aspect-ratio: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.slideshow-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.85);
    color: var(--cream);
    font-size: 0.8rem;
    padding: 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.slideshow-link:hover .slideshow-caption {
    transform: translateY(0);
}
.slideshow-arrow {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 0;
    background: var(--gold);
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease-out;
}
.slideshow-arrow:hover {
    background: var(--gold-dark);
}

/* Themes section */
.themes-section {
    padding: 1rem 1rem 3rem;
}
.themes-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 0;
}
.theme-tab {
    padding: 0.5rem 0;
    border: none;
    text-decoration: none;
    color: #999;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}
.theme-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--gray);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.theme-tab:hover {
    color: var(--gray);
}
.theme-tab.active {
    color: var(--gray);
}
.theme-tab.active::after {
    transform: scaleX(1);
}
.theme-viewport {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.theme-overflow {
    overflow: hidden;
    flex: 1;
}
.theme-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s ease;
}
.theme-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 0.25rem;
    box-sizing: border-box;
}
.theme-slide img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}
.themes-arrow {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease-out;
}
.themes-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
}
@media (max-width: 640px) {
    .slideshow-arrow,
    .themes-arrow {
        width: 2.25rem;
        height: 2.25rem;
    }
}
@media (min-width: 768px) {
    .theme-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        transform: none !important;
    }
    .theme-slide {
        flex: none;
        padding: 0;
    }
    .themes-arrow {
        display: none;
    }
}

main.container {
    background-color: var(--cream) !important;
    box-shadow: 0 0 20px var(--gray) !important;
}
.menu summary ul,
.menu-horizontal summary ul {
    background-color: var(--cream) !important;
}
.menu a,
.menu summary,
.menu-horizontal a,
.menu-horizontal summary {
    font-size: 1.15rem;
    font-family: "Museo Sans", sans-serif;
    font-weight: bold;
    color: black;
    text-decoration: none;
}
.menu ul li a,
.menu-horizontal ul li a {
    font-size: 1rem !important;
    font-family: "Museo Sans", sans-serif !important;
    font-weight: normal !important;
}
.menu a:hover,
.menu summary:hover,
.menu-horizontal a:hover,
.menu-horizontal summary:hover {
    color: var(--gold);
    background-color: transparent !important;
}
.menu a:active,
.menu summary:active,
.menu-horizontal a:active,
.menu-horizontal summary:active {
    color: var(--gold);
    background-color: transparent !important;
}
.menu a:focus,
.menu summary:focus,
.menu-horizontal a:focus,
.menu-horizontal summary:focus {
    color: var(--gold);
    background-color: transparent !important;
}
details.language-switcher summary,
details.language-switcher a {
    font-family: "Museo Sans", sans-serif !important;
    color: black;
    text-decoration: none;
    font-size: 1rem;
}
details.language-switcher ul {
    right: 0;
    left: auto;
}
details.language-switcher i {
    color: var(--gold);
}

.btn-epure {
    background: var(--gold);
    color: white;
    border: 2px solid var(--gold);
    padding: 0.5rem 1rem;
}