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

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 10, 8, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 197, 181, 0.08);
    padding: 0.75rem 0;
}

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

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f0e6dc;
}

.logo a:hover {
    color: #c97a5e;
    transition: color 0.25s ease;
}

/* ===== NAV ===== */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #d4c5b5;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active {
    border-bottom-color: #c97a5e;
    color: #f0e6dc;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
    color: #f0e6dc;
}

.search-toggle {
    font-size: 1.1rem;
    color: #d4c5b5;
    transition: color 0.25s ease;
}

.search-toggle:hover {
    color: #f0e6dc;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 10, 8, 0.97);
    backdrop-filter: blur(12px);
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding-top: 8vh;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-overlay-inner {
    width: 90%;
    max-width: 640px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -3.5rem;
    right: 0;
    font-size: 1.75rem;
    color: #d4c5b5;
    transition: color 0.25s ease;
}

.search-close:hover {
    color: #f0e6dc;
}

.search-form {
    display: flex;
    border-bottom: 2px solid rgba(212, 197, 181, 0.25);
}

.search-form input {
    flex: 1;
    padding: 0.75rem 0;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    color: #f0e6dc;
}

.search-form input::placeholder {
    color: rgba(212, 197, 181, 0.4);
}

.search-form button {
    padding: 0.75rem 0 0.75rem 1rem;
    font-size: 1.5rem;
    color: #d4c5b5;
    transition: color 0.25s ease;
}

.search-form button:hover {
    color: #f0e6dc;
}

/* ===== SEARCH RESULTS ===== */
.search-results {
    margin-top: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.search-results .result-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(212, 197, 181, 0.06);
    color: #d4c5b5;
    transition: color 0.2s ease;
    cursor: pointer;
}

.search-results .result-item:hover {
    color: #f0e6dc;
}

.search-results .result-item .result-title {
    font-weight: 500;
    font-size: 1.05rem;
}

.search-results .result-item .result-type {
    font-size: 0.75rem;
    color: #c97a5e;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-results .no-results {
    color: rgba(212, 197, 181, 0.5);
    text-align: center;
    padding: 2rem 0;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: auto;
    background: #0a0806;
    color: #8a7a6a;
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 197, 181, 0.05);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.footer-social a {
    font-size: 1.4rem;
    color: #8a7a6a;
    transition: color 0.25s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: #f0e6dc;
    transform: scale(1.08);
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.6;
}