/* ==========================================================================
   Módulo Turismo y Tradiciones - H. Ayuntamiento de Peribán
   ========================================================================== */

:root {
    --color-guinda: #6b1d37;
    --color-guinda-dark: #4a1224;
    --color-guinda-light: #8c2849;
    --color-gold: #d4af37;
    --color-green-nature: #2e7d32;
}

/* Banner Superior */
.page-header-banner {
    background: linear-gradient(135deg, var(--color-guinda-dark) 0%, var(--color-guinda) 100%) !important;
}

.page-header-banner h1,
.page-header-banner .breadcrumb-item,
.page-header-banner .breadcrumb-item a {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Tarjetas de Atractivos Turísticos con Efecto Visual */
.tourist-card {
    border: none;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tourist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(107, 29, 55, 0.15) !important;
}

.tourist-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--color-guinda-dark);
}

.tourist-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tourist-card:hover .tourist-img-wrapper img {
    transform: scale(1.08);
}

.tourist-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(107, 29, 55, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 50rem;
    font-weight: 600;
}

/* Tarjetas de Festividades */
.fest-card {
    border: none;
    border-radius: 16px;
    background: #ffffff;
    border-left: 5px solid var(--color-gold);
    transition: all 0.3s ease;
}

.fest-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-left-color: var(--color-guinda);
}

.fest-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(107, 29, 55, 0.08) 100%);
    color: var(--color-guinda);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.fest-card:hover .fest-icon {
    background: var(--color-guinda);
    color: #ffffff;
    transform: scale(1.05);
}

/* Botones Personalizados */
.btn-outline-turismo {
    border: 1.5px solid var(--color-guinda);
    color: var(--color-guinda);
    border-radius: 50rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-turismo:hover {
    background-color: var(--color-guinda);
    color: #ffffff;
}

/* Keyframes & Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}