* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ==================== NAVEGACIÓN ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-nav {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding-top: 70px;
}

.carousel-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.8s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 28px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.8s ease-out 0.3s both;
}

.hero-tagline {
    font-size: 16px;
    color: #52c77e;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.4s both;
}

/* ==================== CAROUSEL CONTROLS ==================== */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.5s both;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.dot.active {
    background: #52c77e;
    border-color: #52c77e;
    transform: scale(1.2);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #52c77e;
    color: #52c77e;
    transform: scale(1.1);
}

/* ==================== MENÚ DE CATEGORÍAS ==================== */
.categories-menu {
    background: linear-gradient(90deg, #52c77e 0%, #3fa66f 100%);
    padding: 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.menu-item {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 28px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    border-bottom: 4px solid transparent;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom-color: #ffffff;
}

/* ==================== SECCIONES GENERALES ==================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #52c77e;
}

/* ==================== CONTACTO ==================== */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-item {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #52c77e;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: linear-gradient(135deg, #52c77e 0%, #3fa66f 100%);
    color: white;
}

.info-item h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.info-item a,
.info-item p {
    font-size: 18px;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.social-link {
    padding: 18px 30px;
    background: #52c77e;
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 1px;
}

.social-link:hover {
    background: #3fa66f;
    transform: translateX(5px);
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .section-container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 44px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .section-container {
        padding: 0 20px;
    }

    .menu-item {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-nav {
        height: 35px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-tagline {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .carousel-nav {
        gap: 20px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .menu-item {
        padding: 12px 12px;
        font-size: 12px;
    }
}