

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* { font-family: 'Poppins', sans-serif; }

body {
    text-align: justify;
    background: #f7f7f7;
}


#top-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
}

#logo-mini {
    width: 120px;
}

/* Botones del menú */
#btn-contacto, #btn-menu {
    background: #b44728;
    padding: 10px 25px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

#btn-contacto:hover, #btn-menu:hover {
    background: #8c341d;
}

/* SECCIÓN */
.branding-section { padding: 40px; }
.branding-titulo { color: #b44728; margin-bottom: 10px; }
.branding-intro { margin-bottom: 20px; }

/* CARRUSEL CONTENEDOR */
.carrusel-container {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 40px auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* TRACK */
.carrusel-track {
    display: flex;
    transition: transform 0.4s ease;
}

/* Ítems */
.carrusel-item {
    min-width: calc(50% - 12px);
    display: flex;
    justify-content: center;
}

.carrusel-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
}

/* Flechas del carrusel */
.carrusel-btn {
    background: #b44728;
    border: none;
    color: white;
    font-size: 22px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carrusel-btn:hover {
    background: #8c341d;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .carrusel-item { min-width: 100%; }
    .carrusel-img { height: 340px; }
}

/*MODAL*/

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    text-align: center;
    max-width: 85%;
}

.modal-img {
    max-width: 90%;
    max-height: 75vh;
    border-radius: 12px;
    object-fit: contain;
    transition: transform 0.2s;
}

.modal-text {
    color: white;
    margin-top: 15px;
    font-size: 16px;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 45px;
    color: white;
    cursor: pointer;
}

/* Flechas dentro*/
.modal-arrow {
    position: absolute;
    top: 50%;
    font-size: 45px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.modal-prev { left: 30px; }
.modal-next { right: 30px; }

.modal-arrow:hover {
    color: #b44728;
}

.carrusel-btn.prev,
.carrusel-btn.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carrusel-btn.prev {
    left: 10px;
}

.carrusel-btn.next {
    right: 10px;
}
