/* Core Variables & Theming */
:root {
    --green: #4a7c59;
    --green-hover: #3a6346;
    --bg-main: #ffffff;
    --bg-surface: #f4f4f5;
    --text-main: #0a0a0a;
    --text-muted: #52525b;
    --border-color: #e4e4e7;
    --header-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
}

body.dark-mode {
    --bg-main: #0a0a0a;
    --bg-surface: #171717;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --border-color: #262626;
    --header-bg: rgba(10, 10, 10, 0.95);
    --card-bg: #111111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body, header, .asset-card, .info-block-container, input, select, textarea, #theme-toggle, .btn {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.section {
    width: 100%;
    padding: 5rem 2.5%;
}

.container {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
}

/* Navigation */
header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--green);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-main);
    background: none;
    border: none;
    padding: 0.5rem;
}

#theme-toggle {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Slideshow & Static Hero */
.hero {
    background-color: var(--bg-surface);
    padding: 8rem 2.5%;
    border-bottom: 1px solid var(--border-color);
}

.hero-slideshow-wrapper {
    position: relative;
    padding: 10rem 2.5%;
    overflow: hidden;
    background-color: transparent;
}

.slideshow-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.slideshow-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.75); 
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active { opacity: 1; }

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-slideshow-wrapper h1, .hero-slideshow-wrapper p {
    color: #ffffff !important;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.btn:hover { background-color: var(--green-hover); }

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    margin-left: 1rem;
}

.hero-slideshow-wrapper .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-slideshow-wrapper .btn-outline:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

/* Grids & Cards */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.asset-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.asset-image-wrapper {
    width: 100%;
    height: 300px;
    background-color: #f8f8f8;
    padding: 0;
    overflow: hidden;
}

.asset-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.asset-info {
    padding: 2rem;
    flex-grow: 1;
}

.asset-info h3 { margin-bottom: 0.5rem; font-size: 1.5rem; }
.asset-info p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* SEO & Service Blocks */
.info-block-container {
    background-color: var(--bg-surface);
    padding: 4rem 2.5%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 3rem 0;
}

.info-block-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.info-block-container p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.info-block-container p.lead-text {
    margin-bottom: 2rem;
}

.coverage-list {
    font-weight: 600;
    color: var(--green);
    font-size: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1.5rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    list-style: none;
}

.service-list li {
    background: var(--bg-main);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-weight: 500;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--green);
}

/* Work Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item-wrapper {
    background: var(--bg-surface);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Forms & Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}

.form-group { margin-bottom: 1.5rem; }

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 4px;
    font-size: 1rem;
}

.contact-info-panel {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-block { margin-bottom: 1.5rem; }
.info-block strong { color: var(--green); display: block; margin-bottom: 0.25rem; }

/* Moving Truck */
.truck-track {
    width: 100%;
    height: 80px;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.moving-truck {
    position: absolute;
    height: 40px;
    width: auto;
    left: -200px;
    transform: scaleX(-1);
    animation: drive 18s linear infinite;
}

@keyframes drive {
    0% { left: -250px; }
    100% { left: 100%; }
}

/* Typography */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    color: white;
}

/* Footer */
footer {
    padding: 4rem 2.5%;
    text-align: center;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--green);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .contact-grid, .asset-grid { grid-template-columns: 1fr; }
    .nav-right { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--header-bg);
        padding: 1.5rem 2.5%;
        border-bottom: 1px solid var(--border-color);
        gap: 1.5rem;
    }
    .nav-links.active { display: flex; }
}

@media (max-width: 600px) {
    .section { padding: 4rem 5%; }
    .hero { padding: 6rem 5%; }
    .hero h1 { font-size: 2.2rem; }
    .asset-grid { grid-template-columns: 1fr; }
    .asset-image-wrapper { height: 250px; }
    .nav-container { padding: 1rem 5%; }
    .contact-grid { gap: 2rem; }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}