/* CSS Variables */
:root {
    --color-emerald-900: #064e3b;
    --color-emerald-800: #065f46;
    --color-emerald-700: #047857;
    --color-emerald-600: #059669;
    --color-cream: #faf9f6;
    --color-cream-dark: #f5f4f0;
    --color-text-dark: #1a1a1a;
    --color-text-gray: #4a4a4a;
    --color-text-light: #717171;
    --color-white: #ffffff;
    --color-border: #e5e5e5;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --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);
    
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-cream);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-emerald-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-emerald-800);
    border-color: var(--color-emerald-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--color-cream-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-emerald-900);
}

.btn-full {
    width: 100%;
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-emerald-600);
    margin-bottom: 1rem;
}

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

.section-desc {
    color: var(--color-text-gray);
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: var(--color-cream);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-accent {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-emerald-700);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-emerald-900);
}

.navbar:not(.scrolled) .logo-accent,
.navbar:not(.scrolled) .logo-text {
    color: var(--color-white);
}

.navbar:not(.scrolled) .logo-accent {
    color: var(--color-cream);
}

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

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    color: var(--color-text-dark);
}

.navbar:not(.scrolled) .nav-links a {
    color: var(--color-white);
}

.nav-links a:hover {
    color: var(--color-emerald-600);
}

.navbar:not(.scrolled) .nav-links a:hover {
    color: var(--color-cream);
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: var(--transition);
}

.navbar:not(.scrolled) .mobile-menu-btn span {
    background-color: var(--color-white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('https://images.pexels.com/photos/8478228/pexels-photo-8478228.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 78, 59, 0.7) 0%,
        rgba(6, 78, 59, 0.5) 50%,
        rgba(6, 78, 59, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-top: 4rem;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-cream);
    margin-top: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(250, 249, 246, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    background-color: var(--color-cream);
}

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

.service-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-emerald-200);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-emerald-100);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--color-emerald-700);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    color: var(--color-emerald-900);
}

.service-card p {
    color: var(--color-text-gray);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* About Section */
.about {
    background-color: var(--color-cream-dark);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--color-emerald-700);
    border-radius: 8px;
    z-index: -1;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--color-text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.about-features svg {
    color: var(--color-emerald-600);
}

/* CTA Section */
.cta {
    background-color: var(--color-emerald-900);
    padding: 5rem 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-content .section-title {
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: rgba(250, 249, 246, 0.8);
    font-size: 1.125rem;
}

.cta-actions {
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    background-color: var(--color-cream);
}

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

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-emerald-100);
    border-radius: 10px;
    color: var(--color-emerald-700);
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    color: var(--color-emerald-900);
}

.info-item p {
    color: var(--color-text-gray);
    font-size: 0.9375rem;
}

.info-item a {
    color: var(--color-text-gray);
}

.info-item a:hover {
    color: var(--color-emerald-600);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-emerald-600);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    color: var(--color-emerald-600);
    margin: 0 auto 1rem;
}

.form-success h3 {
    color: var(--color-emerald-900);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-text-gray);
}

/* Footer */
.footer {
    background-color: var(--color-emerald-900);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(250, 249, 246, 0.2);
}

.footer .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    color: rgba(250, 249, 246, 0.7);
    margin-top: 0.5rem;
    font-size: 0.9375rem;
}

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

.footer-links a {
    color: rgba(250, 249, 246, 0.8);
    font-size: 0.9375rem;
    font-weight: 600;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(250, 249, 246, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--color-text-dark) !important;
        font-size: 1.125rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
