/*
 * ================================================
 * RIFENBURGH LANDSCAPING - STYLESHEET
 * ================================================
 * 
 * A modern, responsive design system for a local landscaping company.
 * 
 * Color Palette:
 * - Primary Green: #2d5016 (forest green, trust, nature)
 * - Accent Green: #4a7c2c (lighter, energetic)
 * - Earth Tan: #e8dcc4 (warm, organic)
 * - Earth Brown: #6b4423 (grounded, reliable)
 * - Text Dark: #333333
 * - Text Medium: #666666
 * - Background: #ffffff, #f9f9f9
 * 
 * Typography:
 * - System font stack for performance and readability
 * - 16px base font size
 * - 1.6 line height for body text
 * 
 * Components follow BEM-style naming where appropriate.
 */

/* ================================================
   GLOBAL RESET & BASE STYLES
   ================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

a {
    color: #2d5016;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4a7c2c;
}

ul {
    list-style: none;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.required {
    color: #d32f2f;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background-color: #2d5016;
    color: #fff;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.btn-primary:hover {
    background-color: #4a7c2c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: #2d5016;
    border: 2px solid #2d5016;
}

.btn-secondary:hover {
    background-color: #2d5016;
    color: #fff;
    transform: translateY(-2px);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Fade-in animation for scroll effects */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */

.header {
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d5016;
}

