/* CSS Variables (Design System) */
:root {
    --color-background: hsl(0, 0%, 100%);
    --color-foreground: hsl(210, 20%, 15%);
    --color-primary: hsl(142, 65%, 28%);
    --color-primary-foreground: hsl(0, 0%, 100%);
    --color-primary-dark: hsl(142, 75%, 18%);
    --color-muted: hsl(210, 15%, 96%);
    --color-muted-foreground: hsl(210, 12%, 45%);
    --color-border: hsl(210, 15%, 88%);
    --gradient-hero: linear-gradient(135deg, hsl(142, 65%, 28%) 0%, hsl(195, 75%, 35%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(210, 15%, 98%) 100%);
    --shadow-medium: 0 10px 15px -3px hsl(210, 20%, 15%, 0.1), 0 4px 6px -2px hsl(210, 20%, 15%, 0.05);
    --shadow-large: 0 20px 25px -5px hsl(210, 20%, 15%, 0.1), 0 10px 10px -5px hsl(210, 20%, 15%, 0.04);
    scroll-behavior: smooth;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: inherit;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    color: var(--color-foreground);
    opacity: 0.8;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--color-primary);
    opacity: 1;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-foreground);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    animation: fadeIn 0.3s ease;
}

.mobile-nav.active {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-background);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(33, 47, 60, 0.9), rgba(33, 47, 60, 0.7), rgba(33, 47, 60, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.hero-text {
    max-width: 48rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-background);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 300;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.875rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 42rem;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}

.scroll-dot::after {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* Section */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/* Services */
.services {
    background: var(--gradient-subtle);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s;
    animation: fadeInUp 0.8s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-large);
    border-color: hsla(142, 65%, 28%, 0.3);
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-icon {
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: hsla(142, 65%, 28%, 0.1);
    color: var(--color-primary);
    transition: background-color 0.3s;
}

.service-card:hover .service-icon {
    background-color: hsla(142, 65%, 28%, 0.2);
}

.service-number {
    font-size: 3.75rem;
    font-weight: 700;
    color: hsla(142, 65%, 28%, 0.1);
    transition: color 0.3s;
}

.service-card:hover .service-number {
    color: hsla(142, 65%, 28%, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-text {
    animation: fadeInUp 0.8s ease;
}

.about-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-text h2 {
        font-size: 3rem;
    }
}

.about-text p {
    font-size: 1.125rem;
    color: rgba(33, 47, 60, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-text strong {
    color: var(--color-primary);
}

.values-card {
    background: var(--gradient-hero);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-large);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.values-content {
    padding: 3rem;
    text-align: center;
}

.values-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-primary-foreground);
    margin-bottom: 2rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.value-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary-foreground);
    margin: 0;
}

/* Contact */
.contact {
    background: var(--gradient-subtle);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 75rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info {
    animation: fadeInUp 0.8s ease;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
}

.info-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s;
}

.info-card:hover {
    border-color: hsla(142, 65%, 28%, 0.3);
}

.info-icon {
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: hsla(142, 65%, 28%, 0.1);
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-card h4 {
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 0.25rem;
}

.info-card p {
    color: var(--color-muted-foreground);
    margin: 0;
}

.info-card a {
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.info-card a:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.form-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
}

.form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-foreground);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 0.375rem;
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-size: 0.875rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px hsla(142, 65%, 28%, 0.1);
}

.form-group textarea {
    resize: none;
}

/* Map */
.map-section {
    width: 100%;
    height: 400px;
    background-color: var(--color-muted);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--color-foreground);
    color: var(--color-background);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}