/*
 * Create With Verma - Responsive Styles
 */

/* Laptops & Small Desktops (1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-grid {
        gap: 32px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .branding-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    /* Header Navigation toggle */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        padding: 40px 24px;
        border-top: 1px solid rgba(21, 19, 31, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        z-index: 998;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* Hamburger active animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-cta-secondary, .nav-cta-primary {
        display: none !important;
    }

    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 32px;
        width: 100%;
        max-width: 280px;
    }

    .mobile-cta {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        height: auto;
        padding: 20px 0;
    }
    
    .dashboard-mockup {
        max-width: 100%;
    }
    
    /* Why Social Media */
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* WhatsApp Automation */
    .wa-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Results */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Mobiles (480px and below) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .btn-primary, .btn-secondary, .btn-accent {
        width: 100%;
        text-align: center;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .branding-grid {
        grid-template-columns: 1fr;
    }
    
    .wa-features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-box {
        padding: 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-whatsapp {
        bottom: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-tooltip {
        display: none !important;
    }
}

/* Very Small Screen adjustments (320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
}

/* ==========================================================================
   Responsive Lightbox & Mock Browser Overrides
   ========================================================================== */
@media (max-width: 991px) {
    .lightbox-content.lightbox-large {
        width: 95vw;
        height: 85vh;
    }
}

@media (max-width: 768px) {
    .lightbox-content.lightbox-large {
        width: 96vw;
        height: 88vh;
        border-radius: 12px;
    }
    
    .lightbox-content.lightbox-large .lightbox-img-area {
        height: calc(100% - 130px);
    }
    
    .lightbox-content.lightbox-large .lightbox-desc-area {
        padding: 16px 20px;
    }
    
    .lightbox-title {
        font-size: 1.3rem;
    }
    
    .mock-browser-address {
        font-size: 0.6rem;
        margin: 0 8px;
    }
    
    .mock-browser-header {
        height: 26px;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .lightbox-content.lightbox-large {
        width: 98vw;
        height: 92vh;
    }
    
    .lightbox-content.lightbox-large .lightbox-img-area {
        height: calc(100% - 145px);
    }
}
