:root {
    --bg-color: #F6F3ED;
    --card-bg: #FFFFFF;
    --text-main: #202B28;
    --text-muted: #4A5653;
    --btn-bg: #173F35;
    --btn-bg-hover: #112F27;
    --btn-text: #FFFFFF;
    --accent: #B79B70;
    --border-light: rgba(32, 43, 40, 0.1);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.main-nav {
    display: none;
}

.main-nav a {
    margin-left: 24px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover, .main-nav a:focus {
    color: var(--accent);
}

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

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Nav Overlay */
.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.main-nav.active a {
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.main-nav.active a:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        height: 300px;
    }
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 43, 40, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero p {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.125rem;
    }
}

/* Main Container */
.container {
    max-width: 1140px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-content {
    max-width: 800px;
    margin: 40px auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
}

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

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

.page-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* Controls */
.controls-section {
    margin-bottom: 32px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.filter-group select {
    padding: 0 16px;
    height: 44px;
    min-width: 200px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--card-bg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
}

.filter-group select:focus {
    outline: 2px solid var(--accent);
    outline-offset: -1px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    height: 44px;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: var(--btn-bg);
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    border: none;
    font-family: var(--font-body);
}

.btn.primary {
    background: var(--btn-bg);
    color: var(--btn-text);
}

.btn.primary:hover {
    background: var(--btn-bg-hover);
}

.btn.secondary {
    background: #E8E4D9;
    color: var(--text-main);
}

.btn.secondary:hover {
    background: #DCD8CC;
}

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

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hotel-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 240px;
    position: relative;
}

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

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

.location {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge {
    background: var(--bg-color);
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.save-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    margin: -10px -10px -10px 0;
}

.save-btn:hover {
    background: rgba(183, 155, 112, 0.1);
    color: var(--accent);
}

.save-btn svg {
    width: 22px;
    height: 22px;
    transition: fill 0.2s, stroke 0.2s;
}

.save-btn.saved {
    color: var(--accent);
}

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

.hotel-card h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.hotel-card h3 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 12px;
}

.description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.features li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.features svg {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    opacity: 0.7;
}

.card-action {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.provider {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .hotel-card {
        flex-direction: row;
    }
    .card-image {
        width: 38%;
        height: auto;
        min-height: 300px;
        flex-shrink: 0;
    }
    .card-content {
        width: 62%;
    }
    .card-action {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: none;
        padding-top: 0;
    }
    .provider {
        margin-bottom: 0;
    }
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-light);
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.footer-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

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

.footer-note {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-color);
}

.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: -1px;
}

.notice {
    background: #FFF9E6;
    border-left: 4px solid var(--accent);
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 600px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 24px;
    z-index: 1000;
    display: none;
}

@media (min-width: 768px) {
    .cookie-banner {
        bottom: 30px;
        left: 30px;
        transform: none;
        width: 100%;
        max-width: 450px;
    }
}

.cookie-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.cookie-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.cookie-actions .btn {
    height: 36px;
    padding: 0 16px;
    font-size: 0.875rem;
}

.cookie-settings {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: underline;
    margin-left: auto;
}

.cookie-settings:hover {
    color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}