@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Lato:wght@400;700&display=swap');

:root {
    --c-bg: #f9f4ee; --c-bg2: #fff; --c-text: #2d2015; --c-muted: #7a6855;
    --c-accent: #b85a1a; --c-accent2: #8a3d10; --c-border: rgba(184,90,26,0.2);
    --nav-h: 70px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Lato', sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    min-height: 100vh;
}

/* ── DESIGN A: Top Nav ── */
html.design-a .site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--c-bg2);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    display: flex; align-items: center;
    padding: 0 2rem; height: var(--nav-h);
    justify-content: space-between;
}
html.design-a .site-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--c-accent); font-weight: 900; text-decoration: none; white-space: nowrap; }
html.design-a .site-nav { display: flex; gap: 0.3em; align-items: center; flex-wrap: wrap; }
html.design-a .site-nav a { color: var(--c-text); text-decoration: none; padding: 0.4em 0.9em; border-radius: 6px; font-weight: 700; font-size: 0.92rem; transition: background 0.2s; }
html.design-a .site-nav a:hover, html.design-a .site-nav a.active { background: var(--c-accent); color: #fff; }
html.design-a .site-wrapper { max-width: 1000px; margin: 0 auto; padding: 2rem 1.5rem; }
html.design-a .sidebar-trigger { display: none; }

/* ── DESIGN B: Sidebar ── */
html.design-b body { display: flex; min-height: 100vh; }
html.design-b .site-sidebar {
    width: 240px; min-height: 100vh; position: fixed; left: 0; top: 0;
    background: linear-gradient(180deg, #2d1505 0%, #5a2810 100%);
    display: flex; flex-direction: column; padding: 2rem 1rem;
    box-shadow: 4px 0 20px rgba(0,0,0,0.2); z-index: 100;
}
html.design-b .site-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #f5c49a; font-weight: 900; text-decoration: none; margin-bottom: 2rem; display: block; line-height: 1.3; }
html.design-b .site-nav { display: flex; flex-direction: column; gap: 0.3em; }
html.design-b .site-nav a { color: rgba(255,255,255,0.75); text-decoration: none; padding: 0.65em 1em; border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: all 0.2s; border-left: 3px solid transparent; }
html.design-b .site-nav a:hover, html.design-b .site-nav a.active { background: rgba(255,255,255,0.1); color: #fff; border-left-color: var(--c-accent); }
html.design-b .site-header { display: none; }
html.design-b .site-wrapper { margin-left: 240px; padding: 2.5rem 2.5rem; max-width: 900px; }
html.design-b .sidebar-trigger { display: none; }

/* ── DESIGN C: Burger ── */
html.design-c .site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--c-accent); color: #fff;
    display: flex; align-items: center;
    padding: 0 1.5rem; height: 60px; justify-content: space-between;
}
html.design-c .site-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #fff; font-weight: 900; text-decoration: none; }
html.design-c .sidebar-trigger {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 0.4em; border-radius: 5px;
}
html.design-c .sidebar-trigger span { display: block; width: 24px; height: 3px; background: #fff; border-radius: 2px; transition: 0.3s; }
html.design-c .site-nav {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(40,10,5,0.97); z-index: 200;
    flex-direction: column; align-items: center; justify-content: center; gap: 1em;
}
html.design-c .site-nav.open { display: flex; }
html.design-c .site-nav a { color: #f5c49a; text-decoration: none; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; transition: color 0.2s; }
html.design-c .site-nav a:hover { color: #fff; }
html.design-c .nav-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; color: #fff; cursor: pointer; background: none; border: none; }
html.design-c .site-wrapper { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }
html.design-c .site-sidebar { display: none; }

/* ── Responsive ── */
@media (max-width: 700px) {
    html.design-a .site-nav { display: none; }
    html.design-a .site-header { flex-wrap: wrap; }
    html.design-b .site-sidebar { display: none; }
    html.design-b .site-wrapper { margin-left: 0; }
    html.design-b body { display: block; }
}

/* ── COMPONENTS ── */
.hero-section {
    background: linear-gradient(135deg, #3d1505 0%, #8a3d10 60%, #c07030 100%);
    color: #fff; text-align: center; padding: 5rem 2rem;
    position: relative; overflow: hidden;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.hero-section h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 900; margin-bottom: 0.5em; position: relative; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.hero-section p { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 2em; position: relative; line-height: 1.6; }
.hero-section .btn-hero { background: #fff; color: var(--c-accent); font-weight: 700; padding: 0.8em 2em; border-radius: 50px; text-decoration: none; display: inline-block; transition: all 0.2s; margin: 0.3em; box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.hero-section .btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
.btn-hero-outline { background: transparent !important; color: #fff !important; border: 2px solid rgba(255,255,255,0.7) !important; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.15) !important; }

.card { background: var(--c-bg2); border-radius: 14px; padding: 2rem; margin: 1.5rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.07); border: 1px solid var(--c-border); }
.card h2 { color: var(--c-accent); font-family: 'Playfair Display', serif; margin-bottom: 0.8em; }
.card h3 { color: var(--c-accent2); margin-bottom: 0.5em; }

.btn {
    display: inline-block; background: var(--c-accent); color: #fff;
    border: none; border-radius: 8px; padding: 0.65em 1.6em;
    font-weight: 700; font-size: 0.95rem; cursor: pointer; text-decoration: none;
    transition: all 0.2s; box-shadow: 0 3px 12px rgba(184,90,26,0.3);
}
.btn:hover { background: var(--c-accent2); transform: translateY(-1px); color: #fff; }
.btn-sm { padding: 0.4em 1em; font-size: 0.85rem; }
.btn-outline { background: transparent; border: 2px solid var(--c-accent); color: var(--c-accent); box-shadow: none; }
.btn-outline:hover { background: var(--c-accent); color: #fff; }
.btn-danger { background: #c03030; }
.btn-danger:hover { background: #a02020; }

input[type=text], input[type=email], input[type=password], textarea, select {
    border: 1px solid var(--c-border); border-radius: 8px; padding: 0.6em 1em;
    font-family: inherit; font-size: 0.95rem; width: 100%; margin-bottom: 0.8em;
    background: var(--c-bg); color: var(--c-text);
    transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(184,90,26,0.12); }
textarea { resize: vertical; min-height: 100px; }
label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--c-muted); margin-bottom: 0.25em; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 1.5rem; }

.feature-card { background: var(--c-bg2); border-radius: 14px; padding: 1.8rem; text-align: center; border: 1px solid var(--c-border); transition: transform 0.2s, box-shadow 0.2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.feature-card .icon { font-size: 2.5rem; margin-bottom: 0.6em; display: block; }
.feature-card h3 { color: var(--c-accent); margin-bottom: 0.4em; }
.feature-card p { color: var(--c-muted); font-size: 0.9rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1rem; }
.gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #e8d8c8; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: linear-gradient(135deg, #e8d0b0, #d0a870); height: 100%; }

.alert { padding: 0.8em 1.2em; border-radius: 8px; margin-bottom: 1em; font-size: 0.92rem; }
.alert-success { background: #e8f8ee; border: 1px solid #a0d8b0; color: #1a6a3a; }
.alert-error   { background: #fde8e8; border: 1px solid #f0a0a0; color: #8a1a1a; }
.alert-info    { background: #e8f0fd; border: 1px solid #a0b8f0; color: #1a3a8a; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75em 1em; text-align: left; }
th { background: rgba(184,90,26,0.08); color: var(--c-accent); font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.5px; }
tr { border-bottom: 1px solid var(--c-border); }

footer {
    background: #2d1505; color: rgba(255,255,255,0.75);
    text-align: center; padding: 1.5rem 1rem; margin-top: 4rem;
    font-size: 0.88rem;
}
footer a { color: #f5c49a; text-decoration: none; }

.breadcrumb { color: var(--c-muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--c-accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4em; }

.page-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--c-accent); font-weight: 900; margin-bottom: 0.3em; }

hr { border: none; border-top: 1px solid var(--c-border); margin: 1.5rem 0; }
