/* ========================================
   VARIABLES GLOBALES
======================================== */
:root {
    --primary-color: #6C5CE7;
    --secondary-color: #FD79A8;
    --accent-color: #00CEFF;
    --dark-color: #2D3436;
    --light-color: #FDFDFD;
    --party-green: #00B894;
    --party-orange: #FDCB6E;
}

/* ========================================
   ESTILOS BASE
======================================== */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-color);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   HERO SECTION - CARRUSEL
======================================== */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    height: 100%;
}

.hero-carousel .carousel-inner, 
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-overlay {
    background: rgba(45, 52, 54, 0.7);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 2px solid var(--accent-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    color: var(--light-color);
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   LOGO
======================================== */
.logo-circle {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: pulse 3s infinite;
    border: 3px solid var(--party-orange);
}

.logo-circle img {
    max-width: 100px;
}

.logo-circle:hover {
    transform: scale(1.05) rotate(5deg);
}

/* ========================================
   BOTONES HERO
======================================== */
.btn-hero {
    padding: 18px 40px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 300px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero i {
    margin-right: 10px;
    font-size: 1.6rem;
}

.btn-contract {
    background: linear-gradient(to right, var(--primary-color), #5a4ad0);
    color: white;
}

.btn-offer {
    background: linear-gradient(to right, var(--party-green), #009e7d);
    color: white;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.btn-contract:hover {
    background: linear-gradient(to right, #5a4ad0, #4a3ac0);
}

.btn-offer:hover {
    background: linear-gradient(to right, #009e7d, #008d6c);
}

/* ========================================
   CONTROLES DE CARRUSEL
======================================== */
.carousel-control-prev, 
.carousel-control-next {
    width: 70px;
    height: 70px;
    background: rgba(253, 253, 253, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 0.8;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    background: rgba(253, 253, 253, 0.3);
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: var(--accent-color);
}

.carousel-indicators .active {
    background-color: var(--secondary-color);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 20;
}

/* ========================================
   FILTROS Y BÚSQUEDA
======================================== */
.search-container {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.1);
    margin-bottom: 2rem;
    border: 1px solid rgba(108, 92, 231, 0.1);
    position: relative;
    max-width: 800px;
    margin: 2rem auto 3rem;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.3rem;
}

#search {
    padding: 1.2rem 1.5rem;
    padding-left: 3.5rem;
    border-radius: 50px;
    border: 1px solid rgba(108, 92, 231, 0.2);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.95);
}

#search:focus {
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.form-control.ps-5, .form-select {
    padding-left: 2.5rem !important;
    border: 1px solid rgba(108, 92, 231, 0.2);
    background-color: var(--light-color);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(108, 92, 231, 0.25);
}

/* ========================================
   FILTROS DE CATEGORÍA
======================================== */
.category-filters {
    display: flex;
    overflow-x: auto;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    gap: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
}

.category-filters::-webkit-scrollbar {
    height: 6px;
}

.category-filters::-webkit-scrollbar-track {
    background: var(--light-color);
}

.category-filters::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 6px;
}

.category-filter {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: var(--light-color);
    border: 1px solid rgba(108, 92, 231, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    font-weight: 500;
    color: var(--dark-color);
}

.category-filter:hover {
    background: rgba(108, 92, 231, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.1);
}

.category-filter.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

.category-filter i {
    margin-right: 0.5rem;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.category-filter:hover i {
    animation: bounce-icon 0.5s;
    color: var(--secondary-color);
}

.category-filter.active i {
    color: white;
}

/* ========================================
   TARJETAS DE NEGOCIOS
======================================== */
.business-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 2rem;
    background: white;
    position: relative;
    border-top: 4px solid var(--secondary-color);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108,92,231,0.1) 0%, rgba(253,121,168,0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.business-card:hover::before {
    opacity: 1;
}

.business-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.business-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card:hover .business-image {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-badge {
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 0.8rem;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.card-body {
    padding: 1.8rem;
    position: relative;
    z-index: 1;
}

.card-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.card-text {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-visit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-visit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.5);
    color: white;
}

.btn-visit i {
    margin-left: 8px;
    font-size: 0.9rem;
}

/* ========================================
   SECCIÓN DE SERVICIOS
======================================== */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
}

.section-title {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card-body {
    padding: 25px;
}

.service-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ========================================
   ELEMENTOS ESPECIALES
======================================== */
.no-results {
    text-align: center;
    padding: 4rem 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 2rem 0;
    border: 2px dashed var(--secondary-color);
}

.no-results i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-results h4 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: #777;
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.loading {
    display: none;
    text-align: center;
    padding: 3rem;
    color: var(--primary-color);
}

.loading i {
    font-size: 3rem;
    animation: spin 1s linear infinite;
}

.party-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--party-orange));
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 10px;
    vertical-align: middle;
}

.featured-event {
    position: relative;
    border: 2px solid var(--party-orange);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--party-orange);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    z-index: 3;
    box-shadow: 0 3px 15px rgba(253, 203, 110, 0.5);
    transform: rotate(15deg);
}

.highlight {
    background: linear-gradient(45deg, var(--party-orange), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--party-green));
}

/* ========================================
   ANIMACIONES
======================================== */
@keyframes pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(108, 92, 231, 0);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) translateX(-50%); 
    }
    40% { 
        transform: translateY(-20px) translateX(-50%); 
    }
    60% { 
        transform: translateY(-10px) translateX(-50%); 
    }
}

@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hero-overlay {
        padding: 20px;
        width: 90%;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .btn-hero {
        min-width: 90%;
        font-size: 1.2rem;
        padding: 15px 20px;
        margin: 8px auto;
        display: block;
    }
    
    .btn-hero i {
        font-size: 1.3rem;
    }
    
    .category-filters {
        padding-bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .category-filter {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .category-filter i {
        margin-right: 0.3rem;
        font-size: 1em;
    }
}