/* ===================================
   KOLD HVAC - Responsive Styles
   =================================== */

/* Tablet Landscape (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Navigation */
    .nav-menu li {
        margin: 0 1rem;
    }
    
    /* Hide Expert Widget on Tablet */
    .expert-widget {
        display: none;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* About */
    .about-content {
        gap: 3rem;
    }
    
    .image-secondary {
        width: 50%;
        right: -20px;
        bottom: -20px;
    }
    
    .experience-badge {
        padding: 1.5rem;
        left: -20px;
        top: 20px;
    }
    
    /* Contact */
    .contact-wrapper {
        gap: 3rem;
    }
}

/* Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
    /* Hide Expert Widget on Mobile */
    .expert-widget {
        display: none;
    }
    
    /* Client Carousel - Tablet */
    .jeg-elementor-kit.jkit-client-logo {
        height: 90px;
    }
    
    .jeg-elementor-kit.jkit-client-logo .client-slider {
        width: calc(100% / 8);
    }
    
    .jeg-elementor-kit.jkit-client-logo .client-slider .content-image .main-image {
        max-width: 100px;
        max-height: 50px;
    }
    
    /* Header */
    .top-bar {
        padding: 0.4rem 0;
        font-size: 0.8rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .contact-info span {
        margin-right: 0;
        font-size: 0.7rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-links a {
        font-size: 1rem;
    }
    
    .hero-section {
        margin-top: 140px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
    }
    
    .nav-menu a {
        padding: 1rem 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .cta-button {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding-left: 1rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-wrap: wrap;
    }
    
    .hero-cta .btn {
        margin: 0.5rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-images {
        margin-bottom: 2rem;
    }
    
    .image-secondary {
        display: none;
    }
    
    .experience-badge {
        position: static;
        display: inline-block;
        margin-bottom: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-features .feature {
        text-align: left;
        display: flex;
        align-items: start;
        gap: 1rem;
    }
    
    .about-features i {
        flex-shrink: 0;
    }
    
    /* Pricing */
    .pricing-card.featured {
        transform: none;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer Contact Columns - Tablet */
    .elementor-element-238b61fe,
    .elementor-element-217e1a29,
    .elementor-element-2c652968 {
        padding: 15px;
        margin-right: 10px;
    }
    
    .elementor-element-2c652968 {
        margin-right: 0;
    }
    
    .elementor-element-3fe756fe .elementor-container {
        flex-wrap: wrap;
    }
    
    /* Icon Box - Tablet */
    .elementor-widget-icon-box .elementor-icon {
        width: 25px;
        height: 25px;
        font-size: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
    
    .footer-column .social-links {
        justify-content: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-submit {
        border-radius: 4px;
        width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .lead {
        font-size: 1.125rem;
    }
    
    /* Hero */
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .hero-features .feature {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    /* Brands */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer Contact Columns - Mobile */
    .elementor-element-238b61fe,
    .elementor-element-217e1a29,
    .elementor-element-2c652968 {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .elementor-element-3fe756fe .elementor-container {
        flex-direction: column;
    }
    
    /* Icon Box - Mobile */
    .elementor-mobile-position-top .elementor-icon-box-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .elementor-mobile-position-top .elementor-icon-box-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .elementor-social-icons-wrapper {
        justify-content: center;
    }
    
    /* Client Carousel - Mobile */
    .jeg-elementor-kit.jkit-client-logo {
        height: 80px;
        overflow: hidden !important;
    }
    
    /* Fix for overlapping client slider items */
    .client-track .client-slider.item {
        width: calc(100% / 4) !important;
        flex: 0 0 calc(100% / 4) !important;
        max-width: calc(100% / 4) !important;
        min-width: calc(100% / 4) !important;
    }
    
    .jeg-elementor-kit.jkit-client-logo .client-slider .content-image .main-image {
        max-width: 70px;
        max-height: 35px;
    }
    
    .jeg-elementor-kit.jkit-client-logo .client-track {
        animation-duration: 40s;
        gap: 10px;
    }
    
    .jeg-elementor-kit.jkit-client-logo .client-slider .image-list {
        padding: 5px;
    }
    
    /* Ensure client list container doesn't overflow */
    .jeg-elementor-kit.jkit-client-logo .client-list {
        overflow: hidden !important;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Client Carousel - Extra Small Mobile */
    .jeg-elementor-kit.jkit-client-logo {
        height: 70px;
    }
    
    /* Fix for overlapping client slider items on small screens */
    .client-track .client-slider.item {
        width: calc(100% / 3) !important;
        flex: 0 0 calc(100% / 3) !important;
        max-width: calc(100% / 3) !important;
    }
    
    .jeg-elementor-kit.jkit-client-logo .client-slider .content-image .main-image {
        max-width: 60px;
        max-height: 30px;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .hero-section,
    .cta-section,
    .main-footer,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    .contact-info {
        border: 1px solid #000;
        padding: 1rem;
        margin: 1rem 0;
    }
}