/* Radical Kids - Main CSS */
:root {
    --primary-green: #84cc16;
    --secondary-purple: #a855f7;
    --accent-orange: #f97316;
    --vibrant-yellow: #facc15;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --gradient-radical: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-purple) 50%, var(--accent-orange) 100%);
    --shadow-glow: 0 10px 15px -3px rgba(168, 85, 247, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-radical);
    border-radius: 10px;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.title-radical {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-radical);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
    background: #ffc200;
    /* Colored background for transparent logo look */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--accent-orange);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-green);
    letter-spacing: -1.5px;
}

.logo-text span {
    color: var(--secondary-purple);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a:hover {
    color: var(--secondary-purple);
}

.nav-links a {
    color: #000;
    /* Contrast on yellow header */
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-green);
    cursor: pointer;
    z-index: 1001;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
    /* Fallback color */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.6);
    /* Additional dimming for contrast */
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 20px;
}

.btn-radical {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient-radical);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-radical:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(188, 16, 241, 0.4);
}

/* Services Grid (The Squares) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: -100px;
    position: relative;
    z-index: 3;
}

.service-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-radical);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    /* Changed to -5px since base is now solid colors */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Custom 3D Colors for Service Cards */
.service-card.card-festa {
    background-color: #fce72b !important;
    /* Vibrant Yellow */
    background-image: none !important;
    color: #1e293b !important;
    box-shadow: 0 8px 0 #dca500, 0 15px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

.service-card.card-excursao {
    background-color: #4ade80 !important;
    /* Vibrant Green */
    background-image: none !important;
    color: #1e293b !important;
    box-shadow: 0 8px 0 #16a34a, 0 15px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

.service-card.card-recreacao {
    background-color: #38bdf8 !important;
    /* Vibrant Sky Blue */
    background-image: none !important;
    color: #1e293b !important;
    box-shadow: 0 8px 0 #0284c7, 0 15px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

.service-card.card-colonia {
    background-color: #c084fc !important;
    /* Vibrant Purple */
    background-image: none !important;
    color: #1e293b !important;
    box-shadow: 0 8px 0 #9333ea, 0 15px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

.service-card.card-natacao {
    background-color: #fb923c !important;
    /* Vibrant Orange */
    background-image: none !important;
    color: #1e293b !important;
    box-shadow: 0 8px 0 #ea580c, 0 15px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

.service-card.card-funcional {
    background-color: #f472b6 !important;
    /* Vibrant Pink */
    background-image: none !important;
    color: #1e293b !important;
    box-shadow: 0 8px 0 #db2777, 0 15px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

/* Fix text colors inside cards */
.service-card.card-festa h3,
.service-card.card-excursao h3,
.service-card.card-recreacao h3,
.service-card.card-colonia h3,
.service-card.card-natacao h3,
.service-card.card-funcional h3 {
    color: #111827 !important;
    font-weight: 900;
}

.service-card.card-festa p,
.service-card.card-excursao p,
.service-card.card-recreacao p,
.service-card.card-colonia p,
.service-card.card-natacao p,
.service-card.card-funcional p {
    color: #1f2937 !important;
    font-weight: 700;
}

/* Hide default gradient overlay for colored cards */
.service-card.card-festa::before,
.service-card.card-excursao::before,
.service-card.card-recreacao::before,
.service-card.card-colonia::before,
.service-card.card-natacao::before,
.service-card.card-funcional::before {
    display: none !important;
}

/* 3D push down effect on active/hover */
.service-card.card-festa:hover,
.service-card.card-excursao:hover,
.service-card.card-recreacao:hover,
.service-card.card-colonia:hover,
.service-card.card-natacao:hover,
.service-card.card-funcional:hover,
.service-card.card-festa:active,
.service-card.card-excursao:active,
.service-card.card-recreacao:active,
.service-card.card-colonia:active,
.service-card.card-natacao:active,
.service-card.card-funcional:active {
    transform: translateY(4px) !important;
}

.service-card.card-festa:hover {
    box-shadow: 0 4px 0 #dca500, 0 5px 10px rgba(0, 0, 0, 0.3) !important;
}

.service-card.card-excursao:hover {
    box-shadow: 0 4px 0 #16a34a, 0 5px 10px rgba(0, 0, 0, 0.3) !important;
}

.service-card.card-recreacao:hover {
    box-shadow: 0 4px 0 #0284c7, 0 5px 10px rgba(0, 0, 0, 0.3) !important;
}

.service-card.card-colonia:hover {
    box-shadow: 0 4px 0 #9333ea, 0 5px 10px rgba(0, 0, 0, 0.3) !important;
}

.service-card.card-natacao:hover {
    box-shadow: 0 4px 0 #ea580c, 0 5px 10px rgba(0, 0, 0, 0.3) !important;
}

.service-card.card-funcional:hover {
    box-shadow: 0 4px 0 #db2777, 0 5px 10px rgba(0, 0, 0, 0.3) !important;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p.soon {
    background: rgba(188, 16, 241, 0.2);
    color: var(--secondary-purple);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
}

/* About Section */
.about {
    background: radial-gradient(circle at bottom right, rgba(164, 255, 10, 0.05), transparent 40%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-frame {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-img-frame img {
    width: 100%;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    max-width: 250px;
}

.about-badge p {
    font-weight: 700;
    font-style: italic;
    color: var(--primary-green);
    margin: 0;
}

/* Highlights (The Detailed Sections) */
.highlights {
    background: var(--dark-surface);
}

.tabs-container {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    border: none;
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    top: 0;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
}

.tab-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}

.tab-btn.active {
    transform: translateY(5px);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* 3D Variados */
.tab-festa {
    background-color: #fef08a;
    /* Amarelo clarinho */
    box-shadow: 0 5px 0 #ca8a04;
}

.tab-festa:hover {
    box-shadow: 0 3px 0 #ca8a04;
}

.tab-festa.active {
    box-shadow: 0 0 0 #ca8a04;
}

.tab-excursao {
    background-color: #86efac;
    /* Verde */
    box-shadow: 0 5px 0 #16a34a;
}

.tab-excursao:hover {
    box-shadow: 0 3px 0 #16a34a;
}

.tab-excursao.active {
    box-shadow: 0 0 0 #16a34a;
}

.tab-natacao {
    background-color: #93c5fd;
    /* Azul */
    box-shadow: 0 5px 0 #2563eb;
}

.tab-natacao:hover {
    box-shadow: 0 3px 0 #2563eb;
}

.tab-natacao.active {
    box-shadow: 0 0 0 #2563eb;
}

.tab-colonia {
    background-color: #d8b4fe;
    /* Lilás */
    box-shadow: 0 5px 0 #9333ea;
}

.tab-colonia:hover {
    box-shadow: 0 3px 0 #9333ea;
}

.tab-colonia.active {
    box-shadow: 0 0 0 #9333ea;
}

.tab-funcional {
    background-color: #fdba74;
    /* Laranja */
    box-shadow: 0 5px 0 #ea580c;
}

.tab-funcional:hover {
    box-shadow: 0 3px 0 #ea580c;
}

.tab-funcional.active {
    box-shadow: 0 0 0 #ea580c;
}

.tab-espaco {
    background-color: #f9a8d4;
    /* Rosa */
    box-shadow: 0 5px 0 #db2777;
}

.tab-espaco:hover {
    box-shadow: 0 3px 0 #db2777;
}

.tab-espaco.active {
    box-shadow: 0 0 0 #db2777;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-top: 25px;
}

.features-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list li::before {
    content: '🎉';
    font-size: 1.2rem;
}

/* Testimonials (Feedback Carousel) */
.testimonials {
    text-align: center;
}

.feedback-carousel-container {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    background: var(--dark-surface);
}

.feedback-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.feedback-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feedback-slide img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feedback-prev,
.feedback-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 5px;
}

.feedback-prev {
    left: 10px;
}

.feedback-next {
    right: 10px;
}

.feedback-prev:hover,
.feedback-next:hover {
    background-color: var(--primary-green);
    color: black;
}

.feedback-dots {
    text-align: center;
    padding: 15px;
    background: var(--dark-surface);
}

.feedback-dots .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--glass-border);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.feedback-dots .dot.active,
.feedback-dots .dot:hover {
    background-color: var(--primary-green);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Call to Action */
.cta-section {
    background: var(--gradient-radical);
    color: black;
    text-align: center;
    border-radius: 40px;
    margin: 50px 20px;
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.btn-dark {
    background: black;
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    transition: transform 0.3s;
}

.btn-dark:hover {
    transform: translateY(-5px);
}

/* Contact / Footer */
footer {
    background: #000;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--dark-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.developer-credit {
    margin-top: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lr-logo-minimal {
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid #fff;
    padding: 1px 6px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.lr-logo-minimal:hover {
    background: #fff;
    color: #000;
}

/* Modal & Carousel Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-radius: 20px;
    border: 3px solid var(--primary-green);
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: var(--primary-green);
    color: black;
}



/* Responsive */
@media (max-width: 968px) {
    header {
        padding: 5px 0;
        background: rgba(15, 23, 42, 0.95);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        padding-top: 50px;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-only {
        display: block;
        width: 80%;
        text-align: center;
    }

    .desktop-only {
        display: none;
    }

    .logo-container {
        justify-content: flex-start;
        width: auto;
    }

    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 70vh;
    }

    .services-grid {
        margin-top: 20px;
        /* Fixing the overlap issue in mobile */
        padding-top: 20px;
        z-index: 4;
    }

    .hero h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        font-size: 1.1rem;
    }

    .nav-links a {
        color: white;
        /* In the menu drawer, contrast better with dark bg */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-content,
    .tab-content.active {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 0;
    }

    .title-radical {
        font-size: 2.2rem;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 45px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .service-card {
        padding: 30px 20px;
    }
}