/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    
    /* Base adjustments */
    html {
        font-size: 14px;
    }
    
    body {
        line-height: 1.5;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* ========================================
       HEADER MOBILE
       ======================================== */
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    
    .logo {
        font-size: 1.3rem;
        justify-content: center;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
    
    /* Navigation mobile */
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 3px;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        padding: 10px 15px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
        text-align: center;
        font-size: 0.8rem;
    }
    
    /* ========================================
       MAIN CONTENT MOBILE
       ======================================== */
    
    main {
        padding: 20px 0;
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: 350px;
        margin-bottom: 20px;
    }
    
    .hero-content {
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* Content Sections Mobile */
    .content-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
        margin: 20px 0 10px 0;
    }
    
    .content-section h4 {
        font-size: 1.1rem;
        margin: 15px 0 8px 0;
    }
    
    .content-section p {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    /* ========================================
       SERVICES MOBILE
       ======================================== */
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-card img {
        height: 150px;
        margin-bottom: 10px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* ========================================
       GALLERY MOBILE
       ======================================== */
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 20px 0;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    /* Single column for very small screens */
    @media (max-width: 480px) {
        .gallery-grid {
            grid-template-columns: 1fr;
        }
        
        .gallery-item img {
            height: 200px;
        }
    }
    
    /* ========================================
       PRICING MOBILE
       ======================================== */
    
    .pricing-table {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .price-card {
        padding: 20px 15px;
    }
    
    .price-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .price {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .price-features li {
        padding: 6px 0;
        font-size: 0.9rem;
    }
    
    /* ========================================
       CONTACT FORM MOBILE
       ======================================== */
    
    .contact-form {
        padding: 20px 15px;
        margin: 20px 0;
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        height: 100px;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 8px;
        margin: 15px 0;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-top: 0;
        margin-right: 8px;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .submit-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* ========================================
       FOOTER MOBILE
       ======================================== */
    
    footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .social-links {
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }
    
    .social-links a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 15px;
    }
    
    /* ========================================
       UTILITY MOBILE
       ======================================== */
    
    .retro-box {
        padding: 15px;
        margin: 15px 0;
    }
    
    /* Touch-friendly adjustments */
    nav a,
    .cta-button,
    .submit-button,
    .social-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hover effects disabled on touch devices */
    @media (hover: none) {
        .service-card:hover,
        .gallery-item:hover,
        .price-card:hover {
            transform: none;
        }
        
        nav li:hover {
            transform: none;
        }
        
        .cta-button:hover,
        .submit-button:hover {
            transform: none;
        }
    }
}

/* ========================================
   EXTRA SMALL DEVICES
   ======================================== */

@media (max-width: 480px) {
    
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 15px 10px;
    }
    
    .content-section {
        padding: 15px 10px;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
    }
    
    .service-card,
    .price-card {
        padding: 15px 10px;
    }
    
    .contact-form {
        padding: 15px 10px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION MOBILE
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) {
    
    .hero {
        min-height: 250px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item img {
        height: 120px;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
    
    /* Larger tap targets for accessibility */
    a, button, input, textarea, select {
        min-height: 44px;
    }
    
    /* Better focus indicators on mobile */
    a:focus,
    button:focus,
    input:focus,
    textarea:focus {
        outline: 3px solid #ff6b9d;
        outline-offset: 2px;
    }
    
    /* Improved readability */
    body {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    input,
    textarea,
    select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}