﻿/* ============================================
   KALAD THANGAL TIRUR - RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-grid,
    .location-grid,
    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
    }

    .hamburger {
        display: block;
    }

    .btn-nav {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-greeting {
        font-size: 1.5rem;
    }

    .hero-info-cards {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* About */
    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-wrapper {
        max-width: 460px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .about-actions {
        align-items: stretch;
    }

    .about-actions .btn {
        justify-content: center;
    }

    .stats-row {
        flex-wrap: wrap;
    }

    .stat-card {
        min-width: calc(50% - 10px);
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Schedule */
    .schedule-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* FAQ */
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    /* Location */
    .map-wrapper {
        min-height: 300px;
    }

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

    .contact-form {
        padding: 25px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-greeting {
        font-size: 1.3rem;
    }

    .floating-whatsapp-button,
    .floating-call-button {
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .floating-whatsapp-button {
        bottom: 143px;
    }

    .floating-call-button {
        bottom: 85px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .location-card {
        flex-direction: column;
        text-align: center;
    }

    .location-card-icon {
        margin: 0 auto;
    }
}

/* Extra small screens (phones < 380px) */
@media (max-width: 380px) {
    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
        text-align: center;
        max-width: 90%;
    }

    .hero-info-cards {
        gap: 8px;
    }

    .hero-info-card {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .carousel-stage {
        gap: 8px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-frame {
        width: min(200px, calc(100vw - 96px));
        height: 280px;
    }
}
