/* ========================================
   Powers Landscaping LLC - PROFESSIONAL BUILD
   Two-tone green + halftone patterns like Kozeny's
   ======================================== */

:root {
    /* TWO-TONE PROFESSIONAL GREEN */
    --brand: #1e5631;          /* Deep forest green - primary */
    --brand-dark: #143d22;     /* Darker green */
    --brand-light: #2e7d46;    /* Lighter green accent */
    
    --accent: #d4a520;         /* Gold accent */
    --accent-light: #e8bc3c;
    
    --white: #ffffff;
    --off-white: #f9f9f9;
    --cream: #f5f3f0;
    --dark: #1a1a1a;
    --gray: #555555;
    --gray-light: #888888;
    --gray-border: #e0e0e0;
    
    --font-main: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ========================================
   TOOLBOX SCUFF TEXTURE - Subtle industrial wear marks
   Inspired by diamond plate metal toolbox patina
   ======================================== */
.dot-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    pointer-events: none;
    opacity: 0.6;
    background-image: 
        /* Large smudges - sparse */
        radial-gradient(ellipse 8px 6px at 20% 30%, rgba(20,61,34,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 5px 7px at 70% 20%, rgba(20,61,34,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 6px 4px at 45% 75%, rgba(20,61,34,0.11) 0%, transparent 70%),
        radial-gradient(ellipse 7px 5px at 85% 60%, rgba(20,61,34,0.09) 0%, transparent 70%),
        /* Small fingerprint dots - very sparse */
        radial-gradient(circle 2px at 15% 55%, rgba(20,61,34,0.14) 0%, transparent 80%),
        radial-gradient(circle 2px at 60% 45%, rgba(20,61,34,0.12) 0%, transparent 80%),
        radial-gradient(circle 1.5px at 35% 15%, rgba(20,61,34,0.10) 0%, transparent 80%),
        radial-gradient(circle 2px at 90% 85%, rgba(20,61,34,0.13) 0%, transparent 80%);
}

.dot-pattern-light {
    opacity: 0.4;
}

/* Position variations */
.dot-tl { top: 50px; left: 30px; }
.dot-tr { top: 80px; right: 50px; }
.dot-bl { bottom: 60px; left: 40px; }
.dot-br { bottom: 40px; right: 30px; }
.dot-ml { top: 50%; left: 20px; transform: translateY(-50%); }
.dot-mr { top: 50%; right: 20px; transform: translateY(-50%); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--brand);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--brand);
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-outline-dark {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}

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

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO WITH COMPANY NAME */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 55px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: 0.3s ease;
}

