/* Apolon – statička verzija
   Boje preuzete iz pageStructure/apolon.json:
   primary: #150D09 (tamno smeđa / crna)
   secondary: #FFFFFF
   tertiary: #9A6A5B (brončana / terracotta)
*/
:root {
  --primary: #150D09;
  --secondary: #FFFFFF;
  --tertiary: #9A6A5B;
  --tertiary-dark: #7a5346;
  --bg-soft: #f6f1ec;
  --border: #e6ddd5;
  --text: #150D09;
  --text-muted: #6b5d55;
  --shadow-sm: 0 2px 8px rgba(21,13,9,.06);
  --shadow-md: 0 10px 30px rgba(21,13,9,.12);
  --radius: 8px;
  --container: 1200px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--secondary);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tertiary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tertiary-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.align-center { text-align: center; }
section { padding: 70px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s;
  font-family: var(--font-body);
  text-align: center;
}
.btn-primary { background: var(--tertiary); color: #fff; }
.btn-primary:hover { background: var(--tertiary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-book { background: var(--tertiary); color: #fff; padding: 10px 18px; font-size: 13px; }
.btn-book:hover { background: var(--tertiary-dark); color: #fff; }

.text-link {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tertiary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ===== Navbar ===== */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 20px 0;
}
.navbar.transparent { background: transparent; }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo img { height: 52px; width: auto; }
.nav-links ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px;
}
.nav-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--tertiary); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--tertiary);
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 3px;
}
.lang-switch:hover { color: var(--tertiary); border-color: var(--tertiary); }
.hamburger {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span { width: 26px; height: 2px; background: #fff; }

body.page-privacy-policy .navbar { position: relative; background: var(--primary); }
body.page-privacy-policy .navbar .logo img { filter: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  padding: 0;
  margin-bottom: 0;
}
.hero-full { min-height: 100vh; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(21,13,9,.45) 0%, rgba(21,13,9,.15) 50%, rgba(21,13,9,.55) 100%);
}
.hero-content { position: relative; text-align: center; z-index: 1; padding: 140px 24px 80px; }
.hero-title {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: .02em;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  margin: 0;
}

/* ===== Text heading ===== */
.text-heading { padding: 80px 0 40px; }
.text-heading .eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--tertiary);
  margin-bottom: 18px;
}
.text-heading .heading { color: var(--tertiary); }
.text-heading .lead { font-size: 17px; max-width: 820px; margin: 20px auto 0; color: var(--text-muted); }
.text-heading.align-start { text-align: left; }
.text-heading.align-start .lead { margin-left: 0; }

/* ===== Cred claim ===== */
.cred-claim { padding: 50px 0; }
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 820px; margin: 0 auto;
}
.cred-item { text-align: center; padding: 20px; }
.cred-icon { height: 64px; width: auto; margin: 0 auto 16px; }
.cred-item h3 { color: var(--tertiary); }
.cred-item p { color: var(--text-muted); font-size: 15px; }

/* ===== Card text (home rooms preview) ===== */
.card-text .section-head {
  margin-bottom: 50px;
}
.card-text .section-head h2 { color: var(--tertiary); margin-bottom: 12px; }
.card-text .section-head p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img {
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card-body p { color: var(--text-muted); font-size: 15px; flex: 1; }
.card-link {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; margin-top: 14px; align-self: flex-start;
}
.section-cta { text-align: center; margin-top: 40px; }

/* ===== Text break (image background) ===== */
.text-break {
  position: relative;
  background-size: cover; background-position: center;
  padding: 120px 0;
  color: #fff;
}
.text-break-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(21,13,9,.55), rgba(21,13,9,.55));
}
.text-break-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  text-align: center;
}
.tb-item h3 { color: #fff; font-size: 2.2rem; margin-bottom: 8px; }
.tb-item p { color: rgba(255,255,255,.9); }

/* ===== Text break v3 ===== */
.text-break-3 { padding: 50px 0; }
.text-break-3 .lead {
  max-width: 760px;
  margin: 20px auto;
  color: var(--text-muted);
  font-size: 17px;
}
.tb3-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ===== Image + Text ===== */
.image-text .it-grid, .image-text.reverse .it-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.image-text.reverse .it-grid { direction: rtl; }
.image-text.reverse .it-grid > * { direction: ltr; }
.it-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.it-text h2, .it-text h1 { margin-bottom: 20px; color: var(--primary); }
.it-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 18px; }
.it-text .text-link { margin-top: 8px; }

