/* 
   Handyman Pro by Tyler LLC
   Responsive Stylesheet
*/

/* Large Screens (1200px and below) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

/* Medium Screens (992px and below) */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    /* Header & Navigation */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Service Areas */
    .service-area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-area-map {
        order: 2;
    }
    
    .service-area-list {
        order: 1;
    }
}

/* Small Screens (768px and below) */
@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Hero Section */
    #hero {
        height: 500px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Project Slider */
    .project-slide {
        height: auto;
    }
    
    /* CTA Section */
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 1rem;
    }
    
    .footer-contact p, 
    .footer-hours p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Sticky Contact Bar */
    .sticky-contact {
        display: flex;
    }
    
    /* Back to Top Button */
    #back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Extra Small Screens (576px and below) */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Header */
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    .header-contact .phone-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Hero Section */
    #hero {
        height: 450px;
        margin-top: 70px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    /* Testimonials */
    .testimonial-content {
        padding: 1.5rem;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    #header, 
    .sticky-contact, 
    #back-to-top, 
    #cta,
    .slider-controls,
    .testimonial-controls {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    #hero {
        height: auto;
        margin-top: 0;
        padding: 2cm 0;
        background: none;
        color: #000;
    }
    
    .hero-text h1 {
        color: #000;
    }
    
    .hero-buttons {
        display: none;
    }
    
    .hero-rating .stars {
        color: #000;
    }
    
    section {
        padding: 1cm 0 !important;
        page-break-inside: avoid;
    }
    
    .section-header h2::after {
        background-color: #000;
    }
    
    .service-card, 
    .benefit-card, 
    .testimonial-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .service-icon, 
    .benefit-icon, 
    .testimonial-content .stars {
        color: #000;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    #footer {
        background: none;
        color: #000;
        padding-top: 1cm;
    }
    
    .footer-contact h3, 
    .footer-hours h3 {
        color: #000;
    }
    
    .footer-contact a {
        color: #000;
    }
    
    .footer-contact i {
        color: #000;
    }
    
    .social-icons {
        display: none;
    }
    
    .footer-bottom {
        border-top: 1px solid #ddd;
    }
    
    .copyright {
        color: #000;
    }
}