/* ==========================================
 * HOME & GLOBAL STYLES (index.html)
 * Fuente: Tu style.css original recuperado
 * ==========================================
 */

:root {
    /* Paleta de Colores Original */
    --primary: #1F4FFF;        
    --primary-dark: #1636b0;   
    --cta: #FF8A00;            
    --cta-hover: #e57c00;
    --text-dark: #0f172a;      
    --text-gray: #64748b;      
    --bg-light: #f8fafc;       
    --white: #ffffff;
    --border: #e2e8f0;         
    
    /* Sombras Originales */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;            
}

/* --- BASES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
}
h1, h2, h3, h4, .btn { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.icon-svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

/* Layout Utils */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section-padding { padding-top: 2.7rem ; padding-bottom: 3rem; }
.text-center { text-align: center; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; font-size: 0.95rem; transition: all 0.3s ease; }
.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-cta { background-color: var(--cta); color: white; font-size: 1rem; padding: 1rem 2rem; }
.btn-cta:hover { background-color: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3); }
.btn-outline { border: 2px solid var(--border); color: var(--text-dark); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: white; }

/* Header */
.top-trust-bar { background-color: var(--text-dark); color: white; padding: 0.6rem 0; font-size: 0.85rem; text-align: center; font-weight: 500; }
header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; padding: 1rem 0; }
.nav-wrapper { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; }
.logo { justify-self: start; font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 2rem; justify-self: center; margin: 0; }
.nav-links a { font-weight: 500; color: var(--text-dark); font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.auth-buttons { display: flex; gap: 1rem; align-items: center; justify-self: end; }
.auth-buttons .btn { padding: 10px 20px; font-size: 0.94rem; height: auto; min-width: auto; width: auto; white-space: nowrap; }
.btn-sell-highlight { color: var(--primary) !important; border: 2px solid var(--primary); padding: 8px 18px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; } 
.btn-sell-highlight:hover { background: var(--primary); color: white !important; }
.btn-spacer { margin-right: 10px; }

/* Hero Section (Tu degradado original) */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(31, 79, 255, 0.5)), url('https://images.unsplash.com/photo-1459749411177-22925fc4791e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; background-repeat: no-repeat;
    color: white; padding: 6rem 0 8rem 0; text-align: center; position: relative; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.1; font-weight: 800; }
.hero p { font-size: 1.25rem; opacity: 0.95; margin-bottom: 2.5rem; max-width: 700px; margin-inline: auto; font-weight: 400; }

/* Search Box */
.search-container { margin-top: -4.5rem; position: relative; z-index: 100; }
.search-box { background: white; padding: 1.5rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); display: flex; gap: 1.5rem; align-items: flex-end; flex-wrap: wrap; }
.input-group { flex: 1; position: relative; min-width: 200px; display: flex; flex-direction: column; gap: 0.5rem; }
.input-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-left: 0.2rem; }
.input-icon { position: absolute; left: 1rem; bottom: 0.8rem; color: var(--text-gray); width: 18px; height: 18px; z-index: 1; }
.input-control { width: 100%; padding: 0.8rem 1rem 0.8rem 2.8rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; outline: none;
    background: var(--bg-light); color: var(--text-dark); height: 48px; font-family: 'Inter', sans-serif; -webkit-appearance: none; appearance: none; }
.input-control:focus { background: white; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 79, 255, 0.1); }

/* Events Grid & Components */
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--text-dark); text-align: center; }
.section-subtitle { color: var(--text-gray); margin-bottom: 2.5rem; font-size: 1.1rem; text-align: center; }
.event-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
.event-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s ease; border: 1px solid var(--border); display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(31, 79, 255, 0.3); }
.event-card img { width: 100%; height: 100%; object-fit: cover; }
.card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-tag { position: absolute; top: 10px; right: 10px; background-color: var(--primary); color: white; padding: 4px 8px;
    border-radius: 4px; font-size: 0.8rem; font-weight: 600; z-index: 2;
}
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-date { color: var(--primary); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; }
.card-venue { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 1rem; }
.card-footer { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.card-price { font-weight: 600; font-size: 1rem; }
.filter-bar { display: flex; justify-content: center; gap: 15px; margin-bottom: 45px; flex-wrap: wrap; }
.filter-btn {
    background: white; border: 1px solid var(--border); color: #64748b; padding: 12px 28px; border-radius: 50px; font-weight: 600;
    font-size: 0.95rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.filter-btn:hover { color: var(--primary); border-color: var(--primary); background: white; transform: translateY(-3px); box-shadow: 0 8px 15px rgba(31, 79, 255, 0.15); }
.filter-btn:hover i { transform: scale(1.1); }
.filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(31, 79, 255, 0.4); }

/* Features & Trust */
.trust-section { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-top: 1.8rem !important; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.feature-item { padding: 1.5rem; border-radius: var(--radius); transition: 0.2s; }
.feature-item:hover { background: var(--bg-light); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; display: inline-block; }
.feature-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.4; }

/* Organizer CTA */
.organizer-cta { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: white; border-radius: 20px; padding: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.organizer-cta h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.organizer-cta p { font-size: 1.2rem; color: #cbd5e1; }

/* Testimonials */
.bg-gray.section-padding { border-top: 1.5px solid var(--border); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.testimonial-card { background: white; padding: 1.85rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.quote { font-size: 1.05rem; font-style: italic; color: var(--text-dark); display: block; margin-bottom: 1.5rem; font-weight: 500; }
.author { font-size: 0.85rem; color: var(--text-gray); font-weight: 700; text-transform: uppercase; }
.bg-gray { background-color: #F3F4F6; }

/* Footer */
footer { background: white; border-top: 1px solid var(--border); padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; }
.footer-col h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); }
.footer-col a { color: var(--text-gray); font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 2rem 0; display: flex; justify-content: space-between; color: var(--text-gray); font-size: 0.9rem; }

@media (max-width: 968px) {
    .nav-links, .auth-buttons { display: none; }
    .search-box { flex-direction: column; align-items: stretch; }
    .features-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .organizer-cta { flex-direction: column; text-align: center; padding: 3rem 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}