/* Modern Design CSS - Access 24 Hr Towing */

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

:root {
    /* Updated Color Palette */
    --primary-green: #0f3829;
    --secondary-green: #1a5c43;
    --accent-green: #26d07c;
    --light-green: #4ade80;
    --dark-green: #052e16;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 40px;
    
    /* Animations */
    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly interactions (avoid user-select:none on all links — users copy phone/email) */
button,
.nav-link,
.postcode-item,
.service-card,
.contact-method,
.gallery-slide {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Improve touch targets */
a, button, input, textarea, select {
    min-height: 44px;
    touch-action: manipulation;
}

/* Prevent zoom on form inputs */
input, textarea, select {
    font-size: 16px;
}

@media (max-width: 768px) {
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* Mobile-first responsive adjustments */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --container-padding: 30px;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

.loader {
    text-align: center;
    color: var(--white);
}

.truck-animation {
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom truck image (replaces Font Awesome truck icons site-wide) */
.site-truck-icon {
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

/* White on green — same read as Font Awesome truck on loading screen */
.site-truck-icon--loader,
.service-icon .site-truck-icon--service {
    filter: brightness(0) invert(1) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.18));
}

/* Logo image in the side nav brand */
.brand-icon .site-truck-icon--brand {
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Logo image in the mobile header */
.mobile-logo .site-truck-icon--header {
    object-fit: contain;
    border-radius: 10px;
    background: #000;
    padding: 3px;
}

/* Loading: very large truck (full-screen intro) */
.site-truck-icon--loader {
    width: min(72vw, 18rem);
    height: min(72vw, 18rem);
    max-width: 320px;
    max-height: 320px;
}

/* Menu brand: original 60×60 box, truck overflows — no inner padding */
.brand-icon .site-truck-icon--brand {
    width: 6rem;
    height: 3.2rem;
    max-width: none;
    margin: 0;
}

.mobile-logo .site-truck-icon--header {
    width: 5rem;
    height: 2.2rem;
}

.truck-graphic .site-truck-icon--hero {
    width: min(260px, 46vw);
    height: auto;
    max-height: min(340px, 40vh);
    opacity: 0.90;
    filter: brightness(0) invert(1) drop-shadow(0 0 28px rgba(38, 208, 124, 0.55));
    animation: truckDrive 3.5s ease-in-out infinite;
}

@keyframes truckDrive {
    0%   { transform: translateX(-8px) scale(1);   }
    40%  { transform: translateX(8px)  scale(1.04); }
    60%  { transform: translateX(8px)  scale(1.04); }
    100% { transform: translateX(-8px) scale(1);   }
}

/* Service card: original 80×80 green tile, truck much larger — no padding */
.service-icon .site-truck-icon--service {
    width: 7.25rem;
    height: 7.25rem;
    max-width: none;
    margin: 0;
}

/* Mask technique: use the PNG as a mask and paint it with the exact CSS variable —
   this gives a pixel-perfect match to the other icons' color: var(--accent-green) */
.benefit-item .site-truck-icon--benefit {
    display: inline-block;
    width: 1.85rem;
    height: 1.85rem;
    flex-shrink: 0;
    background-color: var(--accent-green);
    -webkit-mask: url('assets/images/towing-truk.png') center / contain no-repeat;
    mask: url('assets/images/towing-truk.png') center / contain no-repeat;
}

.benefit-item:hover .site-truck-icon--benefit {
    background-color: var(--white);
}

.brand-logo .site-truck-icon--footer {
    width: 5.5rem;
    height: 2.4rem;
    object-fit: contain;
    background: #000;
    border-radius: 10px;
    padding: 3px;
}

.loading-text {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--accent-green);
    animation: loading 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transform: translateX(0);
    transition: transform var(--transition-normal);
}

.side-nav.active {
    transform: translateX(0);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
    overflow: visible;
}

.brand-icon {
    width: auto;
    height: auto;
    padding: 4px;
    background: #000;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    overflow: visible;
    flex-shrink: 0;
}

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

.brand-main {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.brand-sub {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Side nav (large layout): icon + label always visible */
.side-nav .nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray-600);
    transition: background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-fast);
    position: relative;
    overflow: visible;
}

.side-nav .nav-link::before {
    content: attr(data-text);
    position: static;
    opacity: 1;
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.side-nav .nav-link i {
    font-size: 1.2rem;
    min-width: 28px;
    text-align: center;
    color: var(--gray-500);
    transition: color var(--transition-normal);
}

.side-nav .nav-link:hover {
    background: var(--gray-100);
    color: var(--primary-green);
    transform: translateX(4px);
}

.side-nav .nav-link:hover i {
    color: var(--accent-green);
}

.side-nav .nav-link.active {
    background: rgba(38, 208, 124, 0.14);
    color: var(--primary-green);
    box-shadow: inset 3px 0 0 var(--accent-green), inset 0 0 0 1px rgba(38, 208, 124, 0.28);
    transform: translateX(2px);
}

.side-nav .nav-link.active i {
    color: var(--accent-green);
}

@media (hover: hover) {
    .side-nav .nav-link.active:hover {
        background: rgba(38, 208, 124, 0.2);
    }
}

.emergency-contact {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 16px;
    text-align: center;
    color: var(--white);
}

.emergency-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.emergency-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 999;
    padding: 0 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    color: var(--primary-green);
}

.mobile-brand {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    gap: 3px;
}

.mobile-brand-name {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: 0.2px;
}

.mobile-brand-tagline {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

/* Very narrow phones: trim the tagline tracking so nothing wraps */
@media (max-width: 360px) {
    .mobile-brand-name {
        font-size: 0.98rem;
    }
    .mobile-brand-tagline {
        font-size: 0.56rem;
        letter-spacing: 1.2px;
    }
}


.mobile-menu-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-header-call {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--secondary-green));
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.mobile-quick-nav {
    display: none;
}

/* Dismiss overlay when hamburger menu is open (does not cover header or bottom bar) */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 997;
    background: rgba(15, 56, 41, 0.14);
    -webkit-tap-highlight-color: transparent;
}

.nav-backdrop.is-visible {
    display: block;
    cursor: pointer;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin-left var(--transition-normal);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--light-green));
    opacity: 0.1;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 30%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: var(--section-padding) 0;
}

