/* ==========================================================================
   GLOBAL STYLE SHEET FOR OPERA FEST LISBOA & OEIRAS
   ========================================================================== */

/* --- 1. Font Face & Core Variable definitions --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;600&display=swap');

:root {
    --of-bg-color: #ffffff;
    --of-text-color: #000000;
    --of-primary-color: #cd40e0;
    --of-accent-color: #a4bfcd;
    --of-accent-hover: #8daac0;
    --of-border-color: #e5e5e5;
    --of-card-bg: #f9f9f9;
    --of-avenir-font: 'Avenir', 'Inter', sans-serif;
    --of-futura-font: 'Futura', 'Outfit', sans-serif;
    --of-header-height: 136px;
    --of-info-bar-height: 100px;
    /* Fallback default */
}

/* --- 2. Foundational Reset & Layout Styles --- */
.opera-fest-main {
    background-color: var(--of-bg-color);
    color: var(--of-text-color);
    font-family: var(--of-avenir-font);
    font-size: 20px;
    line-height: 1.6;
    padding-top: var(--of-header-height);
}

/* Titles */
h1,
h2,
h3,
.info-label,
.breadcrumb,
.sidebar-info-label {
    font-family: var(--of-avenir-font);
    font-weight: 800;
    color: #000000;
}

/* 1400px Container */
.container-1400 {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;
    padding-right: 4rem;
    width: 100%;
    box-sizing: border-box;
}

/* --- 3. Shared Section Headings & Layout Components --- */
.title-section {
    margin: 0 auto 60px;
    padding-left: 4rem;
    padding-right: 4rem;
    position: relative;
}

.main-title {
    font-family: var(--of-avenir-font);
    font-size: 8rem;
    line-height: 1.1;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.title-edition {
    font-family: var(--of-avenir-font);
    font-size: 1.1rem;
    color: var(--of-accent-hover);
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.show-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.show-content-section {
    max-width: 1600px;
    margin: 60px auto;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

.description-col {
    font-family: var(--of-avenir-font);
    font-size: 20px;
    line-height: 1.8;
    color: #000000;
}

.description-col p {
    margin-bottom: 30px;
}

.description-col p.destaque {
    font-size: 22px;
    font-weight: 600;
    border-bottom: 1px solid var(--of-border-color);
}

/* --- 4. Buttons --- */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--of-primary-color);
    color: var(--of-text-color);
    padding: 12px 24px;
    border: 2px solid var(--of-primary-color);
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--of-avenir-font);
    font-weight: 800;
    width: fit-content;
    height: fit-content;
}

.btn-primary:hover {
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 64, 224, 0.2);
}

/* --- 5. Shared Animation Keyframes --- */
@keyframes underline-slide {
    0% {
        transform: scaleX(1);
        transform-origin: bottom right;
    }

    50% {
        transform: scaleX(0);
        transform-origin: bottom right;
    }

    50.1% {
        transform: scaleX(0);
        transform-origin: bottom left;
    }

    100% {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
}

@media (max-width: 768px) {
    .opera-fest-main {
        padding-top: var(--of-header-height);
    }

    .title-section {
        padding-left: 2rem;
        padding-right: 2rem;
        margin-bottom: 40px;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .show-hero {
        height: 45vh;
        min-height: 300px;
    }

    .show-content-section {
        padding: 0 2rem;
        margin: 40px auto;
    }

    .container-1400 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}