:root {
    --bg-color: #F6F3ED;
    --card-bg: #FFFFFF;
    --text-main: #202B28;
    --btn-bg: #173F35;
    --btn-text: #FFFFFF;
    --accent: #B79B70;
    --font-hero: 'Cormorant Garamond', serif;
    --font-ui: 'Inter', sans-serif;
}

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

body {
    background: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-hero);
    font-weight: 600;
    line-height: 1.2;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Header */
.site-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: var(--card-bg);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 20;
}

.brand {
    font-family: var(--font-hero);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.desktop-nav {
    display: flex;
    gap: 1.5rem;
}

.desktop-nav a {
    font-size: 0.9rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.desktop-nav a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
}

/* Hero */
.hero {
    height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: #000;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

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

/* Controls */
.controls-section {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.controls-header h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.controls-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-group select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-family: var(--font-ui);
    background: var(--bg-color);
    color: var(--text-main);
    cursor: pointer;
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.toggle-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Listings */
.listings {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hotel-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 24px rgba(0,0,0,0.02);
    display: flex;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hotel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.card-image {
    width: 38%;
    flex-shrink: 0;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.save-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.save-btn:hover {
    background: #ffffff;
}

.save-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--text-main);
    stroke-width: 1.5;
    transition: fill 0.2s, stroke 0.2s;
}

.save-btn.active svg {
    fill: var(--accent);
    stroke: var(--accent);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    margin-bottom: 0.4rem;
    display: block;
}

.card-header h2 {
    font-size: 1.85rem;
    margin-bottom: 0.25rem;
}

.headline {
    font-size: 1.15rem;
    color: var(--accent);
    font-family: var(--font-hero);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.features {
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bg-color);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.03);
    font-weight: 500;
}

.relationship-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: #F0EDE5;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.card-action {
    margin-top: auto;
    align-self: flex-end;
    text-align: right;
}

.booking-support {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.6rem;
}

.cta-button {
    display: inline-block;
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s;
    text-align: center;
}

.cta-button:hover {
    background: #0f2b24;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    display: none;
    background: var(--card-bg);
    border-radius: 12px;
}

.empty-state p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.reset-btn {
    color: var(--accent);
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 500;
}

/* Support Pages */
.page-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
}

.text-section {
    padding: 3rem 0;
}

.text-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--btn-bg);
}

.text-section h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
}

.text-section p {
    margin-bottom: 1.25rem;
    color: #444;
}

.contact-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    padding: 0.75rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    font-family: var(--font-ui);
    background: #fafafa;
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 3rem 1rem;
    text-align: center;
}

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

.footer-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 0.85rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 48px);
    max-width: 600px;
    background: var(--card-bg);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-radius: 12px;
    z-index: 9999;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(0,0,0,0.2);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
    text-align: center;
}

.btn-outline:hover {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.4);
}

.cookie-link {
    font-size: 0.95rem;
    color: #666;
    text-decoration: underline;
    margin-left: auto;
}

.cookie-link:hover {
    color: var(--text-main);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-header {
        padding: 0 1rem;
    }
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 1.5rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .mobile-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .hero {
        height: 240px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .controls-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-group {
        width: 100%;
        justify-content: space-between;
    }
    .hotel-card {
        flex-direction: column;
    }
    .card-image {
        width: 100%;
        height: 240px;
    }
    .card-content {
        padding: 1.5rem;
    }
    .card-action {
        align-self: stretch;
        text-align: center;
        margin-top: 1.5rem;
    }
    .cta-button {
        display: block;
        width: 100%;
    }
    
    .cookie-banner {
        bottom: 16px;
        width: calc(100% - 32px);
        padding: 1.25rem;
    }
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-link {
        margin-left: 0;
        text-align: center;
        margin-top: 0.75rem;
    }
}