.navbar.scrolled .nav-logo-img {
    height: 48px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-text .company-name {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.navbar.scrolled .nav-logo-text .company-name {
    color: var(--brand);
    text-shadow: none;
}

.nav-logo-text .tagline {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar.scrolled .nav-logo-text .tagline {
    color: var(--gray);
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-link {
    padding: 10px 18px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    transition: 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    background: var(--brand);
    color: var(--white);
}

.nav-cta {
    padding: 12px 24px;
    background: var(--accent);
    color: var(--dark);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s ease;
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}



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

.hero-video-container {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 100px 20px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.hero-badge i {
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 550px;
    margin: 0 auto 30px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat { text-align: center; }

.stat-number {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-plus, .stat-percent {
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.hero-scroll span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.scroll-indicator {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 11px;
    margin: 0 auto;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ========================================
   BRAND GREEN SECTION WITH GRASS EDGE
   ======================================== */
.section-brand {
    position: relative;
    background: var(--brand);
    color: var(--white);
    padding: 50px 0 130px; /* Extra bottom for grass */
}

/* Grass edge at bottom - overlaps into next section */
.section-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url('../assets/images/grass-divider-white.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
}

.section-brand h2,
.section-brand h3,
.section-brand h4 {
    color: var(--white);
}

.section-brand p {
    color: rgba(255,255,255,0.9);
}

/* ========================================
   WHITE SECTIONS WITH DOT PATTERNS
   ======================================== */
.section-white {
    position: relative;
    background: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.section-cream {
    position: relative;
    background: var(--cream);
    padding: 80px 0;
    overflow: hidden;
}

/* ========================================
   QUICK CONTACT
   ======================================== */
.quick-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--accent);
    transition: 0.3s ease;
}

.quick-contact-item:hover {
    background: rgba(255,255,255,0.15);
}

.quick-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
}

.quick-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3px;
}

.quick-value {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
}

a.quick-value:hover {
    color: var(--accent);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand);
    margin-bottom: 15px;
}

.section-tag i {
    color: var(--brand-light);
}

.section-tag-light {
    color: var(--accent);
}

.section-tag-light i {
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1rem;
}

.text-accent {
    color: var(--accent);
}

.text-brand-light {
    color: var(--brand-light);
}



/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-image-main {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Colored border accent like Kozeny's */
.about-image-main::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background: var(--brand);
    z-index: -1;
}

.about-image-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s ease;
}

.about-image-main img:hover {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent);
    color: var(--dark);
    padding: 20px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.exp-number {
    display: block;
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 15px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

/* Checkmark list like Kozeny's */
.check-list {
    margin: 25px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.check-list li i {
    width: 24px;
    height: 24px;
    background: var(--brand-light);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-image {
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    border-top: 3px solid var(--brand);
}

.service-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-link {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: var(--brand-light);
}

.service-link i {
    font-size: 10px;
    transition: 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

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

/* ========================================
   REVIEWS
   ======================================== */
.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto 40px;
    padding: 12px 25px;
    background: var(--off-white);
    width: fit-content;
}

.google-logo { height: 20px; }

.rating-stars i {
    color: #fbbc04;
    font-size: 15px;
}

.rating-score {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
}

.rating-count {
    font-size: 12px;
    color: var(--gray);
}

.reviews-carousel {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 14px);
    background: var(--off-white);
    padding: 25px;
    transition: 0.3s ease;
}

.review-card:hover {
    box-shadow: var(--shadow-sm);
}

.review-card.featured {
    background: var(--brand);
    color: var(--white);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    background: var(--brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
}

.review-card.featured .reviewer-avatar {
    background: rgba(255,255,255,0.2);
}

.reviewer-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.review-card.featured h4 { color: var(--white); }

.review-location {
    font-size: 11px;
    color: var(--gray-light);
}

.review-card.featured .review-location {
    color: rgba(255,255,255,0.7);
}

.review-badge { margin-left: auto; }

.review-badge i {
    font-size: 16px;
    color: #4285f4;
}

.review-card.featured .review-badge i {
    color: rgba(255,255,255,0.8);
}

.review-stars { margin-bottom: 12px; }

.review-stars i {
    color: #fbbc04;
    font-size: 12px;
}

.review-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 12px;
    font-style: italic;
}

.review-card.featured .review-text {
    color: rgba(255,255,255,0.9);
}

.review-date {
    font-size: 11px;
    color: var(--gray-light);
}

.review-card.featured .review-date {
    color: rgba(255,255,255,0.5);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.carousel-btn:hover {
    background: var(--brand);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: var(--gray-border);
    cursor: pointer;
    transition: 0.3s ease;
}

.carousel-dot.active {
    width: 30px;
    background: var(--brand);
}

.reviews-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-google {
    background: var(--white);
    color: var(--gray);
    border: 2px solid var(--gray-border);
}

.btn-google:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-google i { color: #4285f4; }



/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio {
    background: var(--dark);
    padding: 0;
}

.portfolio-header {
    padding: 60px 0 40px;
    text-align: center;
}

.portfolio-header h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.portfolio-header p {
    color: var(--gray-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: 0.3s ease;
}

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

.portfolio-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent);
    color: var(--dark);
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    width: fit-content;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 2px;
}

.portfolio-overlay p {
    color: var(--gray-light);
    font-size: 12px;
}

.portfolio-cta {
    padding: 40px 0 60px;
    text-align: center;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.lightbox-close:hover {
    background: var(--accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--accent);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,86,49,0.92), rgba(20,61,34,0.95));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SERVICE AREA
   ======================================== */
.service-area {
    position: relative;
    padding: 80px 0;
    background: var(--cream);
    overflow: hidden;
}

.area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.area-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 15px;
}

.area-content > p {
    color: var(--gray);
    margin-bottom: 25px;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.area-tag {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    transition: 0.3s ease;
    cursor: default;
}

.area-tag:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
}

.area-note {
    font-size: 13px;
    color: var(--gray-light);
}

.area-note a {
    color: var(--brand);
    font-weight: 600;
}

.area-map {
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-container {
    position: relative;
    padding-bottom: 75%;
}

.map-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 55px;
}

.footer-logo-text .company-name {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.footer-logo-text .tagline {
    font-size: 9px;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand > p {
    color: var(--gray-light);
    font-size: 13px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: var(--brand);
}

.footer h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a {
    color: var(--gray-light);
    font-size: 13px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
    font-size: 13px;
    margin-top: 3px;
}

.footer-contact a,
.footer-contact span {
    color: var(--gray-light);
    font-size: 13px;
}

.footer-contact a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 12px;
}

/* ========================================
   BACK TO TOP
   ======================================== */
/* OLD STYLES REMOVED - See bottom of file for new iOS-style controls */

/* ========================================
   PAGE HERO
   ======================================== */
.page-hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--brand);
    text-align: center;
    color: var(--white);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../assets/images/grass-divider-white.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    max-width: 500px;
    margin: 0 auto;
}



/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .review-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .dot-pattern {
        display: none;
    }
}

@media (max-width: 900px) {
    .about-grid,
    .area-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .quick-contact {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .quick-contact-item {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        border-left: none;
        border-top: 3px solid var(--accent);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .review-card {
        flex: 0 0 100%;
    }
    
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    
    .nav-logo-text {
        display: flex;
    }
    
    .nav-logo-text .company-name {
        font-size: 14px;
    }
    
    .nav-logo-text .tagline {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-link {
        font-size: 1.3rem;
        color: var(--dark) !important;
    }
    
    .hero-content {
        padding: 80px 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item.large {
        grid-column: span 1;
    }
    
    .portfolio-item {
        height: 220px;
    }
    
    .about-image-main::before {
        display: none;
    }
    
    .experience-badge {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .section-brand {
        padding-bottom: 100px;
    }
    
    .section-brand::after {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .nav-logo-img { height: 42px; }
    .navbar.scrolled .nav-logo-img { height: 38px; }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-badge {
        font-size: 10px;
        padding: 8px 15px;
    }
    
    .stat-number { font-size: 2rem; }
    
    .service-content { padding: 20px; }
    
    .review-card { padding: 20px; }
    
    .section-brand::after {
        height: 50px;
    }
}

/* Hamburger animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* ========================================
   SERVICE DETAIL PAGES
   ======================================== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-image {
    position: relative;
}

.service-detail-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background: var(--brand);
    z-index: -1;
}

.section-brand .service-detail-image::before {
    background: rgba(255,255,255,0.2);
}

.service-detail-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s ease;
}

.service-detail-image img:hover {
    transform: scale(1.02);
}

.service-detail-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 15px;
}

.service-detail-content p {
    margin-bottom: 20px;
}

.check-list.light li i {
    background: rgba(255,255,255,0.2);
}

.check-list.light li {
    color: var(--white);
}

@media (max-width: 900px) {
    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .service-detail-image::before {
        display: none;
    }
}


/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 14px;
    margin-bottom: 3px;
    color: var(--dark);
}

.contact-method a,
.contact-method span {
    font-size: 14px;
    color: var(--gray);
}

.contact-method a:hover {
    color: var(--brand);
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-social span {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--brand);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--brand);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--gray-border);
    font-family: var(--font-body);
    font-size: 14px;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(30,86,49,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Map Section */
.map-section {
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
}


/* ========================================
   GALLERY PAGE
   ======================================== */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: 0.3s ease;
}

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

.gallery-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent);
    color: var(--dark);
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    width: fit-content;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 14px;
}

@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   DROPZONE FILE UPLOAD
   ======================================== */
.dropzone {
    border: 2px dashed var(--gray-border);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    background: var(--off-white);
}

.dropzone:hover,
.dropzone.dragover {
    border-color: var(--brand);
    background: rgba(30, 86, 49, 0.05);
}

.dropzone i {
    font-size: 2.5rem;
    color: var(--brand);
    margin-bottom: 10px;
    display: block;
}

.dropzone p {
    color: var(--gray);
    margin-bottom: 5px;
}

.dropzone p span {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
}

.dropzone small {
    color: var(--gray-light);
    font-size: 12px;
}

.file-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--off-white);
    border-radius: 4px;
    font-size: 13px;
}

.file-item i {
    color: var(--brand);
}

.file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    color: var(--gray-light);
    font-size: 12px;
}

.file-remove {
    background: none;
    border: none;
    color: var(--gray-light);
    cursor: pointer;
    padding: 5px;
    transition: 0.3s ease;
}

.file-remove:hover {
    color: #c00;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 4rem;
    color: var(--brand);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.form-success p {
    color: var(--gray);
}

/* ========================================
   REVIEWS CAROUSEL IMPROVEMENTS
   ======================================== */
.reviews-carousel {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    user-select: none;
}

.review-card {
    flex: 0 0 calc(33.333% - 14px);
    background: var(--off-white);
    padding: 25px;
    transition: 0.3s ease;
    min-width: 0;
}

@media (max-width: 1100px) {
    .review-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
    }
}

/* ========================================
   FIXED NAVBAR LOGO - Clean transparent
   ======================================== */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    background: transparent;
    border: none;
    border-radius: 0;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* ========================================
   FIXED MAP SECTION
   ======================================== */
.map-section {
    width: 100%;
    height: 350px;
    background: var(--gray-border);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.area-map .map-container {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.area-map .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   LIGHTBOX FIX
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    transition: 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    transition: 0.3s ease;
    background: rgba(255,255,255,0.1);
    border: none;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    color: var(--accent);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Make gallery images clickable */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.lightbox-trigger {
    cursor: pointer;
}

/* ========================================
   MOBILE-FIRST RESPONSIVE - IPHONE OPTIMIZED
   ======================================== */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* iOS-specific fixes */
@supports (-webkit-touch-callout: none) {
    body {
        /* Fix for iOS bounce scroll */
        position: relative;
    }
}

/* ========================================
   LIGHTBOX - No X, tap to close
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Hide X button - removed from HTML */
.lightbox-close {
    display: none !important;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s ease;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50px;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    color: var(--accent);
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

/* Mobile lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 12px 16px;
        font-size: 16px;
        bottom: 30px;
        top: auto;
        transform: none;
    }
    .lightbox-prev { left: 20%; }
    .lightbox-next { right: 20%; }
    
    .lightbox-content {
        padding: 10px;
    }
    
    .lightbox-content img {
        max-height: 80vh;
    }
}

/* ========================================
   MOBILE NAVBAR
   ======================================== */
@media (max-width: 900px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo-img {
        height: 45px;
    }
    
    .nav-logo-text .company-name {
        font-size: 16px;
    }
    
    .nav-logo-text .tagline {
        font-size: 10px;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--brand-dark);
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        transform: translateX(-100%);
        transition: 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 18px 0;
        font-size: 18px;
    }
}

/* ========================================
   MOBILE HERO
   ======================================== */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh; /* iOS Safari fix */
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-content h1 span {
        display: block;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 15px;
        margin-top: 30px;
    }
    
    .hero-stats .stat {
        flex: 1;
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .hero-scroll {
        display: none;
    }
}

/* ========================================
   MOBILE SECTIONS
   ======================================== */
@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-header h2,
    .about-content h2,
    .service-detail-content h2 {
        font-size: 26px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .section-tag {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    /* Quick Contact */
    .quick-contact {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .quick-contact-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-icon {
        width: 50px;
        height: 50px;
    }
    
    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-images {
        order: -1;
    }
    
    .about-content {
        text-align: center;
    }
    
    .check-list {
        text-align: left;
        max-width: 280px;
        margin: 0 auto 25px;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Service Detail */
    .service-detail {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .service-detail-image {
        order: -1;
    }
    
    .service-detail-content {
        text-align: center;
        direction: ltr;
    }
    
    .service-detail-content .check-list {
        text-align: left;
    }
    
    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .portfolio-item.large {
        grid-column: 1;
        grid-row: auto;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    .gallery-overlay h4 {
        font-size: 12px;
    }
    
    .gallery-tag {
        font-size: 9px;
        padding: 3px 8px;
    }
    
    /* Reviews */
    .reviews-carousel {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-text {
        font-size: 14px;
    }
    
    .google-rating {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Area Tags */
    .area-tags {
        justify-content: center;
    }
    
    .area-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .area-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .area-content {
        text-align: center;
    }
    
    .area-map .map-container {
        height: 250px;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 26px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-methods {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-method {
        text-align: left;
    }
    
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Map Section */
    .map-section {
        height: 280px;
    }
}

/* ========================================
   EXTRA SMALL SCREENS (iPhone SE, etc)
   ======================================== */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .section-header h2,
    .about-content h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover {
        transform: none;
    }
    
    .portfolio-item:hover img {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    /* Always show overlays on touch */
    .portfolio-overlay,
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    }
    
    /* Larger tap targets */
    .btn {
        min-height: 48px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .carousel-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ========================================
   SAFE AREA INSETS (iPhone X+)
   ======================================== */
@supports (padding: max(0px)) {
    .navbar {
        padding-top: max(10px, env(safe-area-inset-top));
    }
    
    .footer-bottom {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    
    .nav-menu.active {
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
}

/* ========================================
   GALLERY ITEM CLICKABLE
   ======================================== */
.gallery-item,
.portfolio-item,
.service-image,
.about-image-main {
    cursor: pointer;
}

.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* ========================================
   PAGE HERO MOBILE
   ======================================== */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 20px 50px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero p {
        font-size: 14px;
    }
}

/* ========================================
   KOZENY-STYLE SCROLL ANIMATIONS
   ======================================== */

/* Base state - hidden */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fade up */
.animate-on-scroll.fade-up {
    transform: translateY(40px);
}

/* Fade down */
.animate-on-scroll.fade-down {
    transform: translateY(-40px);
}

/* Slide from right */
.animate-on-scroll.slide-right {
    transform: translateX(-60px);
}

/* Slide from left */
.animate-on-scroll.slide-left {
    transform: translateX(60px);
}

/* Animated state - visible */
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Stagger delays handled in JS */

/* ========================================
   LIGHTBOX - WORKING VERSION
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        top: auto;
        bottom: 30px;
        transform: none;
        width: 60px;
        height: 60px;
    }
    
    .lightbox-nav:hover {
        transform: none;
    }
    
    .lightbox-prev {
        left: calc(50% - 80px);
    }
    
    .lightbox-next {
        right: calc(50% - 80px);
    }
    
    .lightbox-image {
        max-height: 70vh;
    }
}

/* Make images clearly clickable */
.portfolio-item,
.gallery-item,
.service-image,
.about-image-main {
    cursor: pointer;
    overflow: hidden;
}

.portfolio-item img,
.gallery-item img,
.service-image img,
.about-image-main img,
.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img,
.gallery-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   INFINITE CAROUSEL STYLES
   ======================================== */
.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    background: var(--off-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 1100px) {
    .review-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

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

.carousel-dots {
    display: none; /* Hidden for infinite carousel */
}

/* ========================================
   HERO ANIMATION SPECIFIC
   ======================================== */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease 0.3s forwards;
}

.hero-badge {
    opacity: 0;
    transform: translateY(-20px);
    animation: heroFadeIn 0.8s ease 0.1s forwards;
}

.hero-stats .stat {
    opacity: 0;
    transform: translateY(20px);
}

.hero-stats .stat:nth-child(1) { animation: heroFadeIn 0.6s ease 0.5s forwards; }
.hero-stats .stat:nth-child(2) { animation: heroFadeIn 0.6s ease 0.6s forwards; }
.hero-stats .stat:nth-child(3) { animation: heroFadeIn 0.6s ease 0.7s forwards; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* Override for hero - don't use scroll animation */
.hero-content.animate-on-scroll,
.hero-badge.animate-on-scroll,
.hero-stats .stat.animate-on-scroll {
    opacity: 0;
}

.hero-content.animate-on-scroll.animated,
.hero-badge.animate-on-scroll.animated,
.hero-stats .stat.animate-on-scroll.animated {
    animation: heroFadeIn 0.8s ease forwards;
}


/* ========================================
   LOGO FIX - Dark background for consistency
   ======================================== */
.nav-logo-img {
    height: 55px;
    width: auto;
    background: #1a1a1a;
    padding: 5px 8px;
    border-radius: 6px;
}

.navbar.scrolled .nav-logo-img {
    height: 50px;
    background: #1a1a1a;
    padding: 4px 7px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    background: #1a1a1a;
    padding: 5px 8px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 45px;
        padding: 4px 6px;
    }
    
    .navbar.scrolled .nav-logo-img {
        height: 42px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
}

/* ========================================
   LOGO - Clean, no background, 20% larger
   OVERRIDE previous logo styles
   ======================================== */
.nav-logo-img {
    height: 72px !important;
    width: auto !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.navbar.scrolled .nav-logo-img {
    height: 65px !important;
    background: none !important;
    padding: 0 !important;
}

.footer-logo-img {
    height: 84px !important;
    width: auto !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 55px !important;
    }
    
    .navbar.scrolled .nav-logo-img {
        height: 50px !important;
    }
    
    .footer-logo-img {
        height: 65px !important;
    }
}

/* ========================================
   MOBILE MENU - Silicon Valley Clean Style
   ======================================== */

/* Hide default menu on mobile */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        border: none !important;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    
    .nav-menu .nav-link {
        display: block;
        padding: 20px 40px !important;
        font-size: 24px !important;
        font-weight: 600 !important;
        color: white !important;
        text-transform: uppercase;
        letter-spacing: 3px;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--accent) !important;
    }
    
    .nav-menu .nav-link::after {
        content: '';
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: width 0.3s ease;
    }
    
    .nav-menu .nav-link:hover::after,
    .nav-menu .nav-link.active::after {
        width: 40px;
    }
    
    /* Hamburger button */
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }
    
    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: white;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .navbar.scrolled .nav-toggle span {
        background: var(--dark);
    }
    
    .nav-toggle.active span {
        background: white !important;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hide CTA on mobile */
    .nav-cta {
        display: none !important;
    }
    
    /* Mobile contact info at bottom of menu */
    .nav-menu::after {
        content: '(860) 518-1860';
        position: absolute;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255,255,255,0.5);
        font-size: 14px;
        letter-spacing: 2px;
    }
}

/* Prevent body scroll when menu open */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   NAVBAR FIX - Dark background on all pages
   ======================================== */
.navbar {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Keep text white */
.navbar .nav-link {
    color: white !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent) !important;
}

.navbar .company-name {
    color: white !important;
}

.navbar .tagline {
    color: rgba(255,255,255,0.7) !important;
}

.navbar .nav-cta {
    background: var(--accent) !important;
    color: var(--dark) !important;
}

.navbar .nav-toggle span {
    background: white !important;
}

/* ========================================
   GRASS DIVIDERS - Clean consistent style
   ======================================== */

/* White section going INTO green - green grass at bottom */
.section-white.has-grass-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../assets/images/grass-divider-green.webp');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
    z-index: 2;
}

/* Cream section going INTO green - green grass at bottom */
.section-cream.has-grass-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../assets/images/grass-divider-green.webp');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
    z-index: 2;
}

/* Add padding for grass */
.section-white.has-grass-bottom,
.section-cream.has-grass-bottom {
    padding-bottom: 120px;
}


/* Remove grass from specific sections */
.section-brand.no-grass::after {
    display: none;
}

/* ========================================
   PAGE NAV CONTROLS - iOS Style Up/Down
   ======================================== */
.page-nav-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.page-nav-controls.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.2s ease;
}

.page-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.page-nav-btn:active {
    transform: scale(0.95);
}

/* iOS-style chevrons */
.chevron-up,
.chevron-down {
    width: 14px;
    height: 14px;
    border-left: 2.5px solid #1e5631;
    border-bottom: 2.5px solid #1e5631;
    transition: all 0.2s ease;
}

.chevron-up {
    transform: rotate(135deg) translateX(-1px) translateY(-1px);
}

.chevron-down {
    transform: rotate(-45deg) translateX(-1px) translateY(-1px);
}

.page-nav-btn:hover .chevron-up,
.page-nav-btn:hover .chevron-down {
    border-color: #145024;
}

/* Hide old back-to-top */
.back-to-top {
    display: none !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .page-nav-controls {
        bottom: 25px;
        right: 25px;
    }
    
    .page-nav-btn {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-nav-controls {
        bottom: 20px;
        right: 16px;
        gap: 6px;
    }
    
    .page-nav-btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    
    .chevron-up,
    .chevron-down {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .page-nav-controls {
        bottom: 16px;
        right: 12px;
    }
    
    .page-nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
}

/* ========================================
   LIGHTBOX MOBILE FIX - Override all previous
   ======================================== */
.lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.lightbox-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer;
}

.lightbox-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.lightbox-image {
    max-width: 90% !important;
    max-height: 85vh !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5) !important;
    display: block !important;
    position: relative !important;
    z-index: 100 !important;
}

.lightbox-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: #1e5631 !important;
    z-index: 100000 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    transition: all 0.2s ease !important;
}

.lightbox-nav:hover {
    background: white !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.lightbox-prev {
    left: 20px !important;
}

.lightbox-next {
    right: 20px !important;
}

/* Mobile: move buttons to bottom center */
@media (max-width: 768px) {
    /* Hide nav buttons on mobile - swipe only */
    .lightbox-nav {
        display: none !important;
    }
    
    .lightbox-image {
        max-width: 95% !important;
        max-height: 85vh !important;
    }
    
    /* Swipe hint styling */
    .lightbox-swipe-hint {
        position: absolute;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 15px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: opacity 0.5s ease;
        z-index: 100001;
    }
    
    .swipe-arrow {
        font-size: 18px;
        animation: swipeHint 1.5s ease-in-out infinite;
    }
    
    .swipe-left {
        animation-direction: alternate;
    }
    
    .swipe-right {
        animation-direction: alternate-reverse;
    }
    
    @keyframes swipeHint {
        0%, 100% { transform: translateX(0); opacity: 0.5; }
        50% { transform: translateX(-5px); opacity: 1; }
    }
    
    .lightbox-close-hint {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.5);
        font-size: 12px;
        letter-spacing: 1px;
        z-index: 100001;
    }
}

/* Hide hints on desktop */
.lightbox-swipe-hint,
.lightbox-close-hint {
    display: none;
}

@media (max-width: 768px) {
    .lightbox-swipe-hint,
    .lightbox-close-hint {
        display: flex;
    }
    
    .lightbox-close-hint {
        display: block;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        bottom: 20px !important;
        width: 55px !important;
        height: 55px !important;
    }
    
    .lightbox-prev {
        left: calc(50% - 70px) !important;
    }
    
    .lightbox-next {
        right: calc(50% - 70px) !important;
    }
}

/* ========================================
   TEREDA BRANDING - Cyberpunk Style
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap');

.tereda-credit {
    text-align: center;
    padding: 15px 0 0;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tereda-credit a {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ff0040;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    text-shadow: 
        0 0 5px #ff0040,
        0 0 10px #ff0040,
        0 0 20px rgba(255, 0, 64, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tereda-credit a:hover {
    color: #ff3366;
    text-shadow: 
        0 0 5px #ff3366,
        0 0 15px #ff3366,
        0 0 30px #ff3366,
        0 0 50px rgba(255, 51, 102, 0.6);
    letter-spacing: 5px;
}

.tereda-credit .powered-text {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

/* Subtle glitch animation on hover */
.tereda-credit a:hover .tereda-name {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(2px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}

/* ========================================
   MOBILE VIBRANCE BOOST
   ======================================== */
@media (max-width: 768px) {
    /* Boost saturation on specific elements only - not body (breaks fixed positioning) */
    .section-brand,
    .section-white,
    .hero,
    .page-hero,
    .footer-main {
        filter: saturate(1.15);
        -webkit-filter: saturate(1.15);
    }
    
    /* Make greens pop more */
    .text-brand,
    .text-brand-light,
    .section-tag,
    .btn-primary,
    .btn-accent {
        filter: saturate(1.2) brightness(1.05);
        -webkit-filter: saturate(1.2) brightness(1.05);
    }
    
    /* Images get a slight boost */
    .portfolio-item img,
    .gallery-item img,
    .service-detail-image img {
        filter: saturate(1.1);
        -webkit-filter: saturate(1.1);
    }
}


/* ========================================
   LIGHTBOX FINAL FIX - OVERRIDES EVERYTHING
   ======================================== */
#lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

#lightbox.active {
    opacity: 1 !important;
    visibility: visible !important;
}

#lightbox .lightbox-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

#lightbox .lightbox-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#lightbox .lightbox-image {
    max-width: 90vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5) !important;
    margin: 0 auto !important;
    display: block !important;
}

#lightbox .lightbox-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: #1e5631 !important;
    z-index: 1000000 !important;
}

#lightbox .lightbox-prev {
    left: 20px !important;
}

#lightbox .lightbox-next {
    right: 20px !important;
}

#lightbox .lightbox-swipe-hint,
#lightbox .lightbox-close-hint {
    display: none !important;
}

/* MOBILE OVERRIDES */
@media (max-width: 768px) {
    #lightbox .lightbox-image {
        max-width: 95vw !important;
        max-height: 80vh !important;
    }
    
    #lightbox .lightbox-nav {
        display: none !important;
    }
    
    #lightbox .lightbox-swipe-hint {
        display: flex !important;
        position: absolute !important;
        bottom: 100px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        color: rgba(255,255,255,0.7) !important;
        font-size: 14px !important;
        gap: 12px !important;
        z-index: 1000000 !important;
    }
    
    #lightbox .lightbox-close-hint {
        display: block !important;
        position: absolute !important;
        bottom: 60px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        color: rgba(255,255,255,0.5) !important;
        font-size: 12px !important;
        z-index: 1000000 !important;
    }
}


/* ========================================
   PORTFOLIO CAROUSEL - iOS Style
   ======================================== */
.portfolio-carousel-section {
    background: #1a1a1a;
    padding: 80px 0 60px;
    text-align: center;
}

.portfolio-carousel-section h2 {
    color: white;
    margin: 15px 0 10px;
}

.portfolio-carousel-section .section-subtitle {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.portfolio-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.portfolio-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 0 40px;
    width: max-content;
    will-change: transform;
}

.carousel-slide {
    flex-shrink: 0;
    width: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: scale(1.02);
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 14px;
}

.slide-caption span {
    font-weight: 600;
    color: #8BC34A;
}

/* Mobile */
@media (max-width: 768px) {
    .portfolio-carousel-section {
        padding: 50px 0 40px;
    }
    
    .carousel-track {
        padding: 0 20px;
        gap: 15px;
    }
    
    .carousel-slide {
        width: 280px;
    }
    
    .carousel-slide img {
        height: 200px;
    }
    
    .slide-caption {
        padding: 12px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        width: 260px;
    }
    
    .carousel-slide img {
        height: 180px;
    }
}


/* ========================================
   NAVBAR LOGO - Clean Override
   ======================================== */
.nav-logo-img {
    height: 70px !important;
    width: auto !important;
    object-fit: contain !important;
}

.navbar.scrolled .nav-logo-img {
    height: 55px !important;
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 55px !important;
    }
    
    .navbar.scrolled .nav-logo-img {
        height: 45px !important;
    }
}


/* ========================================
   NAVBAR LOGO - Final Clean Version
   ======================================== */
.nav-logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.nav-logo-img {
    height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

.nav-logo-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: white !important;
    letter-spacing: 1px !important;
}

.navbar.scrolled .nav-logo-img {
    height: 50px !important;
}

.navbar.scrolled .nav-logo-text {
    font-size: 16px !important;
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 50px !important;
    }
    
    .nav-logo-text {
        display: flex !important;
        font-size: 12px !important;
    }
}


/* ========================================
   FOOTER LOGO - Clean Version
   ======================================== */
.footer-logo {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
    margin-bottom: 15px !important;
}

.footer-logo-img {
    height: 70px !important;
    width: auto !important;
}

.footer-company-name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: white !important;
    letter-spacing: 1px !important;
}

@media (max-width: 768px) {
    .footer-logo {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .footer-logo-img {
        height: 60px !important;
    }
    
    .footer-company-name {
        font-size: 16px !important;
    }
}
