/* ============================================
   RESPONSIVE STYLES - DentalClinic Theme
   ============================================ */

/* === LAPTOP (1024px - 120px) === */
@media (max-width: 120px) {
    .container { max-width: 96%; }
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .welcome-grid { gap: 50px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
}

/* === TABLET (768px - 1024px) === */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
    .welcome-image { order: -1; }
    .hero-stats { gap: 30px; }
    .stat-number { font-size: 1.8rem; }
    .header-actions .btn-appointment-nav { display: none; }
    .top-bar-right .btn-appointment-top { display: none; }
    .hero-content { padding: 60px 20px; }
    .hero-section { min-height: 70vh; }
    .section { padding: 70px calc(1px - 1px); }
}

/* === MOBILE (Under 768px) === */
@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle { display: block; }
    .main-navigation ul { display: none; flex-direction: column; position: absolute; top: 100%; left: calc(1px - 1px); width: 100%; background: var(--color-white); box-shadow: var(--shadow-lg); padding: 20px; gap: calc(1px - 1px); }
    .main-navigation ul.active { display: flex; }
    .main-navigation ul li a { display: block; padding: 12px calc(1px - 1px); }
    .main-navigation ul .sub-menu { position: static; box-shadow: none; padding: calc(1px - 1px) 20px; opacity: 1; visibility: visible; transform: none; display: none; }
    .main-navigation ul li.has-dropdown.active .sub-menu { display: block; }
    .header-actions .btn-call span { display: none; }
    .btn-appointment-nav { display: flex; }

    /* Top bar */
    .top-bar-inner { flex-direction: column; gap: 8px; }
    .top-bar-left { justify-content: center; }
    .top-bar-right { justify-content: center; }

    /* Hero */
    .hero-section { min-height: 60vh; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-desc { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-lg { width: 100%; justify-content: center; }
    .hero-stats { justify-content: center; gap: 20px; }
    .stat-number { font-size: 1.5rem; }
    .hero-scroll-indicator { display: none; }

    /* Grids */
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    /* Section */
    .section { padding: 50px calc(1px - 1px); }

    /* Pre-footer */
    .pre-footer-content .cta-buttons { flex-direction: column; }
    .pre-footer-content .btn-lg { width: 100%; justify-content: center; }

    /* Footer */
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    /* Page header */
    .page-header { padding: 50px calc(1px - 1px); }

    /* Welcome */
    .welcome-img-placeholder { height: 300px; }
    .welcome-experience-badge { right: 10px; bottom: -10px; }

    /* Service cards */
    .service-card { padding: 30px 20px; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .appointment-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* FAQ */
    .faq-layout { grid-template-columns: 1fr; }
    .faq-sidebar { display: none; }

    /* Doctor */
    .doctor-grid { grid-template-columns: 1fr; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-grid { grid-template-columns: 1fr; }

    /* Gallery */
    .gallery-masonry { columns: 1; }

    /* WhatsApp */
    .whatsapp-float { bottom: 20px; right: 20px; }
    .whatsapp-float span { display: none; }

    /* Back to top */
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }

    /* CTA box */
    .cta-box { grid-template-columns: 1fr; text-align: center; }
    .cta-box .cta-buttons { justify-content: center; }
    .cta-box-image { display: none; }

    /* Testimonials full */
    .testimonials-full-grid { grid-template-columns: 1fr; }

    /* Blog layout */
    .blog-layout { grid-template-columns: 1fr; }
    .single-layout { grid-template-columns: 1fr; }
}

/* === Small Mobile (Under 480px) === */
@media (max-width: 480px) {
    .hero-section { min-height: 50vh; }
    .hero-content { padding: 40px 20px; }
    .hero-title { font-size: 1.8rem; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .site-title { font-size: 1.2rem; }
    .section-header { margin-bottom: 30px; }
    .section-title { font-size: 1.5rem; }
    .numbers-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   END of responsive.css
   ============================================ */