/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Variables */
:root {
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Color Variables - Orange/Black/White Theme */
    --white: #ffffff;
    --black: #000000;
    --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;
    
    /* Green color palette for landscaping and construction theme */
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    
    --purple-100: #f3e8ff;
    --purple-600: #9333ea;
    
    --green-100: #dcfce7;
    --green-600: #16a34a;
    
    --red-100: #fee2e2;
    --red-600: #dc2626;
    
    --teal-100: #ccfbf1;
    --teal-600: #0d9488;
    
    --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;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
.font-serif {
    font-family: var(--font-serif);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* Container */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1280px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    white-space: nowrap;
}

@media (max-width: 639px) {
    .nav-buttons .btn {
        display: none;
    }
}

@media (min-width: 640px) {
    .btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.btn-ghost {
    background: transparent;
    color: white;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.btn-primary:hover {
    background: var(--green-700);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

@media (min-width: 640px) {
    nav {
        padding: 1rem 1.5rem;
    }
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-text {
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .nav-logo-text {
        font-size: 1.5rem;
    }
}

.nav-logo-subtitle {
    color: white;
    font-weight: 300;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .nav-logo-subtitle {
        font-size: 1.5rem;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--green-200);
}

.nav-buttons {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .nav-buttons {
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .nav-buttons {
        display: flex;
    }
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: block;
    position: relative;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 50;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .mobile-menu-button {
        display: none;
    }
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
}

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

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

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

/* Hero Section - Simplified */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                linear-gradient(135deg, var(--green-800), var(--green-900));
}

@media (min-width: 640px) {
    .hero {
        padding: 6rem 1.5rem 2rem;
    }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title em {
    font-style: italic;
    color: var(--green-300);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.375rem;
    }
}

/* Sections */
section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }
}

#services {
    position: relative;
    z-index: 2;
    background-color: var(--gray-50);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    color: var(--black);
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title em {
    font-style: italic;
    color: var(--green-600);
}

.section-description {
    font-size: 1rem;
    color: var(--gray-700);
    max-width: 768px;
    margin: 0 auto 3rem;
    text-align: center;
}

@media (min-width: 640px) {
    .section-description {
        font-size: 1.125rem;
        margin-bottom: 4rem;
    }
}

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

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

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

.service-card-image {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    background-size: cover;
    background-position: center;
    contain: layout style paint;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        transparent 100%);
    will-change: auto;
    transform: translateZ(0);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    z-index: 1;
}

@media (min-width: 640px) {
    .service-card-content {
        padding: 1.5rem;
    }
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .service-card-title {
        font-size: 1.5rem;
    }
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.service-feature {
    display: flex;
    align-items: center;
}

.service-feature::before {
    content: '•';
    margin-right: 0.5rem;
    color: var(--green-300);
}

/* Value Props Grid */
.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.value-card {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }

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

.value-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .value-icon {
        width: 4rem;
        height: 4rem;
        margin-bottom: 1.5rem;
    }
}

/* All value icons now use green color scheme */
.value-icon {
    background: var(--green-100);
    color: var(--green-600);
}

.value-icon.blue,
.value-icon.blue,
.value-icon.purple,
.value-icon.green,
.value-icon.red,
.value-icon.teal {
    background: var(--green-100);
    color: var(--green-600);
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .value-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.value-description {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.75;
}

@media (min-width: 640px) {
    .value-description {
        font-size: 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 5rem 0;
    background: var(--gray-50);
    overflow: hidden;
}

.testimonials-section .section-title {
    color: var(--black);
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials-section .section-description {
    color: var(--gray-700);
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-wrapper {
    position: relative;
    margin: 0 -2rem 3rem;
}

.reviews-row {
    display: flex;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollLeftOptimized 40s linear infinite;
    transform: translateZ(0);
    will-change: transform;
}

.reviews-track.paused {
    animation-play-state: paused;
}

.reviews-row:hover .reviews-track {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 380px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    transform: translateZ(0);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.5rem;
}

.review-text {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    min-height: 80px;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-200);
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--black);
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.author-location {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.review-source {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.review-source:hover {
    color: var(--green-600);
    border-color: var(--green-200);
    background: var(--green-50);
}

.external-icon {
    transition: transform 0.2s;
}

.review-source:hover .external-icon {
    transform: translate(1px, -1px);
}

@keyframes scrollLeftOptimized {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-25%);
    }
}

@media (max-width: 768px) {
    .reviews-wrapper {
        margin: 0 -1rem 2rem;
    }
    
    .review-card {
        flex: 0 0 320px;
        padding: 1.5rem;
    }
    
    .reviews-track {
        gap: 1rem;
        animation-duration: 32s;
    }
    
    .star {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        flex: 0 0 280px;
    }
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.trust-badge {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-700);
    margin-bottom: 0.25rem;
}

.badge-text {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .badge-number {
        font-size: 1.5rem;
    }
}

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.contact-form-container {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .contact-form-container {
        padding: 2rem;
    }
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .form-title {
        font-size: 1.875rem;
    }
}

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

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

textarea {
    resize: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: var(--green-50);
    border-color: var(--green-300);
}

input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--green-600);
}

.checkbox-text {
    color: var(--gray-700);
}

.consent-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-text {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--green-600);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--green-700);
}

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

.map-container {
    background: var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 2rem;
}

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

.contact-info-card {
    background: var(--black);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
}

@media (min-width: 640px) {
    .contact-info-card {
        padding: 2rem;
    }
}

.contact-info-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .contact-info-title {
        font-size: 1.875rem;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* All contact icons now use green color scheme */
.contact-icon-wrapper.blue,
.contact-icon-wrapper.blue,
.contact-icon-wrapper.purple,
.contact-icon-wrapper.green {
    background: var(--green-600);
}

.contact-info-content h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: var(--green-100);
    margin-bottom: 0.5rem;
}

.contact-info-content .note {
    font-size: 0.875rem;
    color: var(--green-200);
}

.contact-divider {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--green-700);
}

