/* =====================================
   Carrusel Dorado Premium - Vijaoldo
   ===================================== */

body {
    font-family: "Poppins", sans-serif;
    background-color: #fffdf8;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 50px;
}

/* ===== CARRUSEL ===== */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 85vh; /* altura para pantallas grandes */
    filter: brightness(0.8);
    transition: height 0.3s ease;
}

/* ===== FILTRO DORADO ===== */
.carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(212, 175, 55, 0.25));
    z-index: 1;
}

/* ===== TEXTO SOBRE EL CARRUSEL ===== */
.carousel-caption {
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 25px 35px;
    color: #3b3b3b;
    text-shadow: none;
    max-width: 600px;
    margin: auto;
    animation: fadeUp 1.5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-caption h1 {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 2rem;
}

.carousel-caption p {
    font-size: 1.1rem;
}

/* ===== VERSIÓN MÓVIL ===== */
@media (max-width: 768px) {
    .carousel-item img {
        height: 65vh; /* más pequeña y adaptable */
    }

    .carousel-caption {
        max-width: 90%;
        padding: 15px 20px;
        background: rgba(255, 255, 255, 0.8);
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .carousel-caption p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* ===== CELULARES PEQUEÑOS ===== */
@media (max-width: 480px) {
    .carousel-item img {
        height: 55vh; /* menor altura */
    }

    .carousel-caption {
        padding: 10px 15px;
        border-radius: 10px;
    }

    .carousel-caption h1 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* ===== BOTÓN DORADO ===== */
.btn-gold {
    background-color: #d4af37;
    border: none;
    color: white;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #b7952e;
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
footer {
    background-color: #f7f2e9;
    color: #5a5a5a;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 50px;
}
