:root {
    color-scheme: light;
    --bg: #f3faf5;
    --surface: #ffffff;
    --text: #183827;
    --muted: #567063;
    --accent: #2f8f4c;
    --accent-dark: #246b3b;
    --border: rgba(24, 56, 39, 0.10);
    --shadow: 0 24px 80px rgba(24, 56, 39, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(47, 44, 38, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text);
}

.logo img {
    width: 72px;
    height: auto;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 0.95rem;
    color: var(--muted);
}

.main-nav a {
    color: var(--muted);
    transition: color 0.2s ease;
}

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

.btn-reserve,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-reserve,
.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    background: rgba(47,133,88,0.12);
    color: var(--text);
    border: 1px solid rgba(47,133,88,0.18);
}

.btn-reserve:hover,
.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--accent-dark);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(47,133,88,0.18);
}

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(7,40,20,0.38), rgba(7,40,20,0.72)), url('fotki/palac7.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 120px 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 5rem);
    line-height: 0.95;
    max-width: 14ch;
    font-weight: 700;
}

.hero p {
    margin: 28px 0 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.intro-grid,
.cards-grid,
.features-grid,
.booking-grid,
.footer-grid {
    display: grid;
    gap: 32px;
}

.intro-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(350px, 1fr);
    align-items: center;
}

.intro-text h2 {
    margin: 0 0 24px;
    font-size: clamp(2.1rem, 2.3vw, 2.8rem);
    line-height: 1.05;
}

.intro-text p {
    margin: 0 0 28px;
    color: var(--muted);
    max-width: 42rem;
    line-height: 1.8;
}

.intro-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.rooms .section-header {
    max-width: 720px;
    margin-bottom: 40px;
}

.rooms .section-header h2 {
    margin: 0.5rem 0 0;
    font-size: clamp(2rem, 2.5vw, 3rem);
    line-height: 1.05;
}

.gallery-section {
    margin-bottom: 48px;
}

.gallery-section h3 {
    margin: 0 0 24px;
    font-size: clamp(1.6rem, 2vw, 2rem);
    color: var(--text);
}

.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

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

.card {
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 60px rgba(47, 44, 38, 0.12);
}

.card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
}
.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}
.lightbox-img {
    max-width: calc(100% - 40px);
    max-height: calc(100% - 80px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border-radius: 8px;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.12s ease;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,0.95);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}
@media (max-width: 600px) {
    .lightbox-img { max-width: 96%; max-height: 92%; }
    .lightbox-close { top: 12px; right: 12px; }
}

body.home .card img {
    aspect-ratio: 4 / 3;
    max-height: 220px;
}

body.home .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.card-body {
    padding: 28px;
}

.menu-card .card-body {
    display: flex;
    flex-direction: column;
}

.menu-card .card-body h4 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

.menu-card .card-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.card-body h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.card-body p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
}

.card-body a {
    color: var(--accent);
    font-weight: 700;
}

.features {
    background: rgba(255, 255, 255, 0.85);
}

.features-grid {
    width: min(100%, 1180px);
    margin: 0 auto;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    min-height: 240px;
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 18px 46px rgba(47, 44, 38, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 60px rgba(47, 44, 38, 0.12);
}

.feature-card h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

.booking-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
    align-items: center;
    gap: 40px;
}

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

.contact-info {
    padding: 32px;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(47, 44, 38, 0.06);
    border: 1px solid var(--border);
}

.contact-info h3 {
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: var(--accent);
}

.contact-info p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--accent-dark);
}

.contact-map {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 40px;
}

.contact-map iframe {
    width: 100%;
    min-height: 430px;
    border: 0;
    display: block;
}

body.site-map .site-map-content {
    padding: 40px 0;
}

body.site-map .site-map-content h1,
body.site-map .site-map-content h2 {
    color: var(--text);
}

body.site-map .site-map-content ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

body.site-map .site-map-content ul li {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(47, 133, 88, 0.16);
    border-radius: 18px;
    padding: 18px 22px;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.site-map .site-map-content ul li a {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

body.site-map .site-map-content ul li:hover {
    transform: translateX(6px);
    background-color: rgba(47, 143, 76, 0.08);
    box-shadow: 0 12px 30px rgba(47, 56, 38, 0.08);
}

body.site-map .site-map-content ul li:hover a {
    color: var(--accent-dark);
}

body.attractions-redesign {
    background: #f6fbf7;
}

.attractions-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(24, 56, 39, 0.08);
}

.attractions-hero-bg {
   position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(7,40,20,0.38), rgba(7,40,20,0.72)), url('fotki/palac7.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.attractions-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 110px 0 128px;
}

.attractions-hero .section-label,
.attractions-heading .section-label,
.season-panel .section-label,
.map-panel .section-label,
.attractions-cta .section-label {
    color: #ffffff;
}
.attractions-hero h1,
.attractions-heading h2,
.season-panel h2,
.map-panel h2,
.attractions-cta h2 {
    margin: 0;
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    line-height: 1.04;
}

.attractions-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 5rem);
    line-height: 0.95;
    max-width: 14ch;
    font-weight: 700;
    color: #fff;
}

