/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader p {
    font-size: 18px;
    font-weight: 300;
    margin: 0;
}
:root {
    --primary-color: #2c5aa0;
    --primary-dark: #1a3a6b;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #ddd;
    --shadow: rgba(0, 0, 0, 0.1);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #333;
    --success-color: #28a745;
    --error-color: #dc3545;
}

[data-theme="dark"] {
    --primary-color: #4a90e2;
    --primary-dark: #357abd;
    --text-color: #e4e4e4;
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --border-color: #444;
    --shadow: rgba(0, 0, 0, 0.3);
    --navbar-bg: rgba(45, 45, 45, 0.95);
    --footer-bg: #111;
    --success-color: #40c057;
    --error-color: #fa5252;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: var(--site-header-height, 116px);
    overflow-x: hidden;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.nav-open {
    overflow: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.business-switcher {
    background: var(--primary-dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.switcher-inner {
    display: flex;
    justify-content: center;
    gap: 0;
}

.switcher-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.switcher-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
}

.switcher-link.active {
    color: #fff !important;
    border-bottom-color: #fff;
    background: rgba(255,255,255,0.12);
}

main section {
    padding: 80px 0;
}

main section > .container > h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-description {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    color: var(--text-color);
    opacity: 0.85;
    font-size: 1.1rem;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    padding: 28px 32px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-top: 48px;
}

.section-cta p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.85;
}

.section-cta a {
    color: var(--primary-color);
    font-weight: 500;
}

.section-cta a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 500;
}

p {
    margin-bottom: 15px;
}

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

a:not(.btn-primary):not(.btn-secondary):not(.switcher-link):not(.apartment-card-link):not(.logo):hover {
    color: var(--primary-dark);
}

.btn-primary,
a.btn-primary,
button.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff !important;
    text-decoration: none;
}

.btn-secondary,
a.btn-secondary,
button.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    padding: 10px 28px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover,
a.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* Navigation */
.navbar {
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px var(--shadow);
    position: relative;
    width: 100%;
    transition: background-color 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
    max-width: 100%;
}

.logo {
    min-width: 0;
    flex: 1 1 auto;
}

.logo-link,
a.logo {
    display: block;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 0;
}

.logo p {
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 24px;
}

@media (max-width: 1100px) {
    .navbar .container > .nav-menu:not(.active) {
        position: absolute;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-menu li {
        margin-left: 14px;
    }

    .nav-menu a {
        font-size: 0.875rem;
    }

    .logo h1 {
        font-size: 20px;
    }

    .nav-menu {
        position: fixed;
        top: var(--site-header-height, 116px);
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--card-bg);
        padding: 12px 20px 20px;
        gap: 0;
        box-shadow: 0 8px 24px var(--shadow);
        display: none;
        z-index: 999;
        max-height: calc(100vh - var(--site-header-height, 116px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .logo p {
        display: none;
    }

    .nav-menu a.active::after {
        display: none;
    }

    .nav-menu a.active {
        font-weight: 700;
    }
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active {
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

.navbar.scrolled {
    background-color: var(--navbar-bg);
    backdrop-filter: blur(10px);
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-color);
}

.lang-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 8px 10px;
    min-width: 40px;
    min-height: 40px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
    color: var(--primary-color);
    background: rgba(44, 90, 160, 0.08);
}

.lang-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.lang-btn + .lang-btn {
    border-left: 1px solid var(--border-color);
}

.lang-btn.active + .lang-btn,
.lang-btn + .lang-btn.active {
    border-left-color: transparent;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

#theme-toggle:hover {
    background-color: var(--border-color);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}

@media (max-width: 1100px) {
    .hamburger {
        display: flex;
    }
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-backdrop.active {
    display: block;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: left;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    display: block;
}

/* About Section */
.about {
    background-color: var(--card-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
}

.about-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Apartments Section */
.apartments {
    background-color: var(--bg-color);
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.apartment-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.apartment-card-link {
    cursor: pointer;
}

.apartment-card-link:hover {
    color: inherit;
    transform: translateY(-5px);
    box-shadow: 0 12px 28px var(--shadow);
}

.apartment-card:not(.apartment-card-link):hover {
    transform: translateY(-5px);
}

.availability-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
}

.availability-badge.available {
    background: #d4edda;
    color: #155724;
}

.availability-badge.unavailable {
    background: #f8d7da;
    color: #721c24;
}

.availability-badge.neutral {
    background: var(--bg-color);
    color: var(--text-color);
    opacity: 0.8;
}

.apartment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.apartment-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apartment-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.apartment-info ul {
    list-style: none;
    margin-top: auto;
    padding-top: 16px;
}

.apartment-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.apartment-info li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.apartment-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 12px 0;
}

.apartment-price span {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
}

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 12px;
    text-align: center;
}

.apartment-info .btn-small {
    margin-top: auto;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--card-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    align-items: stretch;
}

.testimonial-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 12px var(--shadow);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
}

.testimonial-content p::before {
    content: '"';
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 0;
    margin-right: 4px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-author h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 0.85rem;
    opacity: 0.75;
}

.rating {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
    color: #f0b429;
}

/* Gallery Section */
.gallery {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.gallery-cta,
.faq-cta {
    margin-top: 0;
}

/* Location Section */
.location {
    background-color: var(--card-bg);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-info h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 28px;
    margin-top: 4px;
    flex-shrink: 0;
}

.detail-item h4 {
    margin: 0 0 6px;
    color: var(--primary-color);
    font-size: 1rem;
}

.detail-item p {
    margin: 0;
    opacity: 0.85;
}

.map-container {
    min-height: 320px;
    overflow: hidden;
    max-width: 100%;
}

#map {
    width: 100%;
    max-width: 100%;
    height: 320px;
    min-height: 320px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    z-index: 1;
}

#map .leaflet-container {
    max-width: 100%;
}

#map .leaflet-control-attribution {
    font-size: 10px;
}

