:root {
    --color-bg: #FAF6EF;
    --color-surface: #FFFFFF;
    --color-text: #2E2A24;
    --color-muted: #7A7368;
    --color-primary: #6B7A3D;      /* olive/sage green */
    --color-primary-dark: #55622F;
    --color-accent: #C77B3F;       /* warm terracotta */
    --color-border: #E5DFD3;
    --radius: 10px;
    --shadow: 0 2px 10px rgba(46, 42, 36, 0.06);
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.25;
}

a { color: var(--color-primary-dark); text-decoration: none; }

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

.narrow { max-width: 720px; }

/* Header */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-text);
}

.nav a {
    margin-left: 22px;
    color: var(--color-text);
    font-weight: 500;
}

.nav a:hover { color: var(--color-primary-dark); }

.nav-cta {
    background: var(--color-primary);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 999px;
}

.nav-cta:hover { background: var(--color-primary-dark); }

/* Hero */
.hero {
    background: linear-gradient(135deg, #EFE9DA, #E4E7D3);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-with-image {
    background-size: cover;
    background-position: center;
}

.hero-with-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(46, 42, 36, 0.42);
}

.hero-with-image .hero-inner {
    position: relative;
    z-index: 1;
}

.hero-with-image h1, .hero-with-image p {
    color: #fff;
}

.hero-video-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hero h1 {
    font-size: 2.4rem;
    max-width: 700px;
    margin: 0 auto 16px;
}

.hero p {
    color: var(--color-muted);
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.gallery-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-caption {
    padding: 10px 14px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    margin: 0 6px;
}

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }

.btn-outline { border: 2px solid var(--color-primary); color: var(--color-primary-dark); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* Sections */
.section { padding: 56px 0; }
.section h1, .section h2 { margin-top: 0; }

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    display: block;
    color: var(--color-text);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:not(.no-hover):hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(46, 42, 36, 0.1);
}

.card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.card-img-placeholder {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: #F1ECE0;
}

.card-body { padding: 16px 18px; }
.card-body h3 { margin: 0 0 4px; font-size: 1.1rem; }

.muted { color: var(--color-muted); font-size: 0.92rem; margin: 0; }

.badge {
    display: inline-block;
    margin-top: 8px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 999px;
}

.price { font-weight: 700; color: var(--color-primary-dark); margin: 6px 0; }

/* Detail pages */
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 600; }

.detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
}

.detail-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-img-full {
    width: 100%;
    border-radius: var(--radius);
    margin: 20px 0;
}

@media (max-width: 640px) {
    .detail-layout { grid-template-columns: 1fr; }
}

/* Blog */
.blog-preview {
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border);
}

.blog-preview h2 { margin-bottom: 4px; font-size: 1.35rem; }
.blog-content { margin-top: 20px; }

/* Forms */
.contact-form { margin-top: 24px; }

.form-row { margin-bottom: 18px; }

.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-surface);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.field-error { color: #B3261E; font-size: 0.85rem; margin: 4px 0 0; }

/* Alerts */
.alert {
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: var(--radius);
    background: #E8EFD9;
    color: var(--color-primary-dark);
    border: 1px solid #CFE0B0;
}

/* Footer */
.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}