.license-info {
    font-size: 0.875rem;
    color: var(--green-200);
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1.5rem;
    background: var(--gray-50);
}

.faq-container {
    max-width: 896px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--slate-800);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 3rem;
    }
}

.faq-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
}

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

.accordion-item {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
    padding: 0 1.5rem;
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--green-200);
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    font-weight: 500;
    color: var(--black);
    padding: 1.5rem 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    transition: color 0.2s;
    font-family: var(--font-sans);
}

.accordion-trigger:hover {
    color: var(--green-600);
}

.accordion-trigger::after {
    content: '+';
    font-size: 1.25rem;
    transition: transform 0.3s;
    color: var(--green-500);
}

.accordion-item.active .accordion-trigger::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
    color: var(--gray-700);
    padding-bottom: 1.5rem;
    line-height: 1.75;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: var(--black);
    color: white;
    padding: 4rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    grid-column: 1;
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
}

.footer-logo-subtitle {
    font-weight: 300;
    font-size: 1.25rem;
    color: white;
}

.footer-description {
    color: var(--green-200);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--green-200);
}

.footer-column h4 {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--green-200);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--green-300);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.footer-legal-links a {
    color: var(--green-300);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: white;
}

/* Background Utility Classes */
.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-white {
    background-color: white;
}

.bg-slate-50 {
    background-color: var(--slate-50);
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

/* Project Showcase Section */
.showcase-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
    overflow: hidden;
    position: relative;
}

.showcase-section .section-title {
    color: white;
    margin-bottom: 1rem;
}

.showcase-section .section-description {
    color: var(--green-200);
    margin-bottom: 3rem;
}

.showcase-wrapper {
    position: relative;
    margin: 0 -2rem;
}

.showcase-row {
    display: flex;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}

.showcase-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollRightOptimized 25s linear infinite;
    transform: translateZ(0);
    will-change: transform;
}

.showcase-track.paused {
    animation-play-state: paused;
}

.showcase-row:hover .showcase-track {
    animation-play-state: paused;
}

.showcase-item {
    position: relative;
    flex: 0 0 400px;
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    background: var(--green-700);
    transition: transform 0.2s ease-out;
}

@media (hover: hover) {
    .showcase-item:hover {
        transform: translateY(-5px);
    }
    
    .showcase-item:hover .showcase-overlay {
        transform: translateY(0);
    }
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        transparent
    );
    color: white;
    transform: translateY(100%);
    transition: transform 0.2s ease-out;
    pointer-events: none;
}

@media (hover: none) {
    .showcase-overlay {
        transform: translateY(0) !important;
    }
}

.showcase-overlay h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.showcase-overlay p {
    font-size: 0.875rem;
    color: var(--green-200);
}

@keyframes scrollRightOptimized {
    from {
        transform: translateX(-25%);
    }
    to {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 3rem 0;
    }
    
    .showcase-wrapper {
        margin: 0 -1rem;
    }
    
    .showcase-item {
        flex: 0 0 280px;
        height: 210px;
    }
    
    .showcase-track {
        gap: 1rem;
        animation-duration: 28s;
    }
}

@media (max-width: 480px) {
    .showcase-item {
        flex: 0 0 240px;
        height: 180px;
    }
}

.showcase-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.control-hint {
    color: white;
    font-size: 0.875rem;
    text-align: center;
}

/* FIXED LIGHTBOX STYLES */
.project-lightbox-simple {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.2s;
}

.lightbox-content-simple {
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    background: black;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.lightbox-content-simple img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
    background: #000;
}

.lightbox-info-simple {
    padding: 2rem;
    text-align: center;
    background: white;
    position: relative;
    z-index: 10;
    width: 100%;
}

.lightbox-info-simple h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--slate-800);
    display: block !important;
    visibility: visible !important;
}

.lightbox-info-simple p {
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    display: block !important;
    visibility: visible !important;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-700);
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: var(--gray-100);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .project-lightbox-simple {
        padding: 1rem;
    }
    
    .lightbox-content-simple {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .lightbox-content-simple img {
        height: 50vh;
    }
    
    .lightbox-info-simple {
        padding: 1.5rem;
    }
    
    .lightbox-info-simple h3 {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--green-300);
    border-radius: 50%;
    border-top-color: var(--green-600);
    animation: spin 0.8s linear infinite;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 5rem;
    right: 1rem;
    background: var(--green-600);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    z-index: 45;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.2s;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links a:hover {
    color: var(--green-200);
}

.mobile-menu-links .btn {
    margin-top: 1rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--green-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 40;
    border: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--green-700);
    transform: translateY(-3px);
}

/* Print Styles */
@media print {
    nav, .btn, .form-submit, .scroll-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    section {
        page-break-inside: avoid;
    }
}