.hero-badge {
    position: fixed;
    top: 0.85rem;
    left: 50%;
    /* On mobile, pushed below the mobile header */
    transform: translateX(-50%);
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--accent-green);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-green);
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    white-space: nowrap;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.badge-licence {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-green);
    padding-left: 0.5rem;
    border-left: 2px solid var(--accent-green);
    margin-left: 0.2rem;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.title-line {
    display: block;
    animation: slideInUp 1s ease-out 0.4s both;
}

.title-highlight {
    background: linear-gradient(135deg, var(--accent-green), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: slideInUp 1s ease-out 0.8s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: slideInUp 1s ease-out 1s both;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.cta-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--gray-200);
}

.cta-secondary:hover {
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: slideInUp 1s ease-out 1.2s both;
}

.stat-item {
    text-align: center;
}

.stat-percent-icon {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-green);
    vertical-align: baseline;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 0.5rem;
}

.hero-image {
    position: relative;
    flex: 1;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

.truck-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    /* pulse handled by truckDrive on the img itself */
}

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

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

/* Section Styles */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent-green), var(--light-green));
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.nav-logo h2 {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.5rem;
}

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

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

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

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

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,800 1000,1000"/></svg>');
    background-size: cover;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 90, 39, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Services Section */
.services-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.modern-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--light-green));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

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

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.service-icon {
    width: 100px;
    height: 80px;
    padding: 0 10px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    overflow: visible;
    position: relative;
    z-index: 1;
}

/* Let oversized truck art show outside the green tile */
.services-section .service-card.modern-card {
    overflow: visible;
}

.service-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

.services-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    margin-top: 3rem;
}

.cta-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-content p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-green);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* About Section */
.about-section {
    padding: 4rem 0 0 0;
    background: var(--gray-50);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text {
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.services-overview {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-green);
    box-shadow: var(--shadow-md);
}

.services-overview h4 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.services-overview p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

.specializations {
    margin: 0;
    width: 100%;
    padding: 2rem 0;
    background: var(--gray-50);
}

.specializations h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: center;
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.spec-item:hover {
    background: var(--accent-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.spec-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.spec-item:hover i {
    color: var(--white);
}

.spec-item span {
    font-weight: 500;
    font-size: 0.95rem;
}


.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
}

.card-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all var(--transition-normal);
    font-size: 0.85rem;
    white-space: nowrap;
}

.benefit-item:hover {
    background: var(--accent-green);
    color: var(--white);
    transform: translateX(5px);
}

.benefit-item i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.benefit-item:hover i {
    color: var(--white);
}

/* Credentials Badges */
.credentials-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    justify-content: center;
}

.credential-badge:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.credential-badge i {
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

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

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

.gallery-item--hidden {
    display: none;
}

/* View More Button */
.gallery-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.5rem;
    background: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
    min-height: 48px;
}

.btn-view-more:hover {
    background: var(--white);
    color: var(--primary-green);
    border-color: var(--white);
    transform: scale(1.03);
}

.btn-view-more i {
    transition: transform 0.3s ease;
}

.btn-view-more.expanded i {
    transform: rotate(180deg);
}

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

@media (max-width: 400px) {
    .gallery-grid {
        gap: 0.5rem;
    }
}

/* ---- Legacy carousel styles (unused, kept for reference) ---- */
/* Auto-Scrolling Gallery Carousel */
.gallery-carousel-container {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: var(--gray-900);
}

.gallery-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: transparent;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    transform: none;
}

.gallery-slide.active {
    opacity: 1;
    transform: none;
}

