/* ===== CSS VARIABLES (Based on Logo Colors) ===== */
:root {
    /* Primary Colors - Extracted from Logo */
    --primary-green: #8BC34A;        /* Light green from logo */
    --secondary-green: #4CAF50;      /* Darker green accent */
    --dark-green: #2E7D32;           /* Deep green for text/headers */
    --light-green: #C8E6C9;          /* Very light green for backgrounds */
    
    /* Supporting Colors */
    --orange-accent: #FF9800;        /* CTA buttons (research recommended orange) */
    --dark-blue: #1565C0;            /* Trust color for important elements */
    --neutral-gray: #424242;         /* Text color */
    --light-gray: #F5F5F5;           /* Background sections */
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Typography (Research Recommended) */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--neutral-gray);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--neutral-gray);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--orange-accent);
    color: var(--white);
    border-color: var(--orange-accent);
}

.btn-primary:hover {
    background-color: #E68900;
    border-color: #E68900;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-green);
    color: var(--white);
    border-color: var(--secondary-green);
}

.btn-secondary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-green);
    border-color: var(--dark-green);
}

.btn-outline:hover {
    background-color: var(--dark-green);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.nav-logo .logo {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--neutral-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-green);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-phone {
    color: var(--orange-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-phone:hover {
    color: #E68900;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-green);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(46, 125, 50, 0.8) 0%, 
        rgba(76, 175, 80, 0.7) 50%, 
        rgba(139, 195, 74, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    padding-top: 100px;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.hero-text-bg {
    background: rgba(255, 152, 0, 0.1); /* Very faint orange background */
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    margin: 1.5rem 0;
    width: fit-content;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--primary-green);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 600;
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Hero Form */
.quick-quote-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
}

.quick-quote-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--neutral-gray);
    margin-top: 1rem;
}

.form-note i {
    color: var(--secondary-green);
    margin-right: 0.5rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--neutral-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-green);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border-top-color: var(--orange-accent);
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: bold;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: var(--section-padding);
}

.featured-video {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-green), rgba(139, 195, 74, 0.1));
    border-radius: 12px;
}

.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: var(--orange-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.1);
}

.video-info h3 {
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--secondary-green);
    color: var(--secondary-green);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--secondary-green);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(46, 125, 50, 0.9) 0%, 
        rgba(76, 175, 80, 0.8) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.portfolio-btn {
    background-color: var(--orange-accent);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.portfolio-btn:hover {
    background-color: #E68900;
    transform: scale(1.05);
}

/* ===== REVIEWS SECTION ===== */
.reviews {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.review-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.review-slide.active {
    display: block;
    opacity: 1;
}

.review-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.review-stars i {
    color: #FFD700;
    font-size: 1.5rem;
}

.review-card blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--neutral-gray);
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--neutral-gray);
    font-size: 0.9rem;
    margin: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-green);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--dark-green);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-green);
}

.reviews-summary {
    text-align: center;
}

.review-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--orange-accent);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--neutral-gray);
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--secondary-green);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.4;
}

.social-media {
    margin-top: 3rem;
}

.social-media h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--orange-accent);
    transform: translateY(-3px);
}

.contact-form h3 {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 2rem;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.lightbox-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--orange-accent);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    background-color: #E68900;
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 152, 0, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and Mobile Base */
@media (max-width: 768px) {
    /* Root Variables for Mobile */
    :root {
        --section-padding: 60px 0;
    }

    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-logo .logo {
        height: 50px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        display: block;
    }

    .nav-phone {
        font-size: 1.2rem;
        padding: 1rem;
        background-color: var(--orange-accent);
        color: var(--white);
        border-radius: var(--border-radius);
        margin-top: 1rem;
    }

    .hamburger {
        display: flex;
        padding: 0.5rem;
        touch-action: manipulation;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding-top: 70px;
    }

    .hero-content {
        padding-top: 2rem;
    }

    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text-bg {
        margin: 1rem auto;
        padding: 1rem;
    }

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

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

    .hero-features {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
        font-size: 0.9rem;
    }

    .hero-ctas {
        justify-content: center;
        gap: 1rem;
    }

    .quick-quote-form {
        max-width: 100%;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .quick-quote-form h3 {
        font-size: 1.5rem;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Buttons */
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px; /* Better touch target */
        min-width: 120px;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 1.1rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card.featured {
        transform: none;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    .service-icon i {
        font-size: 1.75rem;
    }

    /* Portfolio */
    .featured-video {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
        gap: 2rem;
    }

    .video-container {
        max-width: 100%;
    }

    .portfolio-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-item img {
        height: 200px;
    }

    /* Reviews */
    .review-card {
        padding: 2rem 1.5rem;
    }

    .review-card blockquote {
        font-size: 1.1rem;
    }

    .review-stars i {
        font-size: 1.25rem;
    }

    .carousel-controls {
        gap: 1rem;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .review-stats {
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

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

    .contact-item {
        margin-bottom: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-social {
        justify-content: center;
    }

    /* Floating CTA */
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        padding: 1rem;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .floating-btn span {
        display: none;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

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

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0 1rem;
    }

    .feature-item {
        flex-direction: row;
        text-align: left;
    }

    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    /* Buttons */
    .btn {
        width: 100%;
        max-width: 100%;
    }

    /* Forms */
    .quick-quote-form {
        padding: 1.25rem;
    }

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

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

    /* Portfolio */
    .portfolio-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        flex: 1 1 45%;
        margin: 0.25rem;
    }

    /* Reviews */
    .review-card {
        padding: 1.5rem;
    }

    .review-card blockquote {
        font-size: 1rem;
    }

    /* Contact */
    .contact-item p {
        font-size: 0.9rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

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

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .portfolio-item img {
        height: 180px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-content .container {
        padding-top: 1rem;
    }

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

    .quick-quote-form {
        display: none; /* Hide form in landscape to save space */
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    /* Better image handling */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Video responsiveness */
    video {
        max-width: 100%;
        height: auto;
    }

    /* Improve touch targets */
    a, button, input, select, textarea {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Better mobile scrolling */
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* Fix portfolio overlay on mobile */
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, 
            rgba(46, 125, 50, 0.95) 0%, 
            rgba(46, 125, 50, 0) 60%);
        justify-content: flex-end;
        padding-bottom: 1rem;
    }

    .portfolio-overlay h4 {
        font-size: 1.1rem;
    }

    .portfolio-overlay p {
        display: none; /* Hide description on mobile */
    }

    .portfolio-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Better form styling for mobile */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: var(--border-radius);
    }

    /* Improve section spacing */
    section {
        padding: 50px 0;
    }

    /* Better card shadows on mobile */
    .service-card,
    .portfolio-item,
    .review-card {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    /* Optimize animations for mobile */
    .service-card:hover,
    .portfolio-item:hover {
        transform: none;
    }

    /* Mobile-friendly tables (if any) */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Better lightbox for mobile */
    .lightbox-content {
        padding: 1rem;
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        background-color: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--orange-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.3);
    }
}

/* Print styles */
@media print {
    .navbar,
    .floating-cta,
    .hero-ctas,
    .btn {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
}
