:root {
    --primary-color: #e83e8c; /* Rosa principal */
    --secondary-color: #6f42c1; /* Morado */
    --accent-color: #20c997; /* Verde turquesa */
    --dark-color: #2c3e50; /* Azul oscuro */
    --light-color: #f8f9fa; /* Gris claro */
    --text-color: #2c3e50; /* Color de texto principal */
    --text-light: #7f8c8d; /* Color de texto secundario */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    padding-top: 70px; /* Para compensar el navbar fijo */
}

a {
    text-decoration: none;
    color: inherit;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #d63384;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    color: #2c3e50;;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    max-height: 700px;
    min-height: 500px;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -70px; /* Elimina el espacio entre navbar y hero */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Categories Section */
.categories {
    padding: 3rem 1rem;
    background-color: var(--light-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.category-info {
    padding: 1.2rem;
    text-align: center;
}

.category-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.category-info p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 3rem 1rem;
    background-color: var(--light-color);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (min-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .categories, .about {
        padding: 3.5rem 1.5rem;
    }
    
    .category-card img {
        height: 200px;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        max-width: 700px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .hero {
        max-height: 800px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .categories, .about {
        padding: 4rem 2rem;
    }
    
    .category-info h3 {
        font-size: 1.4rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-content {
        max-width: 800px;
    }
}