@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Montserrat:wght@400;600&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap");

:root {
    --azul-profundo: #1E3A5F;
    --turquesa: #2FA4B9;
    --verde-hoja: #1F7A4D;
    --amarillo-dorado: #F2C94C;
    --blanco: #FFFFFF;
}


/* General */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F4EFE8;
    color: #1E2A2F;
    animation: fadeIn 1.2s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation classes for hero text */
.online-title,
.online-title2,
.online-date,
.online-quote {
    opacity: 0;
    /* meaningful initial state */
    animation: slideDownFade 0.8s ease-out both;
}

.online-title {
    animation-delay: 0.3s;
}

.online-title2 {
    animation-delay: 0.4s;
}

.online-date {
    animation-delay: 0.5s;
}

.online-quote {
    animation-delay: 0.6s;
}

.inscribete-boton {
    opacity: 0;
    /* meaningful initial state */
    animation: slideDownFade 0.8s ease-out both;
    animation-delay: 0.7s;
}

/* Navbar */
.navbar {
    background: rgba(244, 239, 232, .92) !important;
    border-bottom: 2px solid rgba(30, 42, 47, .14);
}

.navbar-brand {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.6rem;
    color: #1E2A2F !important;
    font-weight: 700;
}

.nav-link {
    color: #6E7470 !important;
    font-weight: 500;
    margin-left: 20px;
}

.nav-link:hover {
    color: #1E2A2F !important;
}

/* Carrusel */
.carousel-item img {
    height: 550px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(30, 58, 95, 0.65);
    padding: 20px;
    border-radius: 15px;
}

.carousel-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--amarillo-dorado);
}

.carousel-caption p {
    font-size: 1.1rem;
    color: var(--blanco);
}

/* ===== ONLINE HERO ===== */

.hero-competition {
    position: relative;
    background: url("/img/TeoriraOnline.jpg") center/cover no-repeat;
    background-position: center 30%;
    min-height: 400px;
    /* ajusta si lo quieres más alto */
    display: flex;
    align-items: center;
    color: #fff;
}

/* capa oscura para que se lea el texto */
.hero-competition::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    /* súbele/bájale según la foto */
}

.hero-competition-content {
    position: relative;
    z-index: 2;
}

/* para que el contenido quede arriba del overlay */
.hero-competition-content {
    position: relative;
    z-index: 1;
}

.online-title {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 50px;
}

.online-date {
    font-size: 20px;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: .7;
}

.online-quote {
    max-width: 520px;
    margin: 60px;
    font-size: 18px;
    line-height: 1.5;
    opacity: .8;
}

/* botones inscribete */
.inscribete-boton {
    background-color: #ffffff;
    color: #1E2A2F;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.inscribete-boton:hover {
    background-color: #404c51;
}


.footer {
    background-color: #000;
    color: var(--blanco);
    font-size: 0.9rem;
}

/*Competencias*/
.video-tahiti iframe {
    border-radius: 15px;
}

