/* ===== CSS Custom Properties ===== */
:root {
    --forest-dark: #1A2F28;
    --forest: #1E3D33;
    --forest-mid: #2A5246;
    --forest-light: #3D6B5C;
    --forest-pale: #E8F0EC;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --warm-white: #FEFCF9;
    --gold: #B8943E;
    --gold-light: #D4AF5C;
    --text-dark: #1A1A1A;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --text-on-dark: #F5F0EB;
    --shadow-sm: 0 2px 8px rgba(30, 61, 51, 0.06);
    --shadow-md: 0 8px 30px rgba(30, 61, 51, 0.10);
    --shadow-lg: 0 20px 60px rgba(30, 61, 51, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--forest-dark);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--forest);
    color: var(--warm-white);
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-mid);
    border-color: var(--forest-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--warm-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--warm-white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--warm-white);
    color: var(--forest);
    border-color: var(--warm-white);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Section Headers ===== */
.section-tag {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--forest-dark);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 61, 51, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest);
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--forest-dark);
    letter-spacing: 0.02em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    border-radius: 50px;
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--forest);
    background: var(--forest-pale);
}

.nav-cta {
    background: var(--forest) !important;
    color: var(--warm-white) !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--forest-mid) !important;
    color: var(--warm-white) !important;
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--forest-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.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);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

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

.mobile-menu ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-dark);
    padding: 12px 24px;
    transition: all var(--transition);
}

.mobile-menu a:hover {
    color: var(--forest);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #1A2F28 0%,
        #1E3D33 20%,
        #2A5246 40%,
        #3D6B5C 55%,
        #2A5246 70%,
        #1E3D33 85%,
        #1A2F28 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(184, 148, 62, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(61, 107, 92, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(26, 47, 40, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    color: var(--warm-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: rgba(245, 240, 235, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(30, 61, 51, 0.07);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--forest-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest);
    color: var(--warm-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--forest-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: var(--forest-pale);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-values {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--forest-dark);
}

.value-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ===== Gallery ===== */
.gallery {
    padding: 100px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 5/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 47, 40, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--warm-white);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--warm-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(30, 61, 51, 0.06);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    margin-bottom: 20px;
    color: var(--forest);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--forest-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
}

.testimonial-author span {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--forest-dark);
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: var(--forest-dark);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(184, 148, 62, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 50%, rgba(61, 107, 92, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content {
    color: var(--text-on-dark);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--warm-white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(245, 240, 235, 0.75);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--forest-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-item a {
    color: var(--forest);
    font-weight: 600;
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--gold);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    border: 1px solid rgba(30, 61, 51, 0.07);
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--forest-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(30, 61, 51, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    background: var(--warm-white);
    box-shadow: 0 0 0 4px rgba(30, 61, 51, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.form-success svg {
    color: var(--forest);
    margin-bottom: 16px;
}

.form-success h4 {
    font-size: 1.4rem;
    color: var(--forest-dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--forest-dark);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-mark {
    color: var(--warm-white);
}

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

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.6);
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.65);
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.65);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--gold-light);
    font-weight: 600;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(245, 240, 235, 0.4);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

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

    .hero-content {
        padding: 100px 20px 80px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .about-image-accent {
        display: none;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .section-header {
        margin-bottom: 40px;
    }

    .services,
    .about,
    .gallery,
    .testimonials,
    .cta,
    .contact {
        padding: 72px 0;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