.attractions-hero p {
    margin: 28px 0 32px;
    max-width: 560px;
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.05rem;
}

.attractions-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: -54px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(24, 56, 39, 0.08);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(24, 56, 39, 0.10);
    overflow: hidden;
}

.attractions-categories article {
    min-height: 172px;
    padding: 28px 18px;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    border-right: 1px solid rgba(24, 56, 39, 0.08);
}

.attractions-categories article:last-child {
    border-right: 0;
}

.attractions-categories span {
    color: #2f8f4c;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 16px;
}

.attractions-categories h2 {
    margin: 0 0 10px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.attractions-categories p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.attractions-section {
    padding: 74px 0 24px;
}

.attractions-heading {
    text-align: center;
    margin-bottom: 30px;
}

.attractions-heading h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.attraction-card {
    background: var(--surface);
    border: 1px solid rgba(24, 56, 39, 0.09);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(24, 56, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 70px rgba(24, 56, 39, 0.12);
}

.attraction-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.attraction-card div {
    padding: 24px;
}

.attraction-card h3 {
    margin: 0 0 14px;
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.attraction-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.attraction-card a {
    color: #2f8f4c;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.attractions-showcase {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    padding: 24px 0 0;
}

.season-panel,
.map-panel,
.attractions-cta {
    border: 1px solid rgba(24, 56, 39, 0.09);
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(24, 56, 39, 0.08);
}

.season-panel {
    min-height: 420px;
    padding: 42px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: linear-gradient(90deg, rgba(24, 56, 39, 0.88), rgba(24, 56, 39, 0.48)), url('fotki/palac7.jpg');
    background-position: center;
    background-size: cover;
}

.season-panel h2,
.season-panel p {
    color: white;
}

.season-panel h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.season-panel p {
    max-width: 520px;
    line-height: 1.8;
}

.season-panel .btn-secondary {
    border-color: rgba(255, 255, 255, 0.46);
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.season-panel ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
}

.season-panel li {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.map-panel {
    padding: 42px;
    background: linear-gradient(135deg, #ffffff, #eef7f1);
}

.map-panel h2 {
    position: relative;
    z-index: 0;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    max-width: 14ch;
    margin-bottom: 28px;
}

.leaflet-attractions-map {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f1e8;
    border: 1px solid rgba(24, 56, 39, 0.08);
    z-index: 5;
}

.leaflet-map-wrap {
    position: relative;
    margin-bottom: 24px;
}

.leaflet-attractions-map .leaflet-popup-pane {
    z-index: 900;
}

.leaflet-attractions-map .leaflet-tile {
    filter: sepia(0.16) saturate(0.72) brightness(1.06);
}

.leaflet-attractions-map .leaflet-control-attribution {
    color: rgba(24, 56, 39, 0.24);
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.76);
}

.leaflet-attractions-map .leaflet-control-zoom {
    border: 0;
    box-shadow: 0 10px 24px rgba(24, 56, 39, 0.18);
}

.leaflet-attractions-map .leaflet-control-zoom a {
    color: var(--text);
    border-color: rgba(24, 56, 39, 0.12);
}

.palace-map-marker {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2f8f4c;
    border: 3px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 16px rgba(24, 56, 39, 0.24);
    display: grid;
    place-items: center;
}

.palace-map-marker span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.attraction-map-marker {
    width: 24px;
    height: 34px;
    filter: drop-shadow(0 8px 14px rgba(24, 56, 39, 0.22));
}

.attraction-map-marker span {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50% 50% 50% 0;
    background: #2f8f4c;
    border: 3px solid rgba(255, 255, 255, 0.92);
    transform: rotate(-45deg);
}

.attraction-map-marker span::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    top: 5px;
    left: 5px;
    border-radius: 50%;
    background: #ffffff;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(24, 56, 39, 0.16);
}

.leaflet-popup-content {
    color: var(--muted);
    line-height: 1.45;
}

.leaflet-popup-content strong {
    color: var(--text);
}

.map-hover-card {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 800;
    width: min(240px, calc(100% - 32px));
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(24, 56, 39, 0.10);
    box-shadow: 0 18px 40px rgba(24, 56, 39, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.map-hover-card.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.map-hover-card img {
    width: 100%;
    height: 96px;
    object-fit: cover;
}

.map-hover-card div {
    padding: 12px 14px 14px;
}

.map-hover-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.map-hover-card span {
    display: block;
    margin-bottom: 7px;
    color: #2f8f4c;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.map-hover-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

/* Legacy popup styles kept for Leaflet fallback. */
.attractions-leaflet-popup .leaflet-popup-content-wrapper {
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(24, 56, 39, 0.10);
}

.attractions-leaflet-popup .leaflet-popup-content {
    width: 220px !important;
    margin: 0;
}

.map-attraction-popup {
    display: grid;
    background: #ffffff;
}

.map-attraction-popup img {
    width: 100%;
    height: 94px;
    object-fit: cover;
}

.map-attraction-popup div {
    padding: 12px 14px 14px;
}

.map-attraction-popup strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.map-attraction-popup span {
    display: block;
    margin-bottom: 7px;
    color: #2f8f4c;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.map-attraction-popup p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.attractions-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 24px;
    margin-bottom: 70px;
    padding: 34px 42px;
    background: var(--surface);
}

.attractions-cta h2 {
    font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.attractions-cta p {
    margin: 12px 0 0;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .attractions-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .attractions-categories article {
        border-right: 1px solid rgba(24, 56, 39, 0.08);
        border-bottom: 1px solid rgba(24, 56, 39, 0.08);
    }
    .attractions-grid,
    .attractions-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .attractions-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .attractions-hero {
        min-height: auto;
    }
    .attractions-hero-bg {
        background-image: linear-gradient(180deg, rgba(246, 251, 247, 0.92), rgba(246, 251, 247, 0.80)), url('fotki/dadaj.png');
    }
    .attractions-hero-content {
        padding: 68px 0 96px;
        text-align: left;
    }
    .attractions-hero h1 {
        font-size: clamp(2.4rem, 14vw, 3.4rem);
    }
    .attractions-categories {
        margin-top: -38px;
        grid-template-columns: 1fr;
    }
    .attractions-categories article {
        min-height: 138px;
        border-right: 0;
    }
    .attractions-grid {
        grid-template-columns: 1fr;
    }
    .attractions-section {
        padding-top: 56px;
    }
    .season-panel,
    .map-panel,
    .attractions-cta {
        padding: 28px;
    }
    .season-panel {
        min-height: 520px;
    }
    .season-panel ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .map-panel h2 {
        max-width: 100%;
    }
    .attractions-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .attractions-hero-content {
        padding: 54px 0 82px;
    }
    .attractions-categories span {
        font-size: 2rem;
    }
    .attraction-card div {
        padding: 20px;
    }
    .leaflet-attractions-map {
        height: 210px;
    }
}

.contact-section {
    padding: 40px;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-section h3 {
    margin: 0 0 24px;
    font-size: 1.6rem;
    color: var(--text);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(47,44,38,0.15);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(47,133,88,0.02);
}

.booking-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
    align-items: center;
    gap: 40px;
}

.booking-form {
    display: grid;
    gap: 16px;
    padding: 32px;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.booking-form label {
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--muted);
}

.booking-form label.checkbox-label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.4;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.checkbox-label input {
    margin-top: 0;
    width: auto;
}

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

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

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(47,44,38,0.15);
    background: #fff;
}

.booking-form button {
    margin-top: 8px;
}

.site-footer {
    background: #fff;
    border-top: 1px solid rgba(47, 44, 38, 0.08);
    padding: 60px 0 40px;
}

.footer-grid {
    grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(180px, 1fr));
    gap: 32px;
}

.footer-brand img {
    width: 64px;
    margin-bottom: 18px;
}

.footer-brand p,
.site-footer h3,
.site-footer a,
.site-footer p {
    color: var(--muted);
}

.site-footer h3 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .intro-grid,
    .booking-grid,
    .footer-grid,
    .cards-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav {
        justify-content: center;
    }
}



/* Improved mobile layout adjustments */
@media (max-width: 720px) {
    .container {
        width: min(100%, calc(100% - 24px));
    }
    .header-inner {
        flex-wrap: nowrap;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
    }
    .logo img { width: 48px; height: auto; }
    .logo span { display: none; }
    .cards-grid, .gallery-grid, .features-grid { grid-template-columns: 1fr; }
    .card img { height: 180px; object-fit: cover; }
    .card-body { padding: 16px; }
    .section-header h2 { font-size: 1.4rem; }
    .main-nav { left: 8px; right: 8px; top: calc(100% + 8px); }
    .main-nav a { padding: 12px 10px; font-size: 1rem; }
    .btn-reserve, .btn-primary, .btn-secondary { padding: 12px 16px; font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 18px; }
    .contact-map iframe { min-height: 260px; }
    .booking-grid { grid-template-columns: 1fr; }
    .section-header, .footer-bottom, .footer-grid, .booking-form, .contact-info, .contact-section {
        text-align: center;
    }
    .cards-grid, .gallery-grid, .features-grid, .footer-grid, .booking-grid, .contact-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .card, .feature-card, .contact-info, .booking-form, .contact-map, .footer-brand, .footer-grid > div {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .main-nav {
        width: 100%;
        justify-content: center;
    }
    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 12px 10px;
        box-sizing: border-box;
    }
    .booking-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .booking-actions .btn-primary,
    .booking-actions .btn-secondary,
    .section .btn-primary,
    .section .btn-secondary {
        width: min(100%, 360px);
        max-width: 100%;
        margin: 0 auto;
    }

    .site-header .btn-reserve,
    .site-header .btn-secondary {
        width: auto;
    }
    .header-inner {
        justify-content: center;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 420px) {
    
    .card img { height: 140px; }
    .main-nav a { font-size: 0.98rem; padding: 10px 8px; }
    .nav-toggle { width: 44px; height: 44px; }
    .logo img { width: 42px; }
    .section-header h2 { font-size: 1.2rem; }
    .card-body { padding: 14px; }
}

/* Hamburger nav for mobile */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 48px;
    height: 48px;
    padding: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle .hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text);
}
.nav-toggle .hamburger::before{ top: -7px; }
.nav-toggle .hamburger::after{ bottom: -7px; }

@media (max-width: 720px) {
    .nav-toggle { display: inline-grid; }
    .header-inner { position: relative; }
    .main-nav { display: none; position: absolute; left: 12px; right: 12px; top: 100%; background: var(--surface); border-radius: 12px; padding: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); z-index: 50; flex-direction: column; }
    .header-inner.menu-open .main-nav { display: flex; }
    .main-nav a { padding: 10px 6px; }
}
.restaurant-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.restaurant-hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(7,40,20,0.38), rgba(7,40,20,0.72)), url('fotki/palac7.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.restaurant-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 110px 0;
}

.restaurant-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 5rem);
    line-height: 0.95;
    max-width: 14ch;
    font-weight: 700;
    color: #fff;
}