.gallery-slide.prev {
    opacity: 0;
    transform: none;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease-out;
}

.gallery-slide.active img {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide.active .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.slide-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    animation: slideInUp 0.8s ease-out 0.5s both;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-green);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInUp 0.8s ease-out 0.7s both;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
    backdrop-filter: blur(15px);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    opacity: 1;
}

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

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--accent-green);
    border-color: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--white);
    transform: scale(1.1);
}

/* Auto-play Controls */
.carousel-autoplay {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.autoplay-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.autoplay-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--accent-green);
}

.autoplay-btn i {
    font-size: 0.8rem;
}

/* Mobile Responsive for Gallery */
@media (max-width: 768px) {
    .gallery-carousel {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-controls {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .slide-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .slide-overlay h3 {
        font-size: 1.5rem;
    }
    
    .slide-overlay p {
        font-size: 1rem;
    }
    
    .carousel-autoplay {
        top: 1rem;
        right: 1rem;
    }
    
    .autoplay-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .autoplay-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .gallery-carousel {
        height: 40vh;
        min-height: 300px;
    }
    
    .carousel-indicators {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}
.boat-bg { background: linear-gradient(135deg, #0ea5e9, #3b82f6); }
.motorcycle-bg { background: linear-gradient(135deg, #9333ea, #a855f7); }
.machinery-bg { background: linear-gradient(135deg, #ea580c, #f97316); }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.view-btn {
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.view-btn:hover {
    background: var(--accent-green);
    color: var(--white);
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-header .section-header {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.primary-contact {
    border: 2px solid var(--accent-green);
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--accent-green);
}

.availability {
    font-size: 0.9rem;
    color: var(--gray-500);
    display: block;
    margin-top: 0.25rem;
}

.service-hours {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.service-hours h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.hour-item:last-child {
    border-bottom: none;
}

.day {
    color: var(--gray-600);
    font-weight: 500;
}

.time {
    color: var(--primary-green);
    font-weight: 600;
}

.emergency-note {
    background: var(--accent-green);
    color: var(--white);
    padding: 1rem;
    border-radius: 12px;
    align-items: center;
    gap: 0.5rem;
    border-bottom: none;
}

.emergency-note i {
    color: var(--white);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
}

.form-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

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

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

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

.form-group label {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-normal);
    font-family: inherit;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(38, 208, 124, 0.1);
}

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

.form-actions {
    text-align: center;
    margin-top: 1rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Footer */
.modern-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-left: 280px;
    transition: margin-left var(--transition-normal);
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-700);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.brand-info p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.brand-description {
    color: var(--gray-300);
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.link-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-group ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.link-group ul li a:hover {
    color: var(--accent-green);
}

.link-group ul li {
    color: var(--gray-300);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
}

.detail-item i {
    color: var(--accent-green);
    width: 20px;
}

.detail-item a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.detail-item a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    background: var(--accent-green);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        margin-left: 0;
    }
    
    .modern-footer {
        margin-left: 0;
    }
    
    .side-nav {
        transform: translateX(-100%);
    }
    
    .side-nav.active {
        transform: translateX(0);
    }
    
    .mobile-header {
        display: flex;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specialization-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    /* One region card per row when side nav is off (tablet / phone) */
    .postcodes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .postcode-group {
        min-width: 0;
        width: 100%;
    }
    
    .group-header {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem 0.75rem;
        align-items: center;
    }
    
    .group-header i {
        grid-row: 1;
        grid-column: 1;
    }
    
    .group-header h4 {
        grid-row: 1;
        grid-column: 2;
        margin: 0;
        min-width: 0;
        line-height: 1.3;
    }
    
    .area-badge {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-self: start;
    }
    
    .postcode-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .postcode-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem 1rem;
        text-align: left;
        min-height: 48px;
        padding: 0.75rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .postcode-item .suburb {
        margin-bottom: 0;
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }
    
    .postcode-item .postcode {
        flex-shrink: 0;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 0.35rem 0.65rem;
        border-radius: 10px;
        background: var(--gray-100);
        color: var(--primary-green);
        opacity: 1;
    }
    
    .postcode-item:hover .postcode,
    .postcode-item:focus-visible .postcode {
        background: rgba(255, 255, 255, 0.25);
        color: var(--white);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --container-padding: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 1rem;
    }
    
    .floating-card {
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
        position: relative;
        margin: 0.5rem;
        display: inline-flex;
        animation: none;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }
    
    .truck-graphic .site-truck-icon--hero {
        width: min(200px, 55vw);
        max-height: 220px;
        filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(38, 208, 124, 0.50));
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cta {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .credentials-badges {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .credential-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .specialization-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .gallery-tabs {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 9vw + 0.5rem, 3.5rem);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 250px;
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-card {
        position: static;
        margin: 0.25rem;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        animation: none;
        transform: none !important;
    }
    
    .truck-graphic .site-truck-icon--hero {
        width: min(160px, 50vw);
        max-height: 180px;
        margin: 1rem 0;
        filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(38, 208, 124, 0.45));
    }
    
    .hero-background .hero-shape-1,
    .hero-background .hero-shape-2,
    .hero-background .hero-shape-3 {
        animation: none;
        opacity: 0.05;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .specialization-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .spec-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading animations */
.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* COMPREHENSIVE MOBILE RESPONSIVENESS */

/* Mobile Navigation & Layout - Tablet and below */
@media (max-width: 768px) {
    .side-nav {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .side-nav.active {
        transform: translateX(0);
    }
    
    .mobile-header {
        display: flex;
    }

    /* Push badge below the 70px mobile header */
    .hero-badge {
        top: calc(70px + 0.6rem);
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 70px;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-content {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        order: 2;
        width: 100%;
        height: 300px;
        position: relative;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Services Section Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .services-cta {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    /* About Section Mobile */
    .about-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-visual {
        order: 2;
    }
    
    .specializations {
        margin-top: 2rem;
    }
    
    .specialization-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Gallery Mobile */
    .gallery-carousel {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-controls {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .slide-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .slide-overlay h3 {
        font-size: 1.5rem;
    }
    
    /* Contact Section Mobile */
    .contact-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Footer Mobile */
    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Phones - 480px and below */
@media (max-width: 480px) {
    .mobile-header {
        padding: 0 1rem;
        height: 60px;
    }

    .main-content {
        padding-top: 60px;
    }

    .hero-badge {
        top: calc(60px + 0.5rem);
    }
    
    /* Typography Mobile */
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Services Mobile */
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-number {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    /* About Mobile */
    .specialization-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .spec-item {
        padding: 1rem;
    }
    
    .spec-item span {
        font-size: 0.9rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    /* Gallery Mobile */
    .gallery-carousel {
        height: 40vh;
        min-height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .slide-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .slide-overlay h3 {
        font-size: 1.25rem;
    }
    
    .slide-overlay p {
        font-size: 0.9rem;
    }
    
    .category-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Contact Mobile */
    .contact-method {
        padding: 1.5rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .modern-form {
        padding: 2rem 1.5rem;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Loading Screen Mobile — still very large */
    .site-truck-icon--loader {
        width: min(78vw, 14rem);
        height: min(78vw, 14rem);
        max-width: 280px;
        max-height: 280px;
    }
    
    .loading-text {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
    
    .loading-bar {
        width: 150px;
    }
    
    /* Navigation Mobile */
    .side-nav .nav-links {
        gap: 0.5rem;
    }
    
    .side-nav .nav-link {
        padding: 1rem;
    }
    
    .emergency-contact {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .emergency-number {
        font-size: 1.25rem;
    }
    
    /* Background and Shapes Mobile */
    .hero-background {
        opacity: 0.3;
    }
    
    .hero-shape-1,
    .hero-shape-2,
    .hero-shape-3 {
        transform: scale(0.5);
    }
    
    /* Button adjustments */
    .cta-button,
    .submit-btn {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    /* Spacing adjustments */
    .section-container {
        padding: 0 1rem;
    }
    
    /* Ensure no horizontal scroll */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Extra small devices - 320px and below */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.25rem 0.75rem;
    }
    
    .gallery-carousel {
        height: 35vh;
        min-height: 250px;
    }
    
    .modern-form {
        padding: 1.5rem 1rem;
    }
    
    .contact-method {
        padding: 1.25rem;
    }
    
    .section-container {
        padding: 0 0.75rem;
    }
}

/* Service Areas Section */
.service-areas-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.service-areas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(38, 208, 124, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(15, 56, 41, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.service-areas-content {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Coverage Stats */
.coverage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-green));
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.stat-info h3 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-info p {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 1rem;
}

/* Postcodes Container */
.postcodes-container {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    margin-bottom: 3rem;
}

.container-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
}

.container-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.container-header h3 i {
    color: var(--accent-green);
    font-size: 1.5rem;
}

.container-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    font-weight: 500;
}

.postcodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.postcode-group {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.postcode-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--secondary-green));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.postcode-group:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.postcode-group:hover::before {
    opacity: 1;
}

.postcode-group.featured {
    border: 2px solid var(--accent-green);
    background: linear-gradient(135deg, rgba(38, 208, 124, 0.05) 0%, var(--white) 100%);
}

.postcode-group.featured::before {
    opacity: 1;
    height: 4px;
}

.group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.group-header i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.group-header h4 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 0;
    flex-grow: 1;
}

.area-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.postcode-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.postcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition-fast);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.postcode-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(38, 208, 124, 0.1), transparent);
    transition: left 0.6s ease;
}

.postcode-item:hover::before {
    left: 100%;
}

.postcode-item:hover {
    background: var(--accent-green);
    color: var(--white);
    border-color: var(--accent-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.suburb {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.postcode {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.postcode-item:hover .suburb,
.postcode-item:hover .postcode {
    color: var(--white);
}

/* Re-apply mobile layout AFTER the base styles so cascade order is correct */
@media (max-width: 1024px) {
    .postcodes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .postcode-group {
        padding: 2rem;
        border-radius: 20px;
    }

    .group-header {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem 0.75rem;
        align-items: center;
        flex-wrap: unset;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .group-header i {
        grid-row: 1;
        grid-column: 1;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .group-header h4 {
        grid-row: 1;
        grid-column: 2;
        font-size: 1.25rem;
        min-width: unset;
    }

    .area-badge {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-self: start;
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .postcode-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .postcode-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem 1rem;
        text-align: left;
        min-height: 48px;
        padding: 0.75rem 1rem;
        width: 100%;
        box-sizing: border-box;
        border-radius: 12px;
        border-width: 2px;
    }

    .postcode-item .suburb {
        margin-bottom: 0;
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
        font-size: 0.9rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .postcode-item .postcode {
        flex-shrink: 0;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 0.35rem 0.65rem;
        border-radius: 10px;
        background: var(--gray-100);
        color: var(--primary-green);
        opacity: 1;
    }

    .postcode-item:hover .postcode,
    .postcode-item:focus-visible .postcode {
        background: rgba(255, 255, 255, 0.25);
        color: var(--white);
    }

    .suburb {
        font-size: 0.9rem;
    }

    .postcodes-container {
        padding: 3rem;
        border-radius: 24px;
    }
}

.service-areas-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-areas-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    animation: float 20s linear infinite;
    z-index: 1;
}

.service-areas-cta .cta-content {
    position: relative;
    z-index: 2;
}

.service-areas-cta h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.service-areas-cta h3 i {
    color: var(--accent-green);
    animation: pulse 2s infinite;
    font-size: 1.75rem;
}

.service-areas-cta p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-areas-cta .cta-button {
    position: relative;
    z-index: 2;
    background: var(--accent-green);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.service-areas-cta .cta-button:hover {
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design for Service Areas */
@media (max-width: 768px) {
    .service-areas-section {
        padding: 60px 0;
    }
    
    .coverage-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .stat-info h3 {
        font-size: 2rem;
    }
    
    .postcodes-container {
        padding: 2rem;
    }
    
    .container-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .container-header h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .postcodes-grid {
        gap: 1.25rem;
    }
    
    .postcode-group {
        padding: 1.5rem;
    }
    
    .group-header {
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }
    
    .group-header h4 {
        font-size: 1.1rem;
    }
    
    .postcode-item .suburb {
        font-size: 0.95rem;
    }
    
    .service-areas-cta {
        padding: 2rem 1.5rem;
    }
    
    .service-areas-cta h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-areas-cta p {
        font-size: 1rem;
    }
    
    .service-areas-cta .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-areas-section {
        padding: 40px 0;
    }
    
    .coverage-stats {
        margin-bottom: 2rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-info h3 {
        font-size: 1.75rem;
    }
    
    .stat-info p {
        font-size: 0.9rem;
    }
    
    .postcodes-container {
        padding: 1.5rem;
    }
    
    .container-header h3 {
        font-size: 1.25rem;
    }
    
    .container-header p {
        font-size: 0.9rem;
    }
    
    .postcode-group {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .group-header i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .group-header h4 {
        font-size: 1rem;
    }
    
    .area-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .postcode-list {
        gap: 0.45rem;
    }
    
    .postcode-item {
        padding: 0.65rem 0.85rem;
        min-height: 48px;
        border-radius: 10px;
    }
    
    .postcode-item .suburb {
        font-size: 0.88rem;
    }
    
    .postcode-item .postcode {
        font-size: 0.75rem;
        padding: 0.3rem 0.55rem;
    }
    
    .service-areas-cta {
        padding: 1.5rem 1rem;
    }
    
    .service-areas-cta h3 {
        font-size: 1.25rem;
    }
    
    .service-areas-cta p {
        font-size: 0.9rem;
    }
    
    .service-areas-cta .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ——— Compact mobile layout (≤1024px): less vertical scroll, alternate structure ——— */
@media (max-width: 1024px) {
    .mobile-header-call {
        display: flex;
    }

    /* Hamburger: compact dropdown under header (not full-screen drawer) */
    .side-nav {
        top: 70px;
        left: 50%;
        right: auto;
        bottom: auto;
        width: min(400px, calc(100vw - 28px));
        height: auto;
        min-height: 0;
        max-height: min(520px, calc(100dvh - 70px - 64px));
        padding: 1rem 1.25rem 1.35rem;
        border-radius: 0 0 22px 22px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
        transform: translate(-50%, calc(-100% - 24px));
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.32s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    .side-nav.active {
        transform: translate(-50%, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .side-nav .nav-brand {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .side-nav .brand-icon {
        width: auto;
        height: auto;
        padding: 4px;
    }

    .side-nav .brand-icon .site-truck-icon--brand {
        width: 5rem;
        height: 2.8rem;
    }

    .side-nav .brand-main {
        font-size: 1.15rem;
    }

    .side-nav .nav-links {
        flex: 0 1 auto;
        gap: 0.35rem;
    }

    .side-nav .nav-link {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.8rem 1rem;
        border-radius: 12px;
    }

    .side-nav .nav-link::before {
        position: static;
        left: auto;
        opacity: 1;
        flex: 1;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .side-nav .nav-link:hover,
    .side-nav .nav-link.active {
        transform: none;
    }

    .side-nav .nav-link.active {
        background: rgba(38, 208, 124, 0.14);
        color: var(--primary-green);
        box-shadow: inset 0 0 0 1px rgba(38, 208, 124, 0.35);
    }

    .side-nav .emergency-contact {
        margin-top: 0.75rem;
        padding: 1rem;
    }

    .mobile-quick-nav {
        display: none;
    }

    .quick-nav-link {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        text-decoration: none;
        color: var(--gray-600);
        font-size: 0.72rem;
        font-weight: 600;
        padding: 0.45rem 0.75rem;
        min-height: 52px;
        min-width: 4.5rem;
        border-radius: 12px;
        max-width: none;
        margin: 0;
        transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
    }

    .quick-nav-link span {
        display: block;
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
    }

    .quick-nav-link i {
        font-size: 1.2rem;
    }

    .quick-nav-link.active {
        color: var(--primary-green);
        background: rgba(38, 208, 124, 0.18);
        box-shadow: inset 0 -3px 0 var(--accent-green);
    }

    .quick-nav-link.active i {
        color: var(--accent-green);
    }

    @media (hover: hover) {
        .quick-nav-link:hover {
            background: var(--gray-100);
            color: var(--primary-green);
        }

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

        .quick-nav-link.active:hover {
            background: rgba(38, 208, 124, 0.22);
        }

        .side-nav .nav-link:hover {
            background: var(--gray-100);
        }
    }

    .main-content {
        padding-bottom: 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 5.5rem;
        padding-bottom: 1.25rem;
        flex-direction: column;
    }

    .hero-content {
        padding: 0.5rem 0 0;
    }

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

    .hero-image {
        display: none;
    }

    .hero-stats {
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
    }

    .services-section,
    .about-section,
    .gallery-section,
    .service-areas-section,
    .contact-section {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    /* Reduce container padding on small screens to prevent overflow */
    .section-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-header {
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .services-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        gap: 1rem;
        padding: 2rem 0 0.75rem;
        margin: 0 calc(-1 * var(--container-padding));
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .services-grid .service-card {
        flex: 0 0 min(290px, 86vw);
        scroll-snap-align: start;
        max-width: none;
        padding: 1.5rem 1.35rem;
    }

    .services-cta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem 1rem;
        padding: 1rem 1.25rem;
        margin-top: 0.5rem;
    }

    .services-cta .cta-content h3 {
        font-size: 1.05rem;
        margin-bottom: 0.15rem;
    }

    .services-cta .cta-content p {
        font-size: 0.82rem;
        margin: 0;
    }

    .about-visual {
        display: none;
    }

    .about-layout {
        gap: 0;
    }

    .about-more {
        margin-top: 1rem;
        border: 1px solid var(--gray-200);
        border-radius: 14px;
        background: var(--gray-50);
        overflow: hidden;
    }

    .about-more-summary {
        padding: 0.85rem 1rem;
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--primary-green);
        cursor: pointer;
        list-style: none;
    }

    .about-more-summary::-webkit-details-marker {
        display: none;
    }

    .about-more-body {
        padding: 0 1rem 1rem;
        border-top: 1px solid var(--gray-200);
    }

    /* === Specializations: always visible on mobile, no dropdown === */
    .specializations-wrap {
        margin-top: 1.5rem;
        border: none;
        border-radius: 0;
        background: transparent;
        overflow: visible;
        box-shadow: none;
    }

    /* Hide the summary/toggle entirely — not needed since always open */
    .specializations-summary {
        display: none;
    }

    .specializations-wrap .specializations {
        padding: 0;
        border: none;
    }

    /* Show the title on mobile in a clean styled way */
    .specializations-desktop-title {
        display: block;
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-green);
        margin: 0 0 0.85rem;
        padding-bottom: 0.55rem;
        border-bottom: 2px solid var(--accent-green);
    }

    .specialization-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .spec-item {
        padding: 0.75rem 0.85rem;
        gap: 0.6rem;
        border-radius: 10px;
    }

    .spec-item i {
        font-size: 1rem;
        width: 18px;
    }

    .spec-item span {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .gallery-section .section-header {
        margin-bottom: 0.75rem;
    }

    .gallery-carousel {
        height: 40vw;
        min-height: 190px;
        max-height: 240px;
    }

    details.postcode-group > summary.group-header {
        list-style: none;
        cursor: pointer;
        position: relative;
        padding-right: 2rem;
    }

    details.postcode-group > summary.group-header::-webkit-details-marker {
        display: none;
    }

    details.postcode-group > summary.group-header::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 0.15rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.72rem;
        color: var(--gray-500);
        transition: transform var(--transition-normal);
    }

    details.postcode-group[open] > summary.group-header::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .modern-footer {
        padding-bottom: calc(2.5rem + 58px + env(safe-area-inset-bottom, 0px));
    }

    .footer-bottom {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .nav-backdrop {
        top: 60px;
    }

    .side-nav {
        top: 60px;
        max-height: min(500px, calc(100dvh - 60px - 64px));
    }
}

@media (min-width: 1025px) {
    .specializations-wrap > .specializations-summary {
        display: none;
    }

    .specializations-wrap {
        border: none;
        margin: 0;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .specializations-wrap .specializations {
        padding: 2rem 0;
        border: none;
    }

    details.postcode-group > summary.group-header {
        list-style: none;
        cursor: default;
        pointer-events: none;
    }

    details.postcode-group > summary.group-header::-webkit-details-marker {
        display: none;
    }

    /* Desktop-only compact service areas styles */
    .postcodes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .postcode-group {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .group-header {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .group-header i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .group-header h4 {
        font-size: 0.95rem;
        min-width: 0;
    }

    .area-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.55rem;
    }

    .postcode-list {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 0.5rem;
    }

    .postcode-item {
        padding: 0.6rem 0.5rem;
        min-height: 56px;
        border-width: 1px;
        border-radius: 10px;
    }

    .suburb {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }

    .postcodes-container {
        padding: 2rem;
        border-radius: 20px;
    }

    details.postcode-group > summary.group-header::after {
        display: none;
    }

    .about-more > .about-more-summary {
        display: none;
    }

    .about-more {
        border: none;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .about-more-body {
        padding: 0;
        border: none;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* =======================================================
   SECTION BACKGROUND PHOTOS
   ======================================================= */

/* ---- Hero slideshow ---- */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    /* Ken Burns: each slide slowly zooms in while visible */
    transform: scale(1);
    animation: heroBurns 8s ease-in-out infinite alternate;
}

.hero-slide.is-active {
    opacity: 1;
}

@keyframes heroBurns {
    from { transform: scale(1);    }
    to   { transform: scale(1.07); }
}

/* Dark gradient overlay so text stays readable over any photo */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5, 20, 12, 0.72) 0%,
        rgba(5, 20, 12, 0.42) 55%,
        rgba(5, 20, 12, 0.12) 100%
    );
    z-index: 1;
}
.hero-title { color: var(--white); }
.hero-subtitle { color: rgba(255, 255, 255, 0.90); }
.stat-label { color: rgba(255, 255, 255, 0.80); }
.cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}
.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---- Services: old-school tow truck — top gradient keeps header readable ---- */
.services-section {
    background: url('assets/images/oldSchool.avif') center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
}
.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 18, 11, 0.72) 0%,
        rgba(5, 18, 11, 0.50) 30%,
        rgba(5, 18, 11, 0.50) 100%
    );
}
.services-section .section-container {
    position: relative;
    z-index: 1;
}
.services-section .section-title { color: var(--white); }
.services-section .section-description { color: rgba(255, 255, 255, 0.88); }

/* ---- About: light semi-transparent overlay so the image shows through clearly ---- */
.about-section {
    background: url('assets/images/caravan.avif') center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
}
.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.70);
}
.about-section .section-container,
.about-section > .specializations-wrap {
    position: relative;
    z-index: 1;
}

/* ---- Gallery: bottom-heavy dark gradient — image visible at top, dark framing at bottom ---- */
.gallery-section {
    background: url('assets/images/racingCar.avif') center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
}
.gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 15, 10, 0.70) 0%,
        rgba(5, 15, 10, 0.55) 25%,
        rgba(5, 15, 10, 0.55) 100%
    );
}
.gallery-section .section-container {
    position: relative;
    z-index: 1;
}
.gallery-section .section-title { color: var(--white); }
.gallery-section .section-description { color: rgba(255, 255, 255, 0.88); }

/* ---- Service Areas: light overlay so excavator image shows through ---- */
.service-areas-section {
    background: url('assets/images/excavator.avif') center / cover no-repeat;
    background-attachment: fixed;
}
.service-areas-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.80);
    pointer-events: none;
}
.service-areas-section .section-container {
    position: relative;
    z-index: 1;
}

/* ---- Contact: night tow photo — clearer image with lighter overlay ---- */
/* ---- Contact: container photo — dark overlay so header text floats clearly ---- */
.contact-section {
    background: url('assets/images/container.avif') center center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
}
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5, 20, 12, 0.72) 0%,
        rgba(5, 20, 12, 0.55) 55%,
        rgba(5, 20, 12, 0.20) 100%
    );
}
.contact-section .section-container {
    position: relative;
    z-index: 1;
}
/* Header text (Get In Touch + subtitle) floats white over the photo */
.contact-section .contact-header .section-title {
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.contact-section .contact-header p {
    color: rgba(255, 255, 255, 0.90);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    font-size: 1.15rem;
}

/* Mobile: background-attachment:fixed is buggy on iOS, revert to scroll.
   Also ensure sections are tall enough for the background image to show. */
@media (max-width: 1024px) {
    .services-section,
    .about-section,
    .gallery-section,
    .service-areas-section,
    .contact-section {
        background-attachment: scroll;
    }

    /* Mobile image fix: use 100% wide / auto height so the full image is visible
       at the top of each section instead of being zoom-cropped by cover. 
       A solid background-color fills the remainder of tall sections. */
    .services-section {
        background-size: 100% auto;
        background-position: top center;
        background-color: rgb(5, 18, 11);
    }
    .about-section {
        background-size: 100% auto;
        background-position: top center;
        background-color: #ffffff;
    }
    .gallery-section {
        background-size: 100% auto;
        background-position: top center;
        background-color: rgb(5, 15, 10);
    }
    .service-areas-section {
        background-size: 100% auto;
        background-position: top center;
        background-color: #ffffff;
    }
    .contact-section {
        background-size: 100% auto;
        background-position: top center;
        background-color: rgb(5, 20, 12);
    }

    /* Overlay fades from semi-transparent (so photo shows) to fully opaque (matching
       background-color above) — smooth transition, no stretched image below. */
    .services-section::before {
        background: linear-gradient(
            to bottom,
            rgba(5, 18, 11, 0.55) 0%,
            rgba(5, 18, 11, 0.80) 55%,
            rgba(5, 18, 11, 1.00) 70%
        );
    }
    .gallery-section::before {
        background: linear-gradient(
            to bottom,
            rgba(5, 15, 10, 0.55) 0%,
            rgba(5, 15, 10, 0.82) 55%,
            rgba(5, 15, 10, 1.00) 70%
        );
    }
    .contact-section::before {
        background: linear-gradient(
            to bottom,
            rgba(5, 20, 12, 0.55) 0%,
            rgba(5, 20, 12, 0.82) 55%,
            rgba(5, 20, 12, 1.00) 70%
        );
    }
    .about-section::before {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.88) 55%,
            rgba(255, 255, 255, 1.00) 70%
        );
    }
    .service-areas-section::before {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.65) 0%,
            rgba(255, 255, 255, 0.90) 55%,
            rgba(255, 255, 255, 1.00) 70%
        );
    }
}

/* Very small phones — single-column gallery, tighter padding */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .section-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .hero-section {
        min-height: 520px;
    }
}

/* =========================================================
   Gallery Item — hover overlay with expand icon
   ========================================================= */
.gallery-item {
    cursor: pointer;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: inherit;
}

.gallery-item-overlay i {
    color: #fff;
    font-size: 1.6rem;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
    background: rgba(0, 0, 0, 0.38);
}

.gallery-item:hover .gallery-item-overlay i,
.gallery-item:focus-visible .gallery-item-overlay i {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 3px;
}

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

/* Backdrop */
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 12, 0.93);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1) rotate(90deg);
}

/* Prev / Next nav */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* Stage — holds image */
.lightbox-stage {
    position: relative;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(90vw, 1100px);
    max-height: 75vh;
    width: 100%;
}

.lightbox-img-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.65);
    max-height: 70vh;
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 16px;
    transition: opacity 0.25s ease, transform 0.25s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-img.is-transitioning {
    opacity: 0;
    transform: scale(0.96);
}

/* Caption */
.lightbox-caption {
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    font-family: var(--font-primary);
    text-align: center;
    min-height: 1.2em;
    letter-spacing: 0.3px;
}

/* Footer — counter + thumbnails */
.lightbox-footer {
    position: absolute;
    bottom: 1.25rem;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
}

.lightbox-counter {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-family: var(--font-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.08);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Thumbnails strip */
.lightbox-thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: min(90vw, 700px);
    padding: 0.25rem 0.5rem;
    scrollbar-width: none;
}

.lightbox-thumbs::-webkit-scrollbar { display: none; }

.lightbox-thumb {
    flex: 0 0 auto;
    width: 56px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.lightbox-thumb:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.lightbox-thumb.is-active {
    opacity: 1;
    border-color: var(--primary-green);
    transform: scale(1.08);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .lightbox-prev { left: 0.6rem; }
    .lightbox-next { right: 0.6rem; }

    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }

    .lightbox-stage {
        max-width: 96vw;
    }

    .lightbox-thumb {
        width: 44px;
        height: 33px;
    }
}

@media (max-width: 480px) {
    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .lightbox-footer {
        bottom: 0.75rem;
    }

    .lightbox-thumb {
        width: 38px;
        height: 28px;
    }
}
