/* ====================================
   TEMA TABERNA - ESTILO MEDIEVAL WOW
   ==================================== */

:root {
    --wood-dark: #2c1810;
    --wood-medium: #4a2f1f;
    --wood-light: #6b4423;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --bronze: #cd7f32;
    --leather: #8b4513;
    --stone: #3d3d3d;
    --fire-orange: #ff6b35;
    --fire-red: #d32f2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c1810;
    background-image: 
        linear-gradient(rgba(20, 15, 10, 0.85), rgba(15, 10, 5, 0.9)),
        url('../img/t1.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #f5f5f5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
}

body::before {
    display: none;
}

.container-fluid, .container {
    position: relative;
    z-index: 2;
}

/* ====================================
   NAVBAR - BARRA SUPERIOR TABERNA
   ==================================== */
.tavern-navbar {
    background: linear-gradient(90deg, 
        rgba(74, 47, 31, 0.98) 0%, 
        rgba(44, 24, 16, 0.98) 50%, 
        rgba(20, 15, 10, 0.95) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--gold);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    backdrop-filter: blur(15px);
}

.tavern-navbar::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.tavern-logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-logo-img {
    max-height: 50px;
    height: auto;
    width: auto;
}

.nav-link {
    color: #f5f5f5 !important;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::before {
    display: none;
}

.nav-link:hover {
    color: var(--gold) !important;
}

/* ====================================
   HERO SECTION - TABERNA PRINCIPAL
   ==================================== */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 0;
}

.hero-section::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-version {
    font-size: 1.4rem;
}

/* ====================================
   BOTONES ESTILO MEDIEVAL
   ==================================== */
.btn-tavern {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--wood-dark);
    border: 3px solid var(--bronze);
    padding: 1rem 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-tavern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-tavern:hover::before {
    left: 100%;
}

.btn-tavern:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 30px rgba(212, 175, 55, 0.5);
    color: var(--wood-dark);
}

.btn-tavern:active {
    transform: t
        linear-gradient(135deg, rgba(74, 47, 31, 0.95) 0%, rgba(44, 24, 16, 0.98) 100%);
    border: 3px solid var(--bronze);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 1.5rem 0;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    margin: 1.5rem 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tavern-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), var(--bronze), var(--gold));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tavern-card:hover {
    transform: none;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tavern-card:hover::before {
    opacity: 0;
}

.card-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-text {
    font-size: 1rem;
    color: #d0d0d0;
    line-height: 1.6;
}

/* ====================================
   SECCIÓN DE ES
        linear-gradient(180deg, rgba(28, 16, 10, 0.95) 0%, rgba(20, 10, 5, 0.98) 100%);
    padding: 5rem 0;
    position: relative;
    border-top: 4px solid var(--bronze);
    border-bottom: 4px solid var(--bronze);
    backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 50.5rem;
    background: 
        linear-gradient(135deg, rgba(74, 47, 31, 0.8) 0%, rgba(44, 24, 16, 0.9) 100%);
    border: 3px solid var(--bronze);
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.stat-box:hover {
    transform: none;
    background: 
        linear-gradient(135deg, rgba(74, 47, 31, 0.95) 0%, rgba(44, 24, 16, 1) 100%);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.9),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 0 40px rgba(212, 175, 55, 0.4
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: none;
    background: rgba(75, 47, 31, 0.8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 1rem;
    color: #d0d0d0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ====================================
   FOOTER - BASE DE LA TABERNA
   ==================================== */
.tavern-footer {
    background: rgba(15, 10, 5, 0.95);
    padding: 2.5rem 0 1rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.footer-text {
    color: #c0c0c0;
    font-size: 0.95rem;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .tavern-logo {
        font-size: 1.8rem;
    }
    
    .btn-tavern {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important;
    }
    
    .hero-version {
        font-size: 1rem !important;
    }
    
    .navbar-logo-img {
        max-height: 40px !important;
    }
    
    .tavern-logo {
        font-size: 1.3rem !important;
    }
}

/* ====================================
   ANIMACIONES
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.delay-1 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.delay-2 { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }
.delay-3 { animation-delay: 0.6s; opacity: 0; animation-fill-mode: forwards; }