.restaurant-hero p {
    margin: 28px 0 32px;
    max-width: 620px;
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
    font-size: 1.05rem;
}

.restaurant-section {
    background: var(--bg);
}

.restaurant-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.restaurant-categories article,
.food-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.restaurant-categories article:hover,
.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(47, 44, 38, 0.12);
}

.restaurant-categories img,
.food-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.restaurant-categories div,
.food-card div {
    padding: 28px;
}

.restaurant-categories h3,
.food-card h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: var(--text);
}

.restaurant-categories p,
.food-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.restaurant-menu-section {
    background: rgba(255,255,255,0.75);
}

.restaurant-food-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.restaurant-events {
    background: var(--bg);
}

.restaurant-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
}

.restaurant-events-image {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.restaurant-events-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.restaurant-events-content h2 {
    margin: 0 0 22px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
}

.restaurant-events-content p {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.8;
}

.restaurant-events-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.restaurant-events-content li {
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 900px) {
    .restaurant-categories,
    .restaurant-food-grid,
    .restaurant-events-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-hero {
        min-height: auto;
    }

    .restaurant-hero-content {
        padding: 80px 0;
    }
}
.restaurant-label{
    color: #ffffff !important;
}
.rooms-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.rooms-hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(7,40,20,0.38), rgba(7,40,20,0.72)), url('fotki/palac7.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.rooms-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 110px 0;
}

