/* ============================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================ */

/* ============================================
   TABLET DEVICES (768px - 1024px)
   ============================================ */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

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

    .hero-content {
        padding: 0;
    }

    .services-grid,
    .features-grid,
    .gallery-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .mission-vision-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MOBILE DEVICES (480px - 768px)
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero Section */
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 0;
        gap: 1.5rem;
    }

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

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

    .hero-content {
        padding: 0;
    }

    /* Buttons */
    .btn {
        width: 100%;
        padding: 12px 20px;
    }

    /* Features Section */
    .features-grid,
    .services-grid,
    .gallery-grid,
    .values-grid,
    .team-grid,
    .why-choose-grid,
    .mission-vision-grid,
    .additional-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: scale(1);
    }

    .featured-badge {
        top: 10px;
        left: 10px;
        position: relative;
        transform: none;
    }

    /* Gallery Filters */
    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-item {
        gap: 1rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    /* Map */
    .map-container {
        height: 300px;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }

    /* Page Header */
    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 2rem 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Sections Padding */
    .features,
    .services,
    .about,
    .mission-vision,
    .values,
    .why-choose,
    .team,
    .contact,
    .map-section,
    .faq,
    .gallery,
    .additional-services {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Form */
    .form-group {
        gap: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }

    /* Social Icons */
    .social-icons {
        gap: 0.5rem;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    /* Lightbox */
    .lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
        padding: 5px 10px;
    }

    .lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
}

/* ============================================
   SMALL MOBILE DEVICES (Below 480px)
   ============================================ */

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

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* Navigation */
    .logo h1 {
        font-size: 1.2rem;
    }

    .nav-menu {
        top: 60px;
        padding: 0.5rem;
    }

    .nav-menu a {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    /* Hero */
    .hero {
        padding: 1rem 0;
        gap: 1rem;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 15px;
        font-size: 0.95rem;
    }

    /* Feature Cards */
    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    /* Gallery */
    .gallery-item img {
        height: 200px;
    }

    .gallery-overlay p {
        font-size: 1rem;
    }

    /* Contact Form */
    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px;
        font-size: 16px;
    }

    /* Contact Info */
    .contact-info-item {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .info-icon {
        font-size: 1.75rem;
        min-width: auto;
    }

    .info-content h4 {
        font-size: 1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    /* Map */
    .map-container {
        height: 250px;
    }

    /* Footer */
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1rem;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-float svg {
        width: 18px;
        height: 18px;
    }

    /* Page Header */
    .page-header {
        padding: 1.5rem 0;
    }

    .page-header h1 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 1.5rem 0;
    }

    .cta-section h2 {
        font-size: 1.25rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* Sections */
    .features,
    .services,
    .about,
    .mission-vision,
    .values,
    .why-choose,
    .team,
    .contact,
    .map-section,
    .faq,
    .gallery,
    .additional-services {
        padding: 1.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Value Card */
    .value-icon {
        font-size: 2rem;
    }

    /* Team Member */
    .member-avatar {
        font-size: 3rem;
    }

    /* Why Item */
    .why-item {
        padding: 1.5rem;
    }

    .why-item h4 {
        font-size: 1rem;
    }

    .why-item p {
        font-size: 0.9rem;
    }

    /* Social Icons */
    .social-icons {
        gap: 0.5rem;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    /* FAQ */
    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h4 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* Lightbox */
    .lightbox-close {
        font-size: 25px;
        top: 5px;
        right: 10px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 20px;
        padding: 3px 8px;
    }

    .lightbox-caption {
        font-size: 1rem;
        bottom: 10px;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION (Mobile)
   ============================================ */

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 1rem 0;
    }

    .page-header {
        padding: 1rem 0;
    }

    .features,
    .services,
    .about,
    .mission-vision,
    .values,
    .why-choose,
    .team,
    .contact,
    .map-section,
    .faq,
    .gallery,
    .additional-services {
        padding: 1rem 0;
    }

    .section-title {
        margin-bottom: 1rem;
    }

    .cta-section {
        padding: 1rem 0;
    }

    .map-container {
        height: 300px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .whatsapp-float,
    .menu-toggle,
    .btn {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    a {
        color: black;
    }

    .footer {
        background-color: #f9fafb;
        color: black;
    }
}
