/* Infantil Page Specific Styles */

.infantil-page {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

/* Infantil Hero */
.infantil-hero {
    position: relative;
    overflow: visible;
}

.infantil-overlay {
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.2) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(135, 206, 250, 0.2) 100%);
}

.hero-title.infantil-title {
    color: #ffffff !important;
    text-shadow: 
        0 0 20px rgba(255, 105, 180, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(135, 206, 250, 0.4);
    animation: rainbowGlow 3s ease-in-out infinite;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes rainbowGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 105, 180, 0.8),
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(135, 206, 250, 0.4);
    }
    33% {
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(135, 206, 250, 0.6),
            0 0 60px rgba(255, 105, 180, 0.4);
    }
    66% {
        text-shadow: 
            0 0 20px rgba(135, 206, 250, 0.8),
            0 0 40px rgba(255, 105, 180, 0.6),
            0 0 60px rgba(255, 215, 0, 0.4);
    }
}

@keyframes rainbowShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(30deg);
    }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    font-size: 40px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.shape-star {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-balloon {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.shape-candy {
    top: 45%;
    left: 8%;
    animation-delay: 2s;
}

.shape-party {
    top: 60%;
    right: 12%;
    animation-delay: 3s;
}

.shape-gift {
    bottom: 20%;
    left: 15%;
    animation-delay: 1.5s;
}

.shape-rainbow {
    bottom: 30%;
    right: 10%;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

/* Infantil Buttons */
.btn-infantil {
    background: linear-gradient(135deg, #ff69b4 0%, #ffd700 100%);
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

.btn-infantil:hover {
    background: linear-gradient(135deg, #ff1493 0%, #ffb700 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 105, 180, 0.6);
}

/* Infantil Stats */
.infantil-stats {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a1a1a 100%);
}

.infantil-stat {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(135, 206, 250, 0.1) 100%);
    border: 2px solid rgba(255, 105, 180, 0.3);
}

.infantil-stat:hover {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.2) 0%, rgba(135, 206, 250, 0.2) 100%);
    border-color: rgba(255, 105, 180, 0.5);
    transform: translateY(-15px) rotate(2deg);
}

.infantil-icon {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.2) 0%, rgba(255, 215, 0, 0.2) 100%);
    border: 2px solid rgba(255, 105, 180, 0.4);
}

