/* Contact Page Specific Responsive Fixes */

/* Contact Hero Section Improvements */
@media (max-width: 1200px) {
    .contact-hero-new .hero-container {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .contact-hero-new .hero-grid {
        gap: 3rem;
    }
    
    .contact-hero-new .hero-title-new {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }
}

@media (max-width: 992px) {
    .contact-hero-new .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .contact-hero-new .hero-visual-right {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .contact-hero-new .visual-container {
        height: 300px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-hero-new {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .contact-hero-new .hero-container {
        padding: 1rem;
    }
    
    .contact-hero-new .hero-stats-new {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-hero-new .stat-card {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .contact-hero-new .hero-actions-new {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .contact-hero-new .btn-new {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Contact Methods Section */
@media (max-width: 992px) {
    .contact-methods .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-methods {
        padding: 3rem 1rem;
    }
    
    .contact-methods .contact-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .contact-methods .contact-icon {
        margin: 0 auto 1.5rem;
    }
}

/* Contact Form Section */
@media (max-width: 992px) {
    .contact-form-section .form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-section .form-image {
        order: -1;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 3rem 1rem;
    }
    
    .contact-form-section .container {
        padding: 0;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form .form-group {
        width: 100%;
    }
    
    .contact-form .form-input,
    .contact-form .form-select,
    .contact-form .form-textarea {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .contact-form .btn-large {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-form-section .form-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-form-section .form-title {
        font-size: 1.8rem;
    }
    
    .contact-form-section .form-subtitle {
        font-size: 1rem;
    }
}

/* Business Info Section */
@media (max-width: 992px) {
    .business-info .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .business-info {
        padding: 3rem 1rem;
    }
    
    .business-info .info-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .business-info .info-icon {
        margin: 0 auto 1.5rem;
    }
    
    .business-info .hours-item,
    .business-info .location-item,
    .business-info .delivery-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .business-info .info-title {
        font-size: 1.3rem;
    }
    
    .business-info .info-content {
        font-size: 0.95rem;
    }
}

/* Map Section */
@media (max-width: 768px) {
    .map-section {
        padding: 3rem 1rem;
    }
    
    .map-section .map-wrapper {
        margin: 0;
        border-radius: 12px;
    }
    
    .map-section .map-placeholder {
        height: 300px;
        padding: 2rem 1rem;
    }
    
    .map-section .map-content h3 {
        font-size: 1.5rem;
    }
    
    .map-section .map-content p {
        font-size: 1rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .map-section .map-placeholder {
        height: 250px;
        padding: 1.5rem 1rem;
    }
    
    .map-section .map-content h3 {
        font-size: 1.3rem;
    }
    
    .map-section .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* FAQ Section */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-section .faq-wrapper {
        max-width: 100%;
    }
    
    .faq-section .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-section .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .faq-section .faq-question h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .faq-section .faq-answer {
        padding: 1.5rem;
    }
    
    .faq-section .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .faq-section .faq-question {
        padding: 1.25rem;
    }
    
    .faq-section .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-section .faq-answer {
        padding: 1.25rem;
    }
}

/* Footer Improvements for Contact Page */
@media (max-width: 768px) {
    .footer .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .footer .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer .footer-links li {
        margin: 0;
    }
}

/* Contact Page Specific Utilities */
.contact-page-mobile-spacing {
    padding: 1rem;
}

@media (max-width: 768px) {
    .contact-page-mobile-spacing {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .contact-page-mobile-spacing {
        padding: 0.5rem;
    }
}

/* Ensure proper touch targets on mobile */
@media (max-width: 768px) {
    .contact-card,
    .info-card,
    .faq-question,
    .btn,
    .contact-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-link,
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Fix overflow issues */
@media (max-width: 768px) {
    .contact-hero-new,
    .contact-methods,
    .contact-form-section,
    .business-info,
    .map-section,
    .faq-section {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Improve readability on small screens */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    p, .contact-description, .info-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}