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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 384px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 168, 79, 0.8) 0%, rgba(76, 118, 56, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 48rem;
    margin: 0 auto;
}

/* Navigation Bar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-logo img {
    height: 64px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    background: none;
    border: none;
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #6BA84F;
}

.navbar-lang {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background-color: transparent;
    border: 2px solid #6BA84F;
    color: #6BA84F;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lang-btn:hover {
    background-color: #6BA84F;
    color: white;
}

.lang-btn.active {
    background-color: #6BA84F;
    color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #6BA84F;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

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

.nav-link-mobile {
    background: none;
    border: none;
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.75rem 0;
    text-align: left;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: #6BA84F;
}

.mobile-lang {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 0.5rem;
}

.lang-btn-mobile {
    background-color: transparent;
    border: 2px solid #6BA84F;
    color: #6BA84F;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    flex: 1;
}

.lang-btn-mobile:hover {
    background-color: #6BA84F;
    color: white;
}

.lang-btn-mobile.active {
    background-color: #6BA84F;
    color: white;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-white {
    background-color: #ffffff;
}

.section-gray {
    background-color: #f7fafc;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a202c;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    color: #718096;
    margin-bottom: 3rem;
}

/* About Section */
.about-content {
    max-width: 48rem;
    margin: 0 auto;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Service Card */
.service-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.service-card.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card-front {
    background-color: white;
    border: 2px solid #e2e8f0;
}

.service-card-back {
    background-color: #6BA84F;
    color: white;
    transform: rotateY(180deg);
}

.service-icon {
    width: 64px;
    height: 64px;
    color: #6BA84F;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: #1a202c;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Contact Section */
.contact-content {
    max-width: 48rem;
    margin: 0 auto;
}

.contact-company {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #1a202c;
}

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

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

.contact-icon {
    width: 24px;
    height: 24px;
    color: #6BA84F;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-label {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: #6BA84F;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-text {
    color: #4a5568;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 2rem 0;
}

.footer-text {
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-menu,
    .desktop-lang {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-section {
        height: 300px;
    }

    .navbar-container {
        padding: 1rem;
    }

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

    .section {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 250px;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}
