/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--verde-hoja) 0%, var(--verde-bosque) 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(232, 180, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 215, 232, 0.2) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.hero p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

/* Section Styles */
section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--tierra-oscuro);
    text-align: center;
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--verde-bosque), var(--rosa-flor));
}

.section-subtitle {
    text-align: center;
    color: var(--tierra-medio);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(93, 78, 55, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(93, 78, 55, 0.25);
}

.category-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--crema), var(--tierra-claro));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--tierra-medio);
    position: relative;
    overflow: hidden;
}

.category-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.category-name {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(to bottom, white, var(--crema));
}

.category-name h3 {
    color: var(--tierra-oscuro);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category-name p {
    color: var(--tierra-medio);
    font-size: 0.9rem;
}

/* Quick Access */
.quick-access {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-box {
    background: linear-gradient(135deg, var(--verde-hoja), var(--verde-bosque));
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: block;
}

.quick-box:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.quick-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