.logo-icon {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

/* Custom Logo Image */
.custom-logo-img {
    max-height: 90px;
    max-width: 350px;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo:hover .custom-logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.65rem;
    letter-spacing: -0.5px;
    font-weight: 800;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4a7c2c;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #2d5016;
}

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

.header-cta {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    width: 26px;
    height: 2px;
    background-color: #2d5016;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 2px;
    background-color: #2d5016;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

.hero-logo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    overflow: hidden;
}

.hero-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
    filter: brightness(1.1) contrast(0.9);
    animation: logoFloat 8s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1558904541-efa843a96f01?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-background.custom-background {
    background-attachment: scroll;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(74, 124, 44, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================
   QUOTE FORM SECTION
   ================================================ */

.quote-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.quote-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.quote-intro {
    margin-bottom: 48px;
}

.quote-form {
    background-color: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c2c;
    box-shadow: 0 0 0 3px rgba(74, 124, 44, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #d32f2f;
}

.error-message {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 6px;
    display: block;
    min-height: 20px;
}

.success-message {
    display: none;
    background-color: #e8f5e9;
    border: 2px solid #4a7c2c;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    text-align: center;
}

.success-message.show {
    display: block;
    animation: slideDown 0.4s ease;
}

.success-icon {
    display: inline-block;
    background-color: #4a7c2c;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   SERVICES SECTION
   ================================================ */

.services {
    padding: 80px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 36px 28px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #4a7c2c;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 12px;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
}

/* ================================================
   LAND CLEARING SECTION
   ================================================ */

.land-clearing {
    padding: 60px 0 40px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.land-clearing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.clearing-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.clearing-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.clearing-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* ================================================
   MOWING & STRIPING SECTION
   ================================================ */

.mowing-striping {
    padding: 80px 0;
    background-color: #fff;
}

.mowing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.mowing-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.mowing-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.mowing-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* ================================================
   GALLERY SECTION
   ================================================ */

.gallery {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 16px;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ================================================
   ABOUT SECTION
   ================================================ */

.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-subtitle {
    font-size: 1.5rem;
    color: #2d5016;
    margin-top: 36px;
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
}

.about-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: #4a7c2c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-list strong {
    display: block;
    color: #2d5016;
    margin-bottom: 4px;
}

.about-list p {
    margin: 0;
    font-size: 0.95rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

/* ================================================
   PROCESS SECTION
   ================================================ */

.process {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #e8dcc4 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: #2d5016;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.step-title {
    font-size: 1.3rem;
    color: #2d5016;
    margin-bottom: 12px;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* ================================================
   REVIEWS SECTION
   ================================================ */

.reviews {
    padding: 80px 0;
    background-color: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.review-card {
    background-color: #f9f9f9;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-stars {
    color: #ffa500;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.review-text {
    color: #333;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-author strong {
    color: #2d5016;
}

.review-author span {
    color: #999;
    font-size: 0.9rem;
}

/* ================================================
   BUSINESS HOURS SECTION
   ================================================ */

.business-hours {
    padding: 80px 0;
    background-color: #fff;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.hours-item {
    background-color: #f9f9f9;
    padding: 24px 32px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #4a7c2c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.day {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 8px;
}

.time {
    font-size: 1.1rem;
    color: #666;
}

/* ================================================
   FAQ SECTION
   ================================================ */

.faq {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #fff;
    padding: 28px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #4a7c2c;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.faq-question {
    font-size: 1.2rem;
    color: #2d5016;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.faq-answer a {
    color: #2d5016;
    font-weight: 600;
}

/* ================================================
   SERVICE AREA SECTION
   ================================================ */

.service-area {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.towns-list-simple {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
}

.towns-list-simple li {
    padding: 10px 20px;
    background-color: #fff;
    border: 2px solid #4a7c2c;
    border-radius: 6px;
    font-weight: 500;
    color: #2d5016;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ================================================
   CONTACT SECTION
   ================================================ */

.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: #2d5016;
    margin-bottom: 8px;
}

.contact-item a {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}


/* ================================================
   FOOTER
   ================================================ */

.footer {
    background-color: #2d5016;
    color: #fff;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 36px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-note {
    margin-top: 12px;
    font-size: 0.85rem;
    font-style: italic;
}

/* ================================================
   RESPONSIVE DESIGN - LARGE TABLET / SMALL DESKTOP
   ================================================ */

@media (max-width: 1024px) {
    .hero-logo-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ================================================
   RESPONSIVE DESIGN - TABLET
   ================================================ */

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        gap: 16px;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero {
        min-height: 500px;
        padding: 80px 0;
    }
    
    .hero-logo-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.25;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .quote-form {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .land-clearing-grid {
        grid-template-columns: 1fr;
    }
    
    .mowing-grid {
        grid-template-columns: 1fr;
    }
    
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 20px 24px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .towns-list-simple {
        gap: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Carousel responsive */
    .carousel-slide img {
        height: 400px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    /* About section responsive */
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 40px auto 0;
    }
    
    .about-photo-container {
        width: 100%;
        max-width: 450px;
        height: 450px;
        margin: 0 auto;
    }
    
    .about-text-container {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Logo responsive */
    .logo {
        gap: 12px;
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
    }
    
    .custom-logo-img {
        max-height: 75px;
        max-width: 300px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    /* Before/After responsive */
    .before-after-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-image img {
        height: 400px;
    }
    
    .image-label {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .before-after-nav {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .ba-nav-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Appointment responsive */
    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .appointment-form {
        padding: 32px 24px;
    }
    
    .sidebar-phone {
        font-size: 1.5rem;
    }
    
    /* Admin panel responsive */
    .admin-container {
        width: 95%;
    }
    
    .admin-content {
        padding: 24px;
    }
    
    .admin-image-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .ba-upload-row {
        grid-template-columns: 1fr;
    }
    
    .ba-admin-item {
        grid-template-columns: 1fr;
    }
    
    .ba-admin-item-actions {
        flex-direction: row;
        width: 100%;
        min-width: auto;
    }
    
    .ba-admin-item-actions .btn,
    .ba-admin-item-actions .admin-image-delete {
        flex: 1;
        min-width: 0;
    }
}

/* ================================================
   RESPONSIVE DESIGN - MOBILE
   ================================================ */

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 450px;
    }
    
    .hero-logo-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.2;
        animation: logoFloat 10s ease-in-out infinite;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .quote-form {
        padding: 24px 20px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Carousel mobile */
    .carousel-slide img,
    .placeholder-slide {
        height: 300px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .carousel-counter {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* About section mobile */
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px auto 0;
    }
    
    .about-photo-container {
        width: 100%;
        max-width: 100%;
        height: 350px;
        margin: 0;
    }
    
    .about-text-container {
        width: 100%;
    }
    
    .about-text-content {
        padding: 24px;
        width: 100%;
    }
    
    /* Admin panel mobile */
    .admin-header {
        padding: 20px;
    }
    
    .admin-header h2 {
        font-size: 1.5rem;
    }
    
    .admin-content {
        padding: 20px;
    }
    
    .admin-section {
        margin-bottom: 32px;
        padding-bottom: 32px;
    }
    
    .admin-image-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .admin-image-item img,
    .admin-image-preview .admin-image-item img {
        height: 120px;
    }
    
    .upload-label {
        padding: 30px 20px;
    }
    
    /* Before/After mobile */
    .before-after-comparison {
        gap: 15px;
    }
    
    .comparison-image img {
        height: 300px;
    }
    
    .image-label {
        font-size: 0.85rem;
        padding: 7px 14px;
    }
    
    .admin-access-btn {
        bottom: 100px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
}

/* ================================================
   CAROUSEL STYLES
   ================================================ */

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Placeholder for empty galleries */
.placeholder-slide {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f9f9f9 0%, #e8dcc4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.placeholder-slide p {
    color: #666;
    font-size: 1.2rem;
    max-width: 400px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 80, 22, 0.8);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(74, 124, 44, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

/* Carousel Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Carousel Counter */
.carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(45, 80, 22, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.carousel-counter .current {
    font-size: 1.1rem;
}

/* Carousel Fade Animation */
.carousel-slide {
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* ================================================
   ABOUT SECTION WITH PHOTO & EDITABLE TEXT
   ================================================ */

.about-content-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 48px auto 0;
}

.about-photo-container {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f9f9f9 0%, #e8dcc4 100%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-placeholder:hover {
    background: linear-gradient(135deg, #e8dcc4 0%, #d4c8b0 100%);
}

.photo-placeholder span:first-child {
    font-size: 4rem;
    margin-bottom: 16px;
}

.photo-placeholder p {
    color: #666;
    font-weight: 600;
}

.about-text-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text-content {
    background-color: #f9f9f9;
    padding: 32px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-height: 200px;
}

.about-text-content[contenteditable="true"] {
    border-color: #4a7c2c;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(74, 124, 44, 0.2);
}

.about-text-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

.btn-edit-about {
    align-self: flex-start;
    padding: 12px 28px;
}

/* ================================================
   BEFORE & AFTER SECTION
   ================================================ */

.before-after-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.before-after-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Simple Side-by-Side Comparison */
.before-after-comparison {
    display: none; /* Hidden by default */
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.before-after-comparison.active {
    display: grid; /* Show active set */
}

.comparison-side {
    position: relative;
}

.comparison-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(45, 80, 22, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    z-index: 2;
}

.comparison-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.comparison-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.image-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 80, 22, 0.95);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.comparison-image.before .image-label {
    background: rgba(211, 47, 47, 0.95);
}

.comparison-image.after .image-label {
    background: rgba(45, 125, 44, 0.95);
}

.before-after-description {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* Empty State */
.before-after-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px dashed #d0d0d0;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.before-after-empty-state h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.before-after-empty-state p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 8px;
}

.empty-state-hint {
    color: #2d5016 !important;
    font-weight: 600;
    font-size: 1rem !important;
    margin-top: 20px !important;
}

/* Before/After Navigation */
.before-after-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.ba-nav-btn {
    background: #2d5016;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ba-nav-btn:hover {
    background: #4a7c2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.ba-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.ba-dots {
    display: flex;
    gap: 10px;
}

.ba-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ba-dot.active {
    background: #2d5016;
    transform: scale(1.3);
}

/* ================================================
   APPOINTMENT SECTION
   ================================================ */

.appointment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.appointment-form {
    background: #fff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.appointment-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #4a7c2c;
}

.sidebar-card h3 {
    color: #2d5016;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.sidebar-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.sidebar-phone {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d5016;
    text-decoration: none;
    margin: 16px 0;
    transition: color 0.3s ease;
}

.sidebar-phone:hover {
    color: #4a7c2c;
}

.sidebar-hours {
    font-size: 0.95rem;
    color: #999;
    margin-top: 8px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
}

.btn-loader {
    display: inline-block;
}

.error-message-box {
    background: #fee;
    border: 2px solid #d32f2f;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    text-align: center;
}

.error-icon {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* ================================================
   BACKYARD RESTORATION SECTION
   ================================================ */

.backyard-restoration {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

/* ================================================
   ADMIN PANEL STYLES
   ================================================ */

.admin-access-btn {
    position: fixed;
    bottom: 110px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: adminPulse 2s infinite;
}

.admin-access-btn:hover {
    transform: translateY(-3px) rotate(90deg);
    box-shadow: 0 6px 25px rgba(217, 119, 6, 0.6);
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
}

@keyframes adminPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(217, 119, 6, 0.7);
    }
}

.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.admin-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: #fff;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.admin-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.admin-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-content {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.admin-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 2px solid #e0e0e0;
}

.admin-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.admin-section h3 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* Upload Area */
.admin-upload-area {
    margin-bottom: 24px;
}

.file-input {
    display: none;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 3px dashed #4a7c2c;
    border-radius: 12px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.upload-label:hover {
    border-color: #2d5016;
    background-color: #fff;
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.upload-label span:nth-child(2) {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 0.9rem;
    color: #666;
}

/* Admin Image Grid */
.admin-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.admin-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-image-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.admin-image-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.admin-image-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(211, 47, 47, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.admin-image-item:hover .admin-image-delete {
    opacity: 1;
}

.admin-image-delete:hover {
    background: rgba(211, 47, 47, 1);
    transform: scale(1.1);
}

/* Admin Image Preview (for single images like About photo) */
.admin-image-preview {
    display: flex;
    justify-content: center;
}

.admin-image-preview .admin-image-item {
    max-width: 400px;
}

.admin-image-preview .admin-image-item img {
    height: 400px;
}

/* Empty State */
.admin-empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

/* Admin Subsections */
.admin-subsection {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.admin-subsection h4 {
    color: #2d5016;
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8dcc4;
}

.admin-hint {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 12px;
    background: #f0f8ff;
    border-left: 3px solid #4a7c2c;
    border-radius: 4px;
}

/* Admin Form Controls */
.admin-text-input,
.admin-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.admin-text-input:focus,
.admin-textarea:focus {
    outline: none;
    border-color: #4a7c2c;
    box-shadow: 0 0 0 3px rgba(74, 124, 44, 0.1);
}

.admin-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.admin-controls {
    margin-top: 20px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    user-select: none;
}

/* Admin Buttons */
.admin-section .btn {
    margin-right: 10px;
    margin-top: 10px;
}

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

/* Before/After Admin Upload */
.ba-upload-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.ba-upload-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ba-upload-col label {
    font-weight: 600;
    color: #333;
}

.upload-label-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 2px dashed #4a7c2c;
    border-radius: 8px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.upload-label-small:hover {
    border-color: #2d5016;
    background: #fff;
}

.upload-label-small .upload-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.upload-label-small span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d5016;
}

.ba-preview {
    min-height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-preview img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.ba-preview.empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-preview.empty::after {
    content: 'No image selected';
    color: #999;
    font-size: 0.9rem;
}

.ba-admin-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ba-admin-item {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    align-items: center;
}

.ba-admin-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.ba-admin-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 140px;
}

/* Before/After View Button */
.ba-admin-item-actions .ba-view-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.ba-admin-item-actions .ba-view-btn::before {
    content: '👁️ ';
}

/* Before/After Delete Button - Always Visible and Prominent */
.ba-admin-item-actions .admin-image-delete {
    position: static;
    width: 100%;
    height: auto;
    padding: 10px 16px;
    background: #dc3545;
    color: #fff;
    border: 2px solid #dc3545;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ba-admin-item-actions .admin-image-delete:hover {
    background: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.ba-admin-item-actions .admin-image-delete:active {
    transform: translateY(0);
}

/* Add trash icon before text */
.ba-admin-item-actions .admin-image-delete::before {
    content: '🗑️';
    font-size: 1rem;
}

.ba-admin-item-desc {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-style: italic;
}

/* ================================================
   CUSTOM CHAT WIDGET
   ================================================ */

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.chat-button {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: chatPulse 2s infinite;
}

.chat-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(45, 80, 22, 0.5);
}

@keyframes chatPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(45, 80, 22, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(74, 124, 44, 0.6);
    }
}

.chat-icon {
    font-size: 1.5rem;
    animation: chatBounce 1s ease-in-out infinite;
}

@keyframes chatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.chat-text {
    font-weight: 600;
    font-size: 1rem;
}

.chat-window {
    display: none;
    flex-direction: column;
    width: 380px;
    height: 550px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-company-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-status {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    margin-bottom: 12px;
}

.chat-message-bot {
    justify-content: flex-start;
}

.chat-message-user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 12px;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message-bot .message-bubble {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.chat-message-user .message-bubble {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message-bubble p {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 4px !important;
}

.chat-input-container {
    display: flex;
    padding: 16px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 24px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: #4a7c2c;
}

.chat-send-btn {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.chat-send-btn:active {
    transform: translateY(0);
}

.chat-footer {
    padding: 12px 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.chat-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.chat-footer a {
    color: #2d5016;
    font-weight: 600;
    text-decoration: none;
}

.chat-footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 100px);
        right: 20px;
        bottom: 20px;
    }
    
    .chat-text {
        display: none;
    }
    
    .chat-button {
        padding: 16px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
    .header, .hero, .mobile-toggle, .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    .section-title {
        color: #000;
    }
}
