@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
    --parchment: #F7F2E9;
    --warm-white: #FFFEFB;
    --ink: #272825;
    --ink-light: #52544e;
    --muted-olive: #3E5140;
    --muted-olive-hover: #2d3b2f;
    --terracotta: #A56B51;
    --divider: rgba(39, 40, 37, 0.1);
    --focus-ring: rgba(62, 81, 64, 0.6);
    
    --font-heading: 'Lora', serif;
    --font-body: 'Source Sans 3', sans-serif;
}

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

body {
    background-color: var(--parchment);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--terracotta);
}

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    height: 64px;
    background-color: var(--warm-white);
    border-bottom: 1px solid var(--divider);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1148px; /* 1100 + 48 padding */
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--ink);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: var(--warm-white);
    border-bottom: 1px solid var(--divider);
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 99;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav a {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
}

/* Hero */
.hero {
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--ink);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Restrained overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--warm-white);
    padding: 0 24px;
    max-width: 800px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 2.5rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Main Layout */
.main-content {
    max-width: 1148px;
    margin: 0 auto;
    padding: 48px 24px;
}

.section-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--ink);
}

/* Controls */
.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--warm-white);
    border: 1px solid var(--divider);
    border-radius: 4px;
    padding: 0 12px;
    width: 100%;
    max-width: 320px;
}

.search-input {
    border: none;
    background: transparent;
    padding: 12px 8px;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
}

.search-input:focus {
    outline: none;
}

.search-wrapper:focus-within {
    outline: 2px solid var(--focus-ring);
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
}

.filter-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--muted-olive);
}

/* Hotel Listings */
.hotel-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hotel-card {
    background: var(--warm-white);
    border: 1px solid var(--divider);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hotel-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.hotel-image-col {
    width: 42%;
    position: relative;
}

.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hotel-info-col {
    width: 58%;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.hotel-meta {
    font-size: 0.875rem;
    color: var(--terracotta);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.hotel-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
}

.save-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--divider);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.save-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: var(--ink);
    stroke-width: 1.5;
}

.save-btn.is-saved svg {
    fill: var(--terracotta);
    stroke: var(--terracotta);
}

.hotel-headline {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 400;
    font-style: italic;
    color: var(--ink-light);
    margin-bottom: 16px;
}

.hotel-desc {
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 24px;
    line-height: 1.5;
}

.hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.feature-tag {
    background: var(--parchment);
    border: 1px solid var(--divider);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--ink);
}

.relationship-badge {
    background: rgba(165, 107, 81, 0.1);
    color: var(--terracotta);
    border-color: rgba(165, 107, 81, 0.2);
}

.card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    border-top: 1px solid var(--divider);
    padding-top: 24px;
}

.btn-primary {
    background-color: var(--muted-olive);
    color: var(--warm-white);
    padding: 12px 24px;
    border: 1px solid var(--muted-olive);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    transition: all 0.2s ease;
    min-width: 200px;
    cursor: pointer;
}

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

.provider-note {
    font-size: 0.8125rem;
    color: var(--ink-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--warm-white);
    border: 1px solid var(--divider);
    border-radius: 12px;
}

.empty-state p {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--ink);
    color: var(--warm-white);
}

/* Static Pages */
.page-content {
    background: var(--warm-white);
    border: 1px solid var(--divider);
    border-radius: 12px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--ink);
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 16px;
}

.page-content p {
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    background-color: var(--warm-white);
    border-top: 1px solid var(--divider);
    padding: 48px 24px;
    margin-top: 48px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    list-style: none;
}

.footer-nav a {
    font-size: 0.95rem;
    color: var(--ink-light);
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--ink-light);
    max-width: 600px;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--ink);
    color: var(--warm-white);
    padding: 16px 24px;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    flex: 1 1 300px;
}

.cookie-link {
    color: var(--terracotta);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-link:hover {
    color: var(--warm-white);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    min-width: 120px;
    padding: 10px 20px;
}

.cookie-buttons .btn-secondary {
    border-color: var(--warm-white);
    color: var(--warm-white);
}

.cookie-buttons .btn-secondary:hover {
    background-color: var(--warm-white);
    color: var(--ink);
}

.cookie-buttons .btn-primary {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
}

.cookie-buttons .btn-primary:hover {
    background-color: #8c5740;
    border-color: #8c5740;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

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

    .hero {
        height: 240px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hotel-card {
        flex-direction: column;
    }

    .hotel-image-col {
        width: 100%;
        height: 240px;
    }

    .hotel-info-col {
        width: 100%;
        padding: 24px;
    }

    .card-footer {
        align-items: stretch;
    }

    .btn-primary {
        width: 100%;
    }
    
    .provider-note {
        text-align: center;
    }
    
    .page-content {
        padding: 32px 24px;
    }

    .cookie-buttons {
        width: 100%;
        display: flex;
    }
    
    .cookie-btn {
        flex: 1;
    }
}