/* ===== VARIABLES ===== */
:root {
    --primary-color: #8B6914; /* Dorado elegante */
    --secondary-color: #5D4037; /* Marrón cálido */
    --accent-color: #D7CCC8; /* Beige suave */
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
}

/* ===== ESTILOS GENERALES ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 85vh;
    padding-top: 70px;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ===== CARDS ===== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* ===== BOTONES ===== */
.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.btn-warning:hover {
    background-color: #6B520F;
    border-color: #6B520F;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-outline-warning {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-warning:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== FOOTER ===== */
footer {
    border-top: 3px solid var(--primary-color);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .alert, .blockquote {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
}

/* ===== UTILIDADES ===== */
.text-warning {
    color: var(--primary-color) !important;
}

.bg-warning {
    background-color: var(--primary-color) !important;
}

.border-warning {
    border-color: var(--primary-color) !important;
}