.location .weather-widget {
    grid-column: 1 / -1;
    margin-top: 0;
}

/* Booking Section */
.booking {
    background-color: var(--bg-color);
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.booking-info h3,
.booking-form h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
}

.booking-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 6px;
    color: var(--primary-color);
}

.step-content p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.95rem;
}

.pricing-info {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
}

.pricing-info h4 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-item:last-of-type {
    border-bottom: none;
}

.price-item span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

.price-note {
    margin: 16px 0 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

.booking-form {
    background-color: var(--card-bg);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
    border: 1px solid var(--border-color);
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form .btn-primary {
    width: 100%;
    text-align: center;
}

.booking-summary {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.booking-summary h4 {
    color: var(--primary-color);
    margin: 0 0 16px;
    font-size: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid var(--primary-color);
}

.summary-note {
    margin: 12px 0 0;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Contact Section */
.contact {
    background-color: var(--card-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    flex: 1;
}

.contact-info > h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 28px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-form {
    flex: 1;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-form h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group input.field-invalid,
.form-group textarea.field-invalid,
.form-group select.field-invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-error {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 3px;
    margin-right: 10px;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-dark);
}

#submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-features {
    margin-top: 32px;
    padding: 24px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.contact-features h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-features ul {
    list-style: none;
}

.contact-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 16px;
}

.info-item h4 {
    margin: 0 0 6px;
    color: var(--primary-color);
    font-size: 1rem;
}

.info-item p {
    margin: 0;
}

.info-item small {
    opacity: 0.7;
    font-size: 0.8rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px var(--shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow);
}

.scroll-to-top i {
    font-size: 18px;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.faq-category {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.faq-category h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    padding-bottom: 12px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.faq-cta {
    margin-top: 48px;
}

/* Weather Widget */
.weather-widget {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.weather-widget h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.weather-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.weather-main i {
    font-size: 48px;
    color: #ffd700;
}

.weather-main .temp {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-color);
}

.weather-details p {
    margin: 5px 0;
    color: var(--text-color);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.weather-forecast h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.forecast-day {
    text-align: center;
    padding: 15px 10px;
    background-color: var(--bg-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.forecast-day .day {
    display: block;
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 8px;
}

.forecast-day i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.forecast-day .temp {
    font-weight: 600;
    color: var(--text-color);
}

footer {
    background-color: var(--footer-bg);
    color: #e4e4e4;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.badge {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #e4e4e4;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.newsletter-signup h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter-form .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    position: relative;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

.footer-admin-link {
    position: absolute;
    bottom: 20px;
    right: 30px;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #e4e4e4;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.admin-link:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* Animations — apartment cards are observed after dynamic render */
.feature, .apartment-card, .gallery-item, .testimonial-card, .faq-category, .step {
    opacity: 0;
    transform: translateY(24px);
}

/* Cards already in viewport when rendered should appear immediately */
.apartment-card.animate-in,
.feature.animate-in,
.gallery-item.animate-in,
.testimonial-card.animate-in,
.faq-category.animate-in,
.step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-color);
    opacity: 0.7;
    grid-column: 1 / -1;
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    color: white;
    margin-top: 16px;
}

.lightbox-caption h4 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.lightbox-caption p {
    margin: 0;
    opacity: 0.8;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--card-bg);
    color: var(--text-color);
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 8px 24px var(--shadow);
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90vw;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

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

.toast-success { border-left-color: var(--success-color); }
.toast-error { border-left-color: var(--error-color); }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-inner,
    .about-content,
    .location-content,
    .booking-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .location-content .map-container {
        order: -1;
    }

    .hero-content h2 {
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    main section {
        padding: 48px 0;
    }

    main section > .container > h2 {
        font-size: 1.75rem;
        padding: 0 4px;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 32px;
        padding: 0 4px;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-btn {
        min-width: 36px;
        padding: 8px 8px;
    }

    .contact-form,
    .booking-form {
        padding: 24px 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 16px;
    }

    .apartments-grid,
    .faq-grid,
    .menu-items-grid {
        grid-template-columns: 1fr;
    }

    .apartment-card .btn-small,
    .btn-primary,
    .btn-secondary,
    button.btn-primary {
        min-height: 44px;
        padding: 12px 20px;
        touch-action: manipulation;
    }

    .faq-question {
        text-align: left;
        gap: 12px;
        min-height: 48px;
        padding: 14px 12px;
        font-size: 0.95rem;
        touch-action: manipulation;
    }

    .testimonials-grid,
    .gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 4px 4px 16px;
        margin: 0 -4px 32px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
    }

    .testimonials-grid::-webkit-scrollbar,
    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card,
    .gallery-item {
        flex: 0 0 min(85%, 320px);
        max-width: 320px;
        scroll-snap-align: start;
    }

    .gallery-item img {
        height: 220px;
        object-fit: cover;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        flex: 1 1 auto;
        text-align: center;
        min-width: 140px;
    }

    .forecast-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        min-height: 44px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-admin-link {
        position: static;
        margin-top: 16px;
        text-align: center;
    }

    .room-gallery-main {
        aspect-ratio: 4/3;
        border-radius: 8px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }

    .room-book-card {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .room-booking-form input,
    .room-booking-form textarea,
    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .booking-form input,
    .booking-form textarea {
        font-size: 16px; /* prevent iOS zoom on focus */
        min-height: 44px;
    }

    .room-hero {
        padding: 28px 0 12px;
    }

    .scroll-to-top {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(16px, env(safe-area-inset-right));
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .switcher-inner {
        width: 100%;
    }

    .switcher-link {
        flex: 1;
        justify-content: center;
        padding: 12px 10px;
        font-size: 0.8125rem;
        min-height: 44px;
    }

    .logo h1 {
        font-size: 1.125rem;
    }

    .navbar .container {
        padding: 10px 12px;
        gap: 8px;
    }

    .lang-toggle {
        border-radius: 6px;
    }

    .lang-btn {
        min-width: 34px;
        min-height: 36px;
        padding: 6px 7px;
        font-size: 0.7rem;
    }

    #theme-toggle {
        width: 40px;
        height: 40px;
    }

    .hamburger {
        width: 40px;
        height: 40px;
    }

    .hero-content h2 {
        font-size: 1.625rem;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-image {
        margin-top: 8px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form {
        padding: 18px 14px;
    }

    .testimonial-card,
    .gallery-item {
        flex: 0 0 88%;
    }

    .room-specs {
        gap: 10px;
    }

    .room-specs .spec {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    .cal-grid {
        font-size: 0.75rem;
        gap: 2px;
    }

    .cal-day {
        padding: 8px 2px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ─── Room detail page ─── */
.logo-link { text-decoration: none; color: inherit; display: block; }
.logo-link:hover { color: inherit; }
.logo-link h1 { color: var(--primary-color); }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--primary-color) !important;
}

.room-hero { padding: 40px 0 20px; background: var(--card-bg); }
.room-hero h1 { font-family: 'Playfair Display', serif; color: var(--primary-color); margin: 0; }

.room-gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-color);
}

.room-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.room-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.room-gallery-thumbs button {
    border: 3px solid transparent;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    background: none;
}

.room-gallery-thumbs button.active { border-color: var(--primary-color); }
.room-gallery-thumbs img { width: 100px; height: 70px; object-fit: cover; border-radius: 6px; display: block; }

.room-details-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.amenities-list { list-style: none; margin-bottom: 24px; }
.amenities-list li { padding: 8px 0; display: flex; align-items: center; gap: 10px; }
.amenities-list i { color: var(--primary-color); }

.room-specs { display: flex; flex-wrap: wrap; gap: 16px; }
.room-specs .spec {
    background: var(--bg-color);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.room-book-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 24px var(--shadow);
    position: sticky;
    top: 140px;
}

.room-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.room-price-large span { font-size: 1rem; font-weight: 400; opacity: 0.7; }

.btn-block { display: block; width: 100%; text-align: center; margin-top: 20px; }

.room-booking-form {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.room-booking-form h3 {
    margin: 0 0 16px;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.room-booking-form .form-group {
    margin-bottom: 14px;
}

.room-booking-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.room-booking-form input,
.room-booking-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-color);
    color: var(--text-color);
    font: inherit;
}

.room-booking-form .form-row {
    display: flex;
    gap: 12px;
}

.room-booking-form .form-row .form-group {
    flex: 1;
}

.room-booking-form .btn-block {
    margin-top: 8px;
}

.mini-calendar { margin: 20px 0; }
.mini-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mini-calendar-header button {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--text-color);
}

.cal-legend { display: flex; gap: 16px; font-size: 0.75rem; margin-bottom: 12px; opacity: 0.8; }
.cal-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.cal-legend .dot.available { background: #28a745; }
.cal-legend .dot.booked { background: #dc3545; }

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.8rem;
}

.cal-day-name { font-weight: 600; opacity: 0.6; padding: 4px; }
.cal-day { padding: 6px 4px; border-radius: 4px; }
.cal-day.available { background: #d4edda; color: #155724; }
.cal-day.booked { background: #f8d7da; color: #721c24; opacity: 0.7; }
.cal-day.empty { visibility: hidden; }

/* ─── Restaurant page ─── */
.page-restaurant {
    --rest-ink: #1c2a22;
    --rest-forest: #2f4a38;
    --rest-moss: #4f6b55;
    --rest-copper: #c17a3a;
    --rest-copper-deep: #9a5c28;
    --rest-linen: #eef2ec;
    --rest-card: #f7faf6;
    --rest-border: rgba(47, 74, 56, 0.14);
    --primary-color: var(--rest-forest);
    --primary-dark: #1e3326;
    font-family: 'Source Sans 3', 'Roboto', sans-serif;
    background:
        radial-gradient(ellipse at top left, rgba(193, 122, 58, 0.08), transparent 45%),
        linear-gradient(180deg, #f4f7f3 0%, #e8eee6 100%);
    color: var(--rest-ink);
}

.page-restaurant[data-theme="dark"],
html[data-theme="dark"] .page-restaurant {
    --rest-ink: #e8efe9;
    --rest-linen: #1a2420;
    --rest-card: #24312a;
    --rest-border: rgba(232, 239, 233, 0.12);
    background:
        radial-gradient(ellipse at top left, rgba(193, 122, 58, 0.12), transparent 40%),
        linear-gradient(180deg, #121916 0%, #1a2420 100%);
}

.page-restaurant .logo h1,
.page-restaurant main section > .container > h2,
.page-restaurant .menu-category-block h3,
.page-restaurant .feature h3,
.page-restaurant .booking-info h3 {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
}

.page-restaurant .business-switcher {
    background: #1a2a20;
}

.page-restaurant .navbar {
    background: rgba(247, 250, 246, 0.92);
    backdrop-filter: blur(10px);
}

html[data-theme="dark"] .page-restaurant .navbar {
    background: rgba(26, 36, 32, 0.94);
}

.page-restaurant .btn-primary,
.page-restaurant a.btn-primary,
.page-restaurant button.btn-primary {
    background: var(--rest-copper);
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.page-restaurant .btn-primary:hover,
.page-restaurant a.btn-primary:hover,
.page-restaurant button.btn-primary:hover {
    background: var(--rest-copper-deep);
}

.page-restaurant .btn-secondary,
.page-restaurant a.btn-secondary {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}

.page-restaurant .btn-secondary:hover,
.page-restaurant a.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

.restaurant-hero {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
    background: #1a2a20;
}

.restaurant-hero-media {
    position: absolute;
    inset: 0;
    background:
        url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600&q=80') center/cover no-repeat;
    transform: scale(1.04);
    animation: restHeroZoom 18s ease-out forwards;
}

.restaurant-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(20, 34, 26, 0.88) 0%, rgba(20, 34, 26, 0.55) 48%, rgba(20, 34, 26, 0.3) 100%),
        linear-gradient(0deg, rgba(20, 34, 26, 0.55), transparent 40%);
}

@keyframes restHeroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.restaurant-hero .hero-inner {
    position: relative;
    z-index: 1;
    display: block;
    padding: 72px 20px 64px;
    max-width: 1200px;
}

.restaurant-hero .hero-content {
    max-width: 640px;
    text-align: left;
    color: #f4f7f3;
}

.rest-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rest-copper);
    animation: restFadeUp 0.7s ease both;
}

.restaurant-hero .hero-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
    text-align: left;
    animation: restFadeUp 0.8s ease 0.08s both;
}

.restaurant-hero .hero-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 28px;
    animation: restFadeUp 0.8s ease 0.16s both;
}

.restaurant-hero .hero-actions {
    animation: restFadeUp 0.8s ease 0.24s both;
}

@keyframes restFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.page-restaurant .restaurant-menu {
    background: transparent;
}

.page-restaurant .section-description {
    color: var(--rest-ink);
    opacity: 0.78;
}

.menu-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -12px auto 40px;
}

.menu-filter-btn {
    appearance: none;
    border: 1px solid var(--rest-border);
    background: var(--rest-card);
    color: var(--rest-ink);
    padding: 10px 18px;
    min-height: 44px;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.menu-filter-btn:hover {
    border-color: var(--rest-moss);
    transform: translateY(-1px);
}

.menu-filter-btn.active {
    background: var(--rest-forest);
    border-color: var(--rest-forest);
    color: #fff;
}

.menu-category-block { margin-bottom: 48px; }
.menu-category-block h3 {
    color: var(--rest-forest);
    font-size: 1.75rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rest-border);
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.menu-card {
    background: var(--rest-card);
    border: 1px solid var(--rest-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(28, 42, 34, 0.08);
    padding: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(28, 42, 34, 0.14);
}

.menu-card-enter {
    animation: restFadeUp 0.55s ease both;
}

.menu-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #d7e0d6;
}

.menu-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.menu-card:hover .menu-card-media img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 18px 18px 20px;
}

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

.menu-card-header h4 {
    margin: 0;
    color: var(--rest-forest);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
}

.menu-card-price {
    font-weight: 700;
    color: var(--rest-copper);
    white-space: nowrap;
    font-size: 1.05rem;
}

.menu-card-body > p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.85;
}

.menu-allergens {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 10px 0 0;
}

.page-restaurant .restaurant-about {
    background: linear-gradient(180deg, rgba(47, 74, 56, 0.06), transparent);
}

.page-restaurant .feature {
    background: var(--rest-card);
    border: 1px solid var(--rest-border);
    border-radius: 12px;
    padding: 24px 20px;
}

.page-restaurant .feature i {
    color: var(--rest-copper);
}

.page-restaurant .restaurant-booking .booking-form {
    background: var(--rest-card);
    border: 1px solid var(--rest-border);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(28, 42, 34, 0.08);
}

.page-restaurant footer {
    background: #1a2a20;
    color: #e8efe9;
}

.page-restaurant footer a {
    color: #d7e5d8;
}

.page-restaurant footer a:hover {
    color: var(--rest-copper);
}

@media (max-width: 768px) {
    .restaurant-hero {
        min-height: min(70vh, 560px);
        align-items: flex-end;
    }

    .restaurant-hero .hero-inner {
        padding: 48px 16px 40px;
    }

    .restaurant-hero .hero-content {
        text-align: left;
    }

    .menu-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .menu-filters::-webkit-scrollbar { display: none; }

    .menu-filter-btn {
        flex: 0 0 auto;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
    }
}

.availability-hint {
    text-align: center;
    padding: 12px 20px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.availability-hint.success { border-color: var(--success-color); background: #d4edda; color: #155724; }
.availability-hint.warning { border-color: #ffc107; background: #fff3cd; color: #856404; }

@media (max-width: 992px) {
    .room-details-grid { grid-template-columns: 1fr; }
    .room-book-card { position: static; }
}