/* Hotel Kristal Palas – single page site.  Brand: navy #29235c, orange #f07d00 */
:root {
  --navy: #29235c;
  --navy-dark: #1c1842;
  --orange: #f07d00;
  --orange-dark: #d46e00;
  --ink: #23212f;
  --muted: #605d70;
  --line: #e4e2ea;
  --bg: #ffffff;
  --bg-soft: #f6f5f9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 8px 24px rgba(20, 16, 50, .08);
  --header-h: 68px;
  --serif: "PT Serif", Georgia, serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.3em;
  border-radius: 999px; border: 2px solid transparent; font: 500 1rem/1.2 var(--sans); text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f1effa; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .5em 1.05em; font-size: .95rem; }
.btn-lg { padding: .85em 1.6em; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* Preview site banner (preview.kp.mk only) */
.preview-banner { position: sticky; top: 0; z-index: 70; background: #c62828; color: #fff; text-align: center;
  font: 700 .9rem/1.3 var(--sans); padding: .5em 16px; letter-spacing: .02em; }
.preview-banner a { color: #fff; }
.preview-banner ~ .site-header { top: 2.3em; }

/* Notice */
.notice { background: var(--orange); color: #fff; text-align: center; padding: .55em 20px; font-weight: 500; }
.notice a { color: #fff; }
.notice p { margin: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(41, 35, 92, .97); color: #fff;
  backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  font: 700 1.15rem/1.1 var(--serif); margin-right: auto; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: #e7e5f4; text-decoration: none; font-weight: 500; font-size: .97rem; }
.main-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; letter-spacing: .05em;
  border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 6px; padding: .25em .55em; }
.lang:hover { color: #fff; border-color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* Hero */
/* Full window height, minus the sticky header (svh = the visible height on phones) */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Optional YouTube video: covers the hero like a background photo, fades in once it plays */
.hero-video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.2s; container-type: size; }
.hero-video.playing { opacity: 1; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; border: 0; transform: translate(-50%, -50%);
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); }
.scroll-hint { position: absolute; z-index: 1; left: 50%; bottom: 14px; transform: translateX(-50%); color: #fff; opacity: .8;
  animation: bob 2s ease-in-out infinite; }
.scroll-hint .icon { width: 34px; height: 34px; }
.scroll-hint:hover { color: var(--orange); opacity: 1; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28, 24, 66, .15) 0%, rgba(28, 24, 66, .35) 45%, rgba(28, 24, 66, .88) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.5vw, 3.8rem); max-width: 16ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40ch; margin-bottom: .4em; }
.tagline { font-family: var(--serif); font-style: italic; opacity: .9; }
.stars { display: flex; gap: 4px; margin-bottom: 14px; color: var(--orange); }
.stars .star { width: 22px; height: 22px; fill: var(--orange); stroke: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.about-text p { font-size: 1.1rem; color: #3d3a4c; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.highlight { display: flex; gap: 14px; padding: 20px; background: var(--bg-soft); border-radius: var(--radius); }
.highlight .icon { width: 30px; height: 30px; color: var(--orange); }
.highlight h3 { font-size: 1.08rem; margin-bottom: .25em; }
.highlight p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* Rooms */
.rooms { background: var(--bg-soft); }
.room-cat { font-size: 1.35rem; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.room-cat:first-of-type { margin-top: 0; }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.room { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.room-photo { position: relative; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.room-photo:hover img { transform: scale(1.04); }
.photo-count { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 5px;
  background: rgba(20, 16, 50, .72); color: #fff; font-size: .85rem; padding: 3px 9px; border-radius: 999px; }
.photo-count .icon { width: 15px; height: 15px; }
.room-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.room-body h4 { font-size: 1.22rem; margin-bottom: .4em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .92rem; margin-bottom: .7em; }
.chips span { display: inline-flex; align-items: center; gap: 5px; }
.chips .icon { width: 17px; height: 17px; color: var(--orange); }
.room-desc { color: #4a4759; font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.room-details { margin: 0 0 16px; border-top: 1px solid var(--line); margin-top: auto; }
.room-details summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  padding: 12px 0; font-weight: 500; color: var(--navy); list-style: none; }
.room-details summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.room-details summary .icon, .faq-item summary .icon { transition: transform .2s; }
details[open] > summary .icon { transform: rotate(180deg); }
.room-details table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 12px; }
.room-details th, .room-details td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.room-details th { color: var(--muted); font-weight: 400; width: 45%; padding-right: 10px; }
.room-details h5 { margin: 6px 0 8px; font-size: .95rem; color: var(--navy); }
.amenities { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; font-size: .88rem; }
.amenities li { display: flex; gap: 6px; break-inside: avoid; padding: 2px 0; }
.amenities .icon { width: 15px; height: 15px; color: #2f9e5b; margin-top: 4px; }
/* Booking section with the embedded Sirvoy form */
.book { background: var(--navy); color: #e7e5f4; }
.book h2 { color: #fff; }
/* Heading + points in a row above the form; the form gets the full width, because
   Sirvoy's search results are a long list of rooms that only looks good when wide */
.book-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; align-items: center; margin-bottom: 28px; }
.book-head h2 { margin: 0; }
.book-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.book-points li { display: flex; gap: 10px; align-items: flex-start; }
.book-points .icon { color: var(--orange); margin-top: 3px; }
.book-points strong { color: #fff; }
.book-alt { color: #b9b5d6; font-size: .95rem; text-align: center; margin: 18px 0 0; }
.book-alt a { color: #fff; white-space: nowrap; }
.book-alt a:hover { color: var(--orange); }
.book-widget { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px 20px; min-height: 300px; box-shadow: var(--shadow); }
.book-widget iframe { width: 100%; border: 0; display: block; }
.book-widget-plain { display: grid; place-items: center; }
.book-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px;
  padding: 26px 30px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.book-strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.book-strip li { display: flex; gap: 10px; align-items: flex-start; }
.book-strip .icon { color: var(--orange); margin-top: 3px; }
.book-strip strong { color: #fff; }

/* Venues (restaurant, breakfast, events) */
.venue { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.venue-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 32px; }
.venue-wide.reverse .mosaic { order: 2; }
.venue-body { padding: clamp(24px, 4vw, 44px); }
.venue-body h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.venue-body h2 .icon { width: 32px; height: 32px; color: var(--orange); }
.venue-body p { color: #3d3a4c; }
.hours { display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: var(--bg-soft); border-radius: 10px; }
.hours .icon { color: var(--orange); }
.hours p { margin: 0; }
.events-section { background: var(--bg-soft); }
.events-section .venue-wide { margin-bottom: 0; }
.mosaic { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 4px; min-height: 300px; background: #fff; }
.mosaic .tile { position: relative; min-width: 0; min-height: 0; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: #ddd; }
.mosaic .tile:first-child { grid-row: span 2; }
.mosaic .tile:only-child { grid-column: span 2; }
.mosaic .tile:nth-child(2):last-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic .tile:hover img { transform: scale(1.04); }
.mosaic .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20, 16, 50, .55);
  color: #fff; font: 700 1.5rem var(--sans); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0;
  cursor: pointer; font: 700 1.1rem/1.35 var(--serif); color: var(--navy); list-style: none; }
.faq-item summary .icon { color: var(--orange); }
.faq-item > div { padding: 0 0 14px; color: #3d3a4c; }

/* Contact */
.contact { background: var(--navy); color: #e7e5f4; }
.contact h2, .contact h3 { color: #fff; }
.contact a { color: #fff; }
.contact a:hover { color: var(--orange); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-block { display: flex; gap: 16px; margin-top: 26px; }
.contact-block > .icon { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.contact-block h3 { font-size: 1.05rem; margin-bottom: .2em; font-family: var(--sans); }
.contact-block p { margin: 0 0 .3em; }
.phones { display: flex; flex-direction: column; font-size: 1.1rem; }
.emails { list-style: none; margin: 0; padding: 0; }
.emails li { display: flex; flex-wrap: wrap; gap: 0 10px; padding: 2px 0; }
.emails span { color: #b9b5d6; min-width: 190px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: #3a3470; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b9b5d6; padding: 36px 0 20px; font-size: .93rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand strong { color: #fff; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #e7e5f4; display: inline-flex; gap: 6px; align-items: center; }
.copyright { margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* Legal pages */
.page-legal .site-header { position: static; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.3em; }
.legal li { margin-bottom: .4em; }

/* Mobile bottom bar */
.mobile-bar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 10, 30, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; user-select: none; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .icon { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #cfcbe6; font-size: .9rem; }

/* Responsive */
@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .92rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy); padding: 8px 20px 16px; box-shadow: 0 12px 24px rgba(0, 0, 0, .2); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .venue-wide { grid-template-columns: minmax(0, 1fr); }
  .venue-wide.reverse .mosaic { order: 0; }
  .book-strip { flex-direction: column; align-items: stretch; }
  .book-head { grid-template-columns: minmax(0, 1fr); }
  .book-points { grid-template-columns: minmax(0, 1fr); }
  .book-widget { padding: 8px; }
}
@media (max-width: 700px) {
  :root { --header-h: 60px; }
  .wrap { padding: 0 16px; }
  .brand span { font-size: 1rem; }
  .brand img { width: 34px; height: 34px; }
  .header-actions .btn { display: none; }
  /* on phones the Call/Book bar covers the bottom ~70px, so the hero ends above it */
  .hero { min-height: calc(100vh - var(--header-h) - 70px); min-height: calc(100svh - var(--header-h) - 70px); }
  .hero-content { padding-bottom: 52px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .highlights { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: 1fr; }
  .mosaic { min-height: 240px; }
  .emails span { min-width: 0; width: 100%; font-size: .88rem; }
  .map, .map iframe { min-height: 300px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 18px rgba(20, 16, 50, .14); }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar .btn-light { border-color: var(--navy); }
  .page-home .site-footer { padding-bottom: 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
  * { transition: none !important; }
}
