/* Responsive Design for LudoCare Website */

/* Large Desktop (>1400px) - Minor refinements for very large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .phone-mockup {
        transform: scale(1.1);
    }
}

/* Standard Desktop (992px - 1399px) - Default styling applies */

/* Tablet and Small Desktop (768px - 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav-items ul {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    /* Hero section adjustments */
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        padding-bottom: 2rem;
    }
    
    .hero-visual {
        width: 100%;
        margin-top: 2rem;
    }
    
    .phone-mockup {
        transform: scale(0.9);
        margin: 0 auto;
    }
    
    /* Stats grid adjustment */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Sobre cards adjustment */
    .cards {
        flex-direction: column;
        gap: 2rem;
    }
    
    .card {
        width: 100%;
    }
    
    /* Ludopatia section */
    .ludopatia-visual {
        flex-direction: column;
    }
    
    .ludopatia-infographic,
    .ludopatia-text {
        width: 100%;
    }
    
    /* Nossa Proposta section */
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-showcase {
        flex-direction: column;
    }
    
    .showcase-item {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Stakeholder cards */
    .stakeholder-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Innovation showcase responsivo para tablet */
    .innovation-showcase {
        flex-direction: column;
        gap: 2rem;
    }
    
    .innovation-visual {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .innovation-visual img {
        min-height: 300px;
        max-height: 350px;
    }
    
    .innovation-content {
        flex: none;
        width: 100%;
    }

    /* App showcase responsivo para tablet */
    .app-showcase {
        flex-direction: column;
        gap: 2rem;
    }
    
    .app-visual {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .app-visual img {
        min-height: 300px;
        max-height: 350px;
    }
    
    .app-content {
        flex: none;
        width: 100%;
    }

    /* Feature showcase items responsivos */
    .feature-showcase-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .feature-showcase-item.reverse {
        flex-direction: column !important;
    }
    
    .feature-visual {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 1.5rem auto;
    }
    
    .feature-content {
        flex: none;
        width: 100%;
    }

    /* Form layout */
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Contact info grid */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        grid-column: span 1;
    }
      /* Footer adjustments - Basic responsive overrides */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 2.5rem;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .container {
        padding: 0 1.25rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        text-align: center;
    }
    
    /* Hero section further adjustments */
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Stats grid mobile adjustment */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cards and grids one column */
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    /* Stakeholder cards mobile */
    .stakeholder-cards {
        grid-template-columns: 1fr;
    }
    
    /* Innovation showcase mobile completo */
    .innovation-showcase {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .innovation-visual {
        flex: none;
        width: 100%;
        order: 1;
    }
    
    .innovation-visual img {
        min-height: 250px;
        max-height: 300px;
    }
    
    .innovation-content {
        flex: none;
        width: 100%;
        order: 2;
    }
    
    .innovation-content h4 {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .innovation-description {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .innovation-items {
        gap: 0.8rem;
    }
    
    .innovation-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .innovation-item i {
        margin-bottom: 0.5rem;
        margin-top: 0;
    }
    
    .innovation-text {
        text-align: center;
    }

    /* App showcase mobile completo */
    .app-showcase {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .app-visual {
        flex: none;
        width: 100%;
        order: 1;
    }
    
    .app-visual img {
        min-height: 250px;
        max-height: 300px;
    }
    
    .app-content {
        flex: none;
        width: 100%;
        order: 2;
    }
    
    .app-header {
        text-align: center;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    /* Content blocks */
    .dual-content {
        flex-direction: column;
    }
    
    .dual-content > div {
        width: 100%;
    }
    
    /* SVG illustrations scale down */
    .svg-illustration {
        max-width: 100%;
        transform: scale(0.85);
    }
    
    /* Info cards stack */
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    /* Enhanced forms */
    .enhanced-contact-form {
        padding: 1.5rem;
    }
      /* Footer mobile - Enhanced mobile experience */
    .footer-top {
        padding: 2.5rem 0 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .link-group {
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
    
    /* Mobile menu dropdown */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow-md);
        z-index: 100;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .mobile-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-nav li {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .mobile-nav li:last-child {
        border-bottom: none;
    }
    
    .mobile-nav li a {
        font-size: 1.1rem; /* Tamanho maior para mobile */
        font-weight: 500;
        color: var(--gray-800);
        text-decoration: none;
        display: block;
        transition: color 0.2s ease;
    }
    
    .mobile-nav li a:hover {
        color: var(--dark-blue);
    }    /* Estilos responsivos para ícones sociais */
    .social-icons {
        justify-content: center;
        margin: 1.5rem auto;
    }

    .social-link {
        width: 42px;
        height: 42px;
        padding: 0;
    }

    .social-link i {
        font-size: 1.5rem;
    }
    
    /* Ajustes de centralização específicos para mobile */
    .social-instagram i,
    .social-youtube i {
        transform: translateY(0);
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .visual-block {
        padding: 1.25rem;
    }    .social-icons {
        gap: 10px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Responsive adjustments for LudoCare logo */
@media (max-width: 768px) {
    .logo-text {
        font-size: 36px;
    }
    
    .footer-logo-text {
        font-size: 36px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 30px;
    }
    
    .footer-logo-text {
        font-size: 30px;
        padding: 8px 14px;
    }
}
