/*
  Bajamonti 5 — čisti statički HTML/CSS paket.
  Bez Reacta, bez klijentskog routera i bez vlastitog JavaScripta.
*/

:root {
  --navy: #111f4a;
  --navy-soft: #344263;
  --ink: #2f3744;
  --muted: #68707c;
  --gold: #c7b478;
  --line: #e1e3e5;
  --mist: #f4f4f3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 400; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.content-frame { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
.site-header { height: 105px; color: #fff; background: var(--navy); }
.site-header--overlay { position: absolute; z-index: 5; inset: 0 0 auto; background: linear-gradient(180deg, rgba(8, 18, 54, .78), rgba(8, 18, 54, 0)); }
.site-header__inner { width: min(1140px, calc(100% - 48px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 105px; height: 105px; display: block; flex: 0 0 auto; background: var(--navy); }
.brand img { width: 100%; height: 100%; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 37px; }
.site-nav a { position: relative; padding: 8px 0; color: rgba(255,255,255,.96); font-size: 13px; font-weight: 400; letter-spacing: .15em; }
.site-nav a::after { content: ""; position: absolute; bottom: 0; left: 0; right: 100%; height: 1px; background: var(--gold); transition: right .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }

.hero { position: relative; z-index: 0; min-height: 530px; height: min(75vw, 730px); display: grid; place-items: center; background: url("../media/bg1.jpg") center 48% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 53, .17), transparent 37%, rgba(10, 24, 53, .07)); }
.hero__title { margin-top: 64px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 7vw, 96px); font-style: italic; font-weight: 400; line-height: 1; text-shadow: 0 2px 16px rgba(0,0,0,.28); }
.hero__scroll { position: absolute; right: max(24px, calc((100vw - 1140px) / 2)); bottom: 30px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.78); color: #fff; font-size: 26px; line-height: 1; }

.section-title { color: var(--navy-soft); font-size: clamp(23px, 2.5vw, 32px); font-weight: 300; letter-spacing: .1em; line-height: 1.35; }
.section-title::after { content: ""; display: block; width: 70px; height: 2px; margin-top: 40px; background: var(--navy); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .86fr); }
.about__copy { width: min(570px, calc(100% - 64px)); margin-left: auto; padding: 104px 84px 92px 0; }
.about__copy p { max-width: 440px; margin: 42px 0 28px; color: #555e6a; font-size: 16px; line-height: 1.75; }
.signature { width: 150px; }
.about__booking { display: grid; place-items: center; padding: 48px; background: var(--mist); }
.booking-embed { width: min(100%, 480px); height: 600px; border: 0; background: #fff; box-shadow: 0 20px 40px rgba(20,31,64,.13); }

.gallery-spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(42vw, 560px); margin-top: 112px; background: #fff; }
.gallery-intro { display: flex; align-items: center; padding: 72px max(24px, calc((100vw - 1140px) / 2)) 72px 48px; }
.gallery-intro__inner { max-width: 440px; margin-left: auto; }
.gallery-intro p { max-width: 440px; margin: 40px 0 0; color: #555e6a; font-size: 16px; line-height: 1.75; }
.gallery-slider { position: relative; min-height: min(42vw, 560px); overflow: hidden; background: var(--navy); }
.gallery-slider__state { position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.gallery-viewport { height: min(42vw, 560px); overflow: hidden; }
.gallery-track { width: 400%; height: 100%; display: flex; transition: transform .48s cubic-bezier(.23, 1, .32, 1); }
.gallery-slide { position: relative; flex: 0 0 25%; height: 100%; overflow: hidden; }
.gallery-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,31,74,.34), transparent 35%, transparent 65%, rgba(17,31,74,.25)); pointer-events: none; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slide__caption { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 13px 18px; border: 1px solid rgba(255,255,255,.8); color: #fff; font-size: 12px; letter-spacing: .18em; }
.slider-controls { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.slider-controls__arrows { position: absolute; left: 20px; right: 20px; top: 50%; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.slider-arrow { width: 42px; height: 42px; display: none; place-items: center; border: 1px solid rgba(255,255,255,.85); color: #fff; background: rgba(17,31,74,.52); font-size: 24px; line-height: 1; cursor: pointer; pointer-events: auto; }
.slider-controls__dots { position: absolute; right: 30px; bottom: 28px; display: flex; gap: 10px; pointer-events: auto; }
.slider-controls__dots label { width: 28px; height: 2px; display: block; background: rgba(255,255,255,.62); cursor: pointer; }
#gallery-control-1:checked ~ .gallery-viewport .gallery-track { transform: translateX(0); }
#gallery-control-2:checked ~ .gallery-viewport .gallery-track { transform: translateX(-25%); }
#gallery-control-3:checked ~ .gallery-viewport .gallery-track { transform: translateX(-50%); }
#gallery-control-4:checked ~ .gallery-viewport .gallery-track { transform: translateX(-75%); }
#gallery-control-1:checked ~ .slider-controls .slider-arrow--1,
#gallery-control-2:checked ~ .slider-controls .slider-arrow--2,
#gallery-control-3:checked ~ .slider-controls .slider-arrow--3,
#gallery-control-4:checked ~ .slider-controls .slider-arrow--4 { display: grid; }
#gallery-control-1:checked ~ .slider-controls label[for="gallery-control-1"],
#gallery-control-2:checked ~ .slider-controls label[for="gallery-control-2"],
#gallery-control-3:checked ~ .slider-controls label[for="gallery-control-3"],
#gallery-control-4:checked ~ .slider-controls label[for="gallery-control-4"] { width: 42px; background: #fff; }

.features { padding: 116px 0 128px; }
.feature { width: min(970px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 68px; align-items: center; }
.feature + .feature { margin-top: 80px; }
.feature--reverse { grid-template-columns: minmax(0, 1fr) 190px; }
.feature--reverse .feature__media { order: 2; }
.feature__media { min-height: 150px; display: grid; place-items: center; padding: 24px; border: 1px solid var(--line); }
.feature__media img { width: 110px; height: 110px; object-fit: contain; }
.feature h2 { margin: 0 0 19px; color: var(--navy); font-size: 15px; font-weight: 500; letter-spacing: .13em; }
.feature p { max-width: 600px; margin: 0; color: #59616d; font-size: 16px; line-height: 1.78; }

.site-footer { background: #f1f2f3; }
.site-footer__inner { width: min(1140px, calc(100% - 48px)); min-height: 72px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: #56606b; font-size: 13px; }
.site-footer a { color: var(--navy); font-size: 12px; letter-spacing: .05em; }
.site-footer__divider { width: 1px; height: 14px; background: #c5c7cb; }

.page-intro { padding: 78px 24px 55px; text-align: center; }
.page-intro h1 { margin: 0; color: var(--navy-soft); font-size: clamp(24px, 3vw, 34px); font-weight: 300; letter-spacing: .1em; }
.room-section { padding: 42px 0 86px; }
.room-section--alt { background: #fafafa; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 45px; }
.room-grid a { position: relative; display: block; aspect-ratio: 1.42 / 1; overflow: hidden; background: #e8e8e8; }
.room-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.room-grid a:hover img { transform: scale(1.04); }

.contact-page { padding-bottom: 116px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-card { min-height: 238px; padding: 26px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid #dde0e4; }
.contact-card img { width: 72px; height: 72px; object-fit: contain; }
.contact-card h2 { margin: 17px 0 20px; color: var(--navy); font-size: 16px; font-weight: 500; letter-spacing: .07em; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.contact-map-section { margin-top: 80px; padding: 72px 0; background: var(--mist); border-block: 1px solid rgba(199,180,120,.22); }
.contact-map-section h2 { margin: 0; color: var(--navy); font-size: 18px; font-weight: 500; letter-spacing: .12em; }
.contact-map-section h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 18px; background: var(--gold); }
.contact-map-section p { margin: 14px 0 28px; color: #59616d; font-size: 16px; }
.contact-map { width: 100%; height: 430px; border: 1px solid #d9dde2; background: #fff; box-shadow: 0 17px 35px rgba(20,31,64,.08); }
.inquiry-section { margin-top: 106px; }
.inquiry-section__intro { margin: 42px 0 30px; color: #626b77; font-size: 16px; line-height: 1.7; }
.inquiry-form { padding: 40px 46px 46px; border-top: 2px solid var(--gold); background: linear-gradient(90deg, rgba(244,244,243,.84), #fff 32%, #fff 68%, rgba(244,244,243,.84)); box-shadow: 0 18px 36px rgba(20,31,64,.045); }
.inquiry-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.inquiry-form label { display: block; }
.inquiry-form label > span { display: block; margin-bottom: 8px; color: #38445c; font-size: 13px; letter-spacing: .03em; }
.inquiry-form input, .inquiry-form textarea { width: 100%; border: 1px solid #d8dce1; border-radius: 0; color: var(--ink); background: #fff; }
.inquiry-form input { height: 43px; padding: 9px 11px; }
.inquiry-form textarea { min-height: 170px; padding: 11px; resize: vertical; }
.inquiry-form__message { margin-top: 24px; }
.inquiry-form button { margin-top: 22px; padding: 13px 24px; border: 1px solid var(--navy); color: #fff; background: var(--navy); font-size: 12px; letter-spacing: .12em; }

@media (max-width: 760px) {
  body { font-size: 18px; }
  .content-frame, .site-header__inner, .site-footer__inner { width: min(100% - 36px, 560px); }
  .site-header, .site-header__inner { height: auto; min-height: 82px; }
  .site-header__inner { align-items: flex-start; }
  .brand { width: 82px; height: 82px; }
  .site-nav { min-height: 82px; gap: 15px; align-items: center; }
  .site-nav a { font-size: 10px; letter-spacing: .1em; }
  .hero { min-height: 560px; height: 88vh; background-position: 52% center; }
  .hero__title { margin-top: 36px; font-size: clamp(45px, 14vw, 70px); text-align: center; }
  .about { grid-template-columns: 1fr; }
  .about__copy { width: min(100% - 36px, 560px); margin: 0 auto; padding: 80px 0 67px; }
  .about__booking { padding: 36px 18px; }
  .booking-embed { width: 100%; }
  .gallery-spotlight { grid-template-columns: 1fr; min-height: 0; margin-top: 0; }
  .gallery-intro { display: block; padding: 78px 18px 41px; }
  .gallery-intro__inner { width: min(100%, 560px); margin: 0 auto; }
  .section-title::after { margin-top: 25px; }
  .gallery-slider, .gallery-viewport { min-height: 78vw; height: 78vw; }
  .slider-controls__arrows { left: 14px; right: 14px; }
  .slider-controls__arrows a { width: 36px; height: 36px; }
  .slider-controls__dots { right: 15px; bottom: 16px; gap: 7px; }
  .slider-controls__dots label { width: 20px; }
  #gallery-control-1:checked ~ .slider-controls label[for="gallery-control-1"],
  #gallery-control-2:checked ~ .slider-controls label[for="gallery-control-2"],
  #gallery-control-3:checked ~ .slider-controls label[for="gallery-control-3"],
  #gallery-control-4:checked ~ .slider-controls label[for="gallery-control-4"] { width: 28px; }
  .features { padding: 76px 0 86px; }
  .feature, .feature--reverse { width: min(100% - 36px, 560px); grid-template-columns: 1fr; gap: 27px; }
  .feature--reverse .feature__media { order: 0; }
  .feature + .feature { margin-top: 62px; }
  .feature__media { min-height: 127px; }
  .page-intro { padding: 60px 18px 43px; }
  .room-section { padding: 31px 0 61px; }
  .room-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 31px; }
  .contact-cards { grid-template-columns: 1fr; gap: 14px; }
  .contact-card { min-height: 210px; }
  .contact-map-section { margin-top: 54px; padding: 55px 0; }
  .contact-map { height: 360px; }
  .inquiry-section { margin-top: 72px; }
  .inquiry-form { padding: 28px 20px 30px; }
  .inquiry-form__grid { grid-template-columns: 1fr; gap: 18px; }
  .site-footer__inner { padding: 22px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-footer__divider { display: none; }
}
