:root {
    --primary-red: #A52A2A;
    --white: #FFFFFF;
    --black: #000000;
}

body {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--black) 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.hero-bg {
    background: url('assets/inicio.png') no-repeat center/cover;
    filter: contrast(1.2) brightness(0.8);
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.faq-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255,255,255,0.2);
}

.detail {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    text-align: left;
    padding: 10px 0;
    transition: opacity 0.3s ease, max-height 0.5s ease;
}

.detail.open {
    opacity: 1;
    max-height: 70vh;
    overflow-y: auto;
}

.sale-card {
    cursor: pointer;
}

.sale-card:hover {
    background: rgba(255,255,255,0.15);
}

.rule-item {
    background: rgba(165,42,42,0.2);
    border-left: 5px solid var(--primary-red);
}

.sale-card img {
    max-height: 150px;
    object-fit: cover;
}

.promo-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.promo-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-red), #8B0000) !important;
    border: 1px solid rgba(255,255,255,0.3);
}

footer {
    background: rgba(0,0,0,0.6);
    margin-top: auto;
}

.menu-icon::before {
    content: '\2630';
    font-size: 1.5em;
}

#faq {
    min-height: 70vh;
    padding-bottom: 3rem;
}

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

.animate-fadeIn {
  opacity: 0;
  animation: fadeIn 2s ease-out forwards;
}

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

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

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

@media (max-width: 768px) {
    .hero-bg {
        height: 100vh;
        min-height: 500px;
    }
    
    .nav-item {
        padding: 8px 12px;
    }
    
    h1 {
        line-height: 1.2;
    }
    
    p {
        line-height: 1.4;
    }
}
