/* ===== Base & Typography ===== */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: #1a4d2e;
    color: #f5f5f0;
}

/* ===== Section System ===== */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #0f2e1b;
}

.section-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a6b4f;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #1a4d2e;
    color: #f5f5f0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #143d24;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(26, 77, 46, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    color: #f5f5f0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: 1.5px solid rgba(245, 245, 240, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: rgba(245, 245, 240, 0.6);
    background-color: rgba(245, 245, 240, 0.08);
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #f5f5f0;
    color: #1a4d2e;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-white:hover {
    background-color: #eeeee8;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.2);
}

/* ===== Navigation ===== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
    transition: all 0.4s ease;
}

.nav-fixed.scrolled {
    background-color: rgba(245, 245, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 77, 46, 0.08);
}

.nav-fixed.scrolled .nav-link {
    color: #1a4d2e;
}

.nav-fixed.scrolled .font-serif {
    color: #0f2e1b;
}

.nav-link {
    color: rgba(245, 245, 240, 0.85);
    transition: color 0.2s ease;
}

/* ===== Service Cards ===== */
.service-card {
    background-color: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(26, 77, 46, 0.08);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(26, 77, 46, 0.12);
    border-color: rgba(26, 77, 46, 0.15);
}

/* ===== Gallery ===== */
.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== Form ===== */
.input-field {
    background-color: #f5f5f0;
    border: 1.5px solid #e2e2d8;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #0f2e1b;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: #1a4d2e;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

.input-field::placeholder {
    color: #a0a090;
}

.input-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a4d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #1a4d2e;
}

/* ===== Scroll Reveal (Progressive Enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
}