.rooms-label {
    color: #ffffff !important;
}

.rooms-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 5rem);
    line-height: 0.95;
    max-width: 14ch;
    font-weight: 700;
    color: #fff;
}

.rooms-hero p {
    margin: 28px 0 32px;
    max-width: 620px;
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
    font-size: 1.05rem;
}

.rooms-page-section,
.area-section,
.rooms-benefits-section {
    background: var(--bg);
}

.rooms-gallery-section,
.family-apartments-section {
    background: rgba(255,255,255,0.75);
}

.rooms-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.room-page-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.room-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(47, 44, 38, 0.12);
}

.room-page-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.room-page-card div {
    padding: 26px;
}

.room-page-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--text);
}

.room-page-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.rooms-photo-grid,
.area-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.room-photo-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    min-height: 260px;
}

.room-photo-item img,
.area-photo-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.room-photo-overlay {
    position: absolute;
    inset: 0;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(7,40,20,0.05), rgba(7,40,20,0.78));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.room-photo-overlay h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: #fff;
}

.room-photo-overlay p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.room-photo-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.85);
}

.room-photo-item:hover .room-photo-overlay {
    opacity: 1;
}

.hunting-house-section {
    background: var(--bg);
}

.hunting-house-grid,
.family-apartments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
}

.hunting-house-image,
.family-apartments-image,
.area-main-photo {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hunting-house-image img,
.family-apartments-image img,
.area-main-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hunting-house-content h2,
.family-apartments-content h2 {
    margin: 0 0 22px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
}

.hunting-house-content p,
.family-apartments-content p,
.area-section .attractions-heading p {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.8;
}

.hunting-house-content ul,
.family-apartments-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hunting-house-content li,
.family-apartments-content li,
.area-tags span,
.rooms-benefits-grid div {
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
}

.area-main-photo {
    margin-bottom: 24px;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.rooms-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.rooms-benefits-grid div {
    text-align: center;
}

@media (max-width: 1024px) {
    .rooms-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rooms-photo-grid,
    .area-photo-grid,
    .rooms-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hunting-house-grid,
    .family-apartments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .rooms-hero {
        min-height: auto;
    }

    .rooms-hero-content {
        padding: 80px 0;
    }

    .rooms-hero h1 {
        font-size: clamp(2.4rem, 14vw, 3.4rem);
    }

    .rooms-page-grid,
    .rooms-photo-grid,
    .area-photo-grid,
    .rooms-benefits-grid,
    .hunting-house-content ul,
    .family-apartments-content ul {
        grid-template-columns: 1fr;
    }
}

.footer-author{
    text-align: center;
    font-size:.9rem;
}

.footer-author a{
    color:#ffffff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.footer-author a:hover{
    color:#5aa46b; /* zielony kolor używany na stronie */
}
@media (max-width: 720px) {
    .attractions-hero-bg {
        background-image: linear-gradient(
            180deg,
            rgba(7,40,20,0.45),
            rgba(7,40,20,0.75)
        ), url('fotki/palac7.jpg');
    }

    .attractions-hero .section-label,
    .attractions-hero h1,
    .attractions-hero p {
        color: #ffffff !important;
    }
}
.reviews-section {
    background: rgba(255,255,255,0.75);
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}

.reviews-header p {
    color: var(--muted);
    line-height: 1.7;
}

.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.reviews-window {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.stars {
    color: var(--accent);
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.review-card p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.8;
}

.review-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
}

.review-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    flex: 0 0 auto;
}

.review-btn:hover {
    color: #fff;
    background: var(--accent);
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.reviews-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(24,56,39,0.22);
    cursor: pointer;
}

.reviews-dots button.active {
    width: 28px;
    background: var(--accent);
}

@media (max-width: 720px) {
    .reviews-slider {
        gap: 10px;
    }

    .review-card {
        flex: 0 0 100%;
        padding: 28px;
    }

    .review-btn {
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }
}
@media (max-width: 720px) {
    body.home .hero {
        min-height: 58vh;
    }

    body.home .hero-content {
        padding: 72px 0;
        text-align: left;
        max-width: 100%;
    }

    body.home .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 1.05;
        max-width: 12ch;
    }

    body.home .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 95%;
    }

    body.home .hero .btn-primary {
        margin-top: 26px;
        width: min(100%, 340px);
    }

    body.home .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    body.home .card img {
        height: auto;
        max-height: none;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    body.home .features-grid {
        grid-template-columns: 1fr;
    }

    body.home .feature-card {
        min-height: auto;
        padding: 28px;
    }
}

@media (max-width: 420px) {
    body.home .hero-content {
        padding: 62px 0;
    }

    body.home .hero h1 {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }
}

@media (max-width:720px){

body.home .hero-content{
    max-width:520px;
}

body.home .hero .btn-primary{
    display:inline-flex;
}

body.home .hero{
    align-items:center;
}

}