/* ===== Image + text gallery ===== */
.image-text-gallery .container > .itg-text {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.image-text-gallery .itg-text h2 { color: var(--tertiary); }
.image-text-gallery .itg-text p { color: var(--text-muted); }
.itg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.itg-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===== Reviews ===== */
.reviews { padding-top: 30px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.review blockquote {
  margin: 0 0 16px;
  font-style: italic;
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}
.review cite {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--tertiary);
}

/* ===== Map ===== */
.map .container { padding-top: 0; }
.map iframe { box-shadow: var(--shadow-sm); }
.map-link { margin-top: 12px; font-size: 13px; color: var(--text-muted); }

/* ===== Contact form ===== */
.contact-form { padding: 80px 0; }
.cf-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 50px;
}
.cf-left h2 { color: var(--tertiary); margin-bottom: 24px; }
.cf-left form { display: flex; flex-direction: column; gap: 14px; }
.cf-left input, .cf-left textarea {
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  transition: border-color .2s;
}
.cf-left input:focus, .cf-left textarea:focus {
  outline: none;
  border-color: var(--tertiary);
}
.cf-left textarea { resize: vertical; min-height: 120px; }
.cf-left button { align-self: flex-start; margin-top: 4px; }
.cf-right { display: flex; flex-direction: column; gap: 24px; }
.cf-info h4 {
  color: var(--tertiary);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 6px;
}
.cf-info p { color: var(--text); margin: 0; }

/* ===== FAQ ===== */
.faq { padding: 60px 0; }
.faq h2 { text-align: center; margin-bottom: 30px; color: var(--tertiary); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item[open] { background: #fff; box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--tertiary);
  transition: transform .3s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 22px 18px; color: var(--text-muted); }
.faq-a p { margin: 0; }

/* ===== Info cards (accommodation page) ===== */
.info-cards { padding: 50px 0; }
.ic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ic-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.ic-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ic-body h3 { color: var(--primary); margin-bottom: 10px; }
.ic-body-txt { color: var(--text-muted); font-size: 14.5px; flex: 1; }
.ic-info {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: 14px 0 18px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.info-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.info-row svg { color: var(--tertiary); flex-shrink: 0; }

/* ===== Detailed Info (accordion) ===== */
.detailed-info { padding: 40px 0; }
.detailed-info .di-title {
  text-align: center;
  color: var(--tertiary);
  margin-bottom: 24px;
}
.accordion { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.accordion-item summary {
  padding: 16px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "→";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%) rotate(0); transition: transform .3s;
  color: var(--tertiary);
}
.accordion-item[open] summary::after { transform: translateY(-50%) rotate(90deg); }
.accordion-body { padding: 0 22px 18px; color: var(--text-muted); }
.accordion-body p { margin: 0 0 6px; }

/* ===== Gallery ===== */
.gallery { padding: 40px 0 80px; }
.gallery .section-head { margin-bottom: 30px; }
.gallery .section-head h2 { color: var(--tertiary); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.gal-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: block;
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.gal-item:hover img { transform: scale(1.06); }

/* ===== Room detail ===== */
.room-detail { padding: 70px 0; }
.room-info-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding: 20px; margin-bottom: 30px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  justify-content: center;
}
.room-info-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text);
}
.room-info-item svg { color: var(--tertiary); }
.room-paragraphs { max-width: 820px; margin: 0 auto 40px; }
.room-paragraphs p { margin-bottom: 20px; color: var(--text); font-size: 16px; }
.room-detail h2 { text-align: center; color: var(--tertiary); margin-top: 40px; }
.room-cta { text-align: center; margin-top: 40px; }

/* ===== Privacy policy ===== */
.privacy { padding: 60px 0; }
.privacy h1 { color: var(--tertiary); text-align: center; margin-bottom: 40px; }
.pp-section { max-width: 860px; margin: 0 auto 30px; }
.pp-section h3 { color: var(--primary); margin-bottom: 14px; font-size: 1.3rem; }
.pp-section p, .pp-section li { color: var(--text); line-height: 1.7; }
.pp-section ul { padding-left: 20px; }
.pp-section li { margin-bottom: 6px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: var(--tertiary);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
  margin-bottom: 16px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list li, .footer-list a {
  color: rgba(255,255,255,.85); font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}
.footer-list a:hover { color: var(--tertiary); }
.footer-list svg { color: var(--tertiary); flex-shrink: 0; }
.social-row { display: flex; gap: 12px; }
.social-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  transition: all .2s;
}
.social-icon:hover { background: var(--tertiary); border-color: var(--tertiary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.footer-bottom p { margin: 0; }

/* ===== Cookie bar ===== */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  z-index: 100;
  padding: 18px 0;
}
.cookie-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-txt { flex: 1; min-width: 300px; }
.cookie-txt h4 { margin: 0 0 6px; font-size: 15px; color: var(--primary); }
.cookie-txt p { margin: 0; font-size: 13px; color: var(--text-muted); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btns .btn { font-size: 12px; padding: 10px 18px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .hamburger { display: flex; }
  .navbar.open .nav-links,
  .navbar.open .nav-right {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .navbar.open .nav-links ul { flex-direction: column; gap: 14px; }
  .it-grid { grid-template-columns: 1fr !important; gap: 30px; direction: ltr !important; }
  .cf-grid { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 50px 0; }
  .hero-content { padding: 120px 24px 60px; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .cards-grid, .ic-grid, .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .itg-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