.competition-card {
    border-radius: 18px;
    padding: 0;
    background-color: #f7f1e8;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

/* cuerpo más compacto */
.competition-card .card-body {
    padding: 26px 22px;
    text-align: center;
}

/* títulos más chicos */
.competition-card h1 {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.45rem;
    line-height: 1.3;
}


.video-tahiti {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.video-tahiti video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.competition-image img {
    height: 430px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.frenchbee {
    max-width: 800px;
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}





.awards {
    background-color: #2f3539;
    color: white;
}

.prizes-section {
    background: #2f3539;
    /* gris elegante */
    padding: 25px 0;
}





/* ====== HERO SECTION ====== */
.prizes-hero {
    padding: 20px;
}

.hero-kicker {
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-title {
    text-align: center;
    font-family: "CMU Serif", "Times New Roman", Times, serif;
    font-size: 47px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-lead {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto;
}


/* Premios */
.prize-card {
    border-radius: 18px;
    padding: 26px;
    background: #f7f1e8;
}

.prize-title {
    font-family: "CMU Serif", "Times New Roman", Times, serif !important;
    font-size: 2.1rem !important;
    text-align: center;
    font-weight: 150;
}

.prize-subtitle {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 1rem !important;
    color: #1E3A5F;
    text-transform: uppercase;

}

.prize-divider {
    border-top: 1px solid #b1a897;
    opacity: 1;
}


.prize-block-title {
    font-family: "CMU Serif", "Times New Roman", Times, serif;
    font-size: 25px !important;
    text-align: center;
}

.prize-block-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px !important;
    font-style: italic;
    text-align: center;
    color: rgba(30, 42, 47, .62);

}

.prize-row {
    display: block;
    margin-bottom: 5px;
    text-align: center;
}

.prize-row span {
    display: block;
}

.en-text,
.fr-text,
.es-text {
    font-size: 14px;

}

.prize-row .fr-text {
    font-style: italic;
}

.category-container {
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.category-prizes {
    text-align: center;
}

.prize-card-european .fr-text {
    display: none;
}

.prize-card-european {
    text-align: center;
}

.prize-card-european .prize-row {
    margin-bottom: 20px;
}

/* French Bee Logo */
.french-bee-logo-hero {
    height: 60px;
    /* Matched to hero title size */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.prize-card-international .en-text {
    display: none;
}

.prize-card-international {
    text-align: center;
}

/* Floating Brand Bubble */
#brand-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#brand-bubble:hover {
    transform: scale(1.1);
}

#brand-bubble video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close-bubble {
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.intl-btn {
    background-color: #2f3539;
    border: none;
    padding: 8px;
    border-radius: 12px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    color: white;
}

/* Quienes Somos Page */
.about-hero {
    background-color: #fff;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    color: #2f3539;
    font-size: 2.5rem;
}

.video-container-showcase {
    width: 100%;
    max-width: 100%;
    height: 350px;
    /* Taller height for side-by-side view */
    margin: 0 auto;
    background: #000;
    line-height: 0;
    border-radius: 12px;
    border: 4px solid #fff;
}

.video-container-showcase video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crops the top/bottom to fit the short box */
}

.about-content {
    background-color: #F4EFE8;
}

.about-content h2,
.about-content h3 {
    font-family: 'Playfair Display', serif;
    color: #2f3539;
}

.about-content p {
    line-height: 1.8;
}

@media (max-width: 768px) {
    .video-container-showcase {
        margin: 0 -15px;
        border-radius: 0 !important;
    }
}

/* Decoración Premios */
.leaf-top-right {
    position: absolute;
    top: -12px;
    right: -10px;
    width: 150px;

}

.leaf-top-left {
    position: absolute;
    top: -17px;
    left: -22px;
    width: 150px;
}

.leaf-bottom-right {
    position: absolute;
    bottom: -10px;
    right: -20px;
    width: 150px;
}

.leaf-bottom-left {
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 150px;
}

.prize-card {
    position: relative;
    overflow: visible;
}

/* Culture Page Styles */
.culture-page {
    background-color: #F4EFE8;
}

.couture-title {
    font-family: 'Playfair Display', serif !important;
    color: #2f3539 !important;
    font-weight: 700;
    font-size: 3.2rem !important;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.culture-lead {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.4rem !important;
    line-height: 1.8;
    color: #4a4a4a;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.culture-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.15rem !important;
    line-height: 1.9;
    color: #2d3436;
    font-weight: 400;
    margin-bottom: 2rem;
}

.culture-page img {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.culture-page img:hover {
    transform: scale(1.02);
}


/* Ediciones Anteriores Refinements */
.editions-section h2 {
    font-family: 'Playfair Display', serif !important;
    color: #2f3539 !important;
    font-weight: 700;
}

.editions-section .carousel-item {
    background-color: #f8f9fa;
}

.editions-section .carousel-item img {
    height: 500px;
    object-fit: contain;
    /* Ensures the whole image is visible without cropping faces */
}

.editions-section video {
    max-height: 500px;
    background-color: #000;
}

@media (max-width: 768px) {
    .editions-section .carousel-item img {
        height: 300px;
    }
}

/* Judges Section */
.judge-photo {
    width: 100%;
    height: 400px;
    /* Fixed height to ensure uniformity */
    object-fit: cover;
    /* Crops the image to fill the area without distortion */
    object-position: top;
    /* Ensures the face remains visible if cropping occurs */
}

.manouche-photo {
    object-position: center 20%;
    /* Adjusted to show face and body better */
}

@media (max-width: 768px) {
    .judge-photo {
        height: 300px;
        /* Smaller height on mobile */
    }
}