.emoji-icon {
    font-size: 42px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Infantil Services */
.infantil-services {
    background: linear-gradient(180deg, #000000 0%, #0a0a1a 100%);
}

.infantil-subtitle {
    color: #ff69b4;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

.infantil-grid {
    gap: 30px;
}

.infantil-item {
    border-width: 3px;
    position: relative;
    overflow: hidden;
}

.infantil-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.infantil-item:hover::after {
    opacity: 1;
    transform: rotate(45deg);
}

/* Color Themes for Cards */
.color-pink {
    border-color: rgba(255, 105, 180, 0.4);
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.color-pink:hover {
    border-color: rgba(255, 105, 180, 0.8);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.3);
}

.color-blue {
    border-color: rgba(135, 206, 250, 0.4);
    background: linear-gradient(135deg, rgba(135, 206, 250, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.color-blue:hover {
    border-color: rgba(135, 206, 250, 0.8);
    box-shadow: 0 20px 50px rgba(135, 206, 250, 0.3);
}

.color-yellow {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.color-yellow:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.3);
}

.color-green {
    border-color: rgba(50, 205, 50, 0.4);
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.color-green:hover {
    border-color: rgba(50, 205, 50, 0.8);
    box-shadow: 0 20px 50px rgba(50, 205, 50, 0.3);
}

.color-purple {
    border-color: rgba(147, 112, 219, 0.4);
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.color-purple:hover {
    border-color: rgba(147, 112, 219, 0.8);
    box-shadow: 0 20px 50px rgba(147, 112, 219, 0.3);
}

.color-orange {
    border-color: rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.color-orange:hover {
    border-color: rgba(255, 140, 0, 0.8);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.3);
}

.infantil-service-icon {
    background: transparent;
    border: none;
}

.emoji-large {
    font-size: 60px;
    display: block;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.feature-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Age Groups Section */
.age-groups-section {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a0a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.age-groups-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(135, 206, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.age-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.age-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 105, 180, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.age-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #ffd700, #87ceeb);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.age-card:hover::before {
    transform: translateX(0);
}

.age-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 105, 180, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.3);
}

.age-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.age-card:nth-child(1) .age-icon { animation-delay: 0s; }
.age-card:nth-child(2) .age-icon { animation-delay: 0.2s; }
.age-card:nth-child(3) .age-icon { animation-delay: 0.4s; }
.age-card:nth-child(4) .age-icon { animation-delay: 0.6s; }

.age-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.age-description {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Themes Section */
.themes-section {
    background: #000000;
    padding: 100px 0;
    position: relative;
}

.themes-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.themes-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.theme-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(135, 206, 250, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.theme-card:hover::before {
    opacity: 1;
}

.theme-card:hover {
    border-color: rgba(255, 105, 180, 0.5);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
}

.theme-emoji {
    font-size: 60px;
    display: block;
    margin-bottom: 15px;
    animation: wiggle 3s ease-in-out infinite;
}

.theme-card:hover .theme-emoji {
    animation: spin 0.8s ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.theme-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

/* Infantil CTA Section */
.infantil-cta {
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.1) 0%, 
        rgba(0, 0, 0, 0.8) 50%, 
        rgba(135, 206, 250, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.infantil-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 105, 180, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(135, 206, 250, 0.15) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.infantil-cta-content {
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.1) 0%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(135, 206, 250, 0.1) 100%);
    border: 3px solid rgba(255, 105, 180, 0.3);
    position: relative;
}

.infantil-cta-content::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff69b4, #ffd700, #87ceeb, #ff69b4);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.infantil-cta-content:hover::after {
    opacity: 0.5;
}

.cta-emoji {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .age-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .themes-carousel {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 15px;
    }
    
    .theme-emoji {
        font-size: 50px;
    }
    
    .theme-title {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .floating-shapes {
        display: none;
    }
    
    .infantil-hero {
        min-height: 70vh;
    }
    
    .shape {
        font-size: 30px;
    }
    
    .emoji-icon {
        font-size: 36px;
    }
    
    .emoji-large {
        font-size: 48px;
    }
    
    .service-features {
        gap: 6px;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .age-groups-section {
        padding: 80px 0;
    }
    
    .age-container {
        padding: 0 20px;
    }
    
    .age-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .age-card {
        padding: 30px 25px;
    }
    
    .age-icon {
        font-size: 60px;
    }
    
    .age-title {
        font-size: 20px;
    }
    
    .age-description {
        font-size: 14px;
    }
    
    .themes-section {
        padding: 80px 0;
    }
    
    .themes-container {
        padding: 0 20px;
    }
    
    .themes-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
    }
    
    .theme-card {
        padding: 25px 15px;
    }
    
    .theme-emoji {
        font-size: 45px;
    }
    
    .theme-title {
        font-size: 14px;
    }
    
    .cta-emoji {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .infantil-title {
        font-size: 28px;
    }
    
    .emoji-icon {
        font-size: 32px;
    }
    
    .emoji-large {
        font-size: 42px;
    }
    
    .service-features {
        flex-direction: column;
    }
    
    .feature-tag {
        text-align: center;
    }
    
    .age-icon {
        font-size: 50px;
    }
    
    .age-title {
        font-size: 18px;
    }
    
    .themes-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .theme-emoji {
        font-size: 40px;
    }
    
    .cta-emoji {
        font-size: 50px;
    }
}

/* Additional hover effects for mobile */
@media (hover: none) {
    .infantil-item:active {
        transform: scale(0.98);
    }
    
    .theme-card:active {
        transform: scale(0.95);
    }
    
    .age-card:active {
        transform: scale(0.98);
    }
}