:root {
    --primary-color: #FF9E3F;
    --secondary-color: #5E72EB;
    --accent-color: #FF6B6B;
    --dark-color: #1A1A2E;
    --light-color: #F8F9FA;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #FF7E5F 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #8E54E9 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, #16213E 100%);
}

.hero-categories {
    background: var(--gradient-dark);
    color: var(--light-color);
    padding: 5rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-categories::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-categories .container {
    position: relative;
    z-index: 1;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: white;
    position: relative;
    z-index: 1;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: height 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.category-card:hover::after {
    height: 6px;
}

.category-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-header::before {
    opacity: 1;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.category-body {
    padding: 2rem;
    background: white;
    position: relative;
}

.category-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.category-card:hover .category-title::after {
    width: 60px;
}

.category-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.category-count {
    display: inline-block;
    background: rgba(255, 158, 63, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

.btn-explore {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(255, 158, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-explore::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-explore:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(94, 114, 235, 0.4);
}

.btn-explore:hover::after {
    transform: translateX(3px);
}

.no-categories {
    text-align: center;
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    margin: 2rem 0;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('https://kitesurfvacation.com/wp-content/uploads/2016/07/actividadestoursmexico.jpg');
    background-size: cover;
    z-index: 0;
}

.btn-visit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white !important;
}

.btn-visit i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #8E54E9 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.btn-visit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(94, 114, 235, 0.4);
}

.btn-visit:hover::before {
    opacity: 1;
}

.btn-visit:hover i {
    transform: translateX(4px);
}

.btn-visit:active {
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3),
                    0 0 0 1px rgba(255, 255, 255, 0.3),
                    0 0 0 3px rgba(255, 255, 255, 0.3),
                    0 0 0 5px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3),
                    0 0 0 3px rgba(255, 255, 255, 0.3),
                    0 0 0 5px rgba(255, 255, 255, 0.3),
                    0 0 0 8px rgba(255, 255, 255, 0);
    }
}

.no-categories .btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.no-categories .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 117, 252, 0.4);
}

.no-categories .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.no-categories .btn-primary:hover::after {
    opacity: 1;
}

/* .btn-visit::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.4s ease;
}

.btn-visit:hover::after {
    left: 100%;
    top: 100%;
} */
