/* Gea.co — standalone rebuild of the Weebly "sidebar" theme.
   Colors/fonts follow the Weebly design options captured from the editor. */

@font-face {
  font-family: "Crimson Text";
  src: url(../fonts/crimson-text-latin-ext-400-normal.woff2) format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Crimson Text";
  src: url(../fonts/crimson-text-latin-400-normal.woff2) format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sidebar: 260px;
  --ink: #000;
  --ink-2: #2a2a2a;
  --ink-3: #3f3f3f;
  --muted: #666;
  --line: rgba(0, 0, 0, .12);
  --red-dark: #a82e2e;   /* phone, akcije */
  --red: #c23b3b;        /* naslovi/linkovi u crvenoj */
  --red-bright: #e00606; /* cene */
  --blue: #0e00f6;       /* "NEW LINE" */
  --blue-2: #1150b9;
  --teal: #24678d;
  --brown: #8d2424;
  --pink: #ff6666;
  --body: Arial, Helvetica, sans-serif;
  --title: "Crimson Text", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.75 var(--body); letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .7; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Sidebar / header ---------- */
.sidebar { position: absolute; top: 0; left: 0; width: var(--sidebar); min-height: 100vh; padding: 40px; background: #fff; z-index: 12; }
.topbar { margin: 0 auto 30px; }
.hamburger { display: none; }
.logo { display: block; font: 400 21px/1.15 var(--title); color: #000; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 0; font: 700 15px/1.25 var(--body); letter-spacing: .05em; color: #000; }
.nav .has-sub { display: grid; grid-template-columns: 1fr auto; align-items: start; }
.nav .has-sub > ul { grid-column: 1 / -1; padding-left: 5px; max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.nav .has-sub.open > ul { max-height: 600px; }
.nav .has-sub > ul a { font-weight: 400; color: rgba(0, 0, 0, .55); font-size: 14px; }
.caret { width: 28px; height: 38px; border: 0; background: none; cursor: pointer; padding: 0; color: rgba(0, 0, 0, .55); }
.caret::before { content: ""; display: block; width: 6px; height: 6px; margin: 0 auto; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; }
.open > .caret::before { transform: rotate(-135deg); }
.side-contact { margin: 0; padding-top: 40px; font: 15px/1.5 var(--body); color: var(--red-dark); }
.side-contact::before { content: ""; display: block; width: 60%; padding-bottom: 40px; border-top: 1px solid rgba(0, 0, 0, .2); }

.wrapper { padding-left: var(--sidebar); }

/* ---------- Hero (header section) ---------- */
.hero { height: 700px; background: url(../../uploads/4/3/7/6/4376250/background-images/831555599.jpeg) center / cover no-repeat; display: flex; align-items: center; }
.hero-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 60px 40px; }
.hero hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .6); margin: 80px 0 0; }

/* ---------- Content ---------- */
.content { max-width: 1200px; margin: 0 auto; padding: 40px; text-align: center; overflow-wrap: anywhere; }
.content > img, .content > a > img, .cols img, .content a.bord > img, aside > img, aside > a > img { display: block; margin: 10px auto 20px; }
.content > a, aside > a { display: block; }
.content p { margin: 0 auto 30px; }
.content p.tight { margin-top: -20px; }
.content h2 { font: 400 30px/1.25 var(--body); letter-spacing: .03em; margin: 0 auto 20px; }
.content h2.norm { font-size: 16px; line-height: 1.6; }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.content hr.sp-big { margin-top: 100px; }
.sp-t { margin-top: 50px !important; }
.sp-b { margin-bottom: 50px !important; }
.tl { text-align: left; }
.tj { text-align: justify; }
.al-l { text-align: left; } .al-l img { margin-left: 0 !important; }
.al-r { text-align: right; } .al-r img { margin-right: 0 !important; }
.flags img { display: inline-block !important; }
img.framed-1 { border: 1px solid #ccc; padding: 3px; }

/* Legacy <font size=N> equivalents */
.f1 { font-size: 10px !important; } .f2 { font-size: 13px !important; } .f3 { font-size: 16px !important; }
.f4 { font-size: 18px !important; } .f5 { font-size: 24px !important; } .f6 { font-size: 32px !important; }
.f7 { font-size: 48px !important; line-height: 1.15; }

/* Text colors */
.r { color: var(--red-bright); } .rd, .rd0 { color: var(--red-dark); } .rm { color: var(--red); }
.g { color: var(--ink-3); } .dk { color: var(--ink-2); } .muted { color: var(--muted); }
.bl { color: var(--blue); } .blu { color: var(--blue-2); } .tl2 { color: var(--teal); } .br { color: var(--brown); } .pink { color: var(--pink); }
.rd0 { color: #ad0606; }
.p { color: var(--red-bright); font-weight: 700; }

/* Image borders (Weebly "thin" / "medium" / "hairline") */
.bord > img, img.bord { border: 2px solid #ddd; }
.bord-md > img { border-width: 4px; }
img.bord-dk { border: 1px solid #000; }

/* Buttons */
.btn { display: inline-block; padding: 15px 32px; background: #000; color: #fff; font: 400 14px/1 var(--body); letter-spacing: .15em; border: 0; cursor: pointer; transition: background .3s; }
.btn:hover { background: #4d4d4d; opacity: 1; }

/* Social */
.social { display: flex; justify-content: center; gap: 12px; margin: 10px auto 20px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; color: #000; }
.social svg { width: 22px; height: 22px; }
.social-row { display: flex; align-items: center; gap: 16px; justify-content: flex-start; margin-bottom: 30px; }
.social-row img { display: block; margin: 0 !important; }

/* Columns (Weebly multicol) */
.cols { display: grid; gap: 0 30px; align-items: start; }
.c2 { grid-template-columns: 1fr 1fr; }
.c3 { grid-template-columns: repeat(3, 1fr); }
.c52 { grid-template-columns: 52fr 48fr; }
.c67 { grid-template-columns: 67fr 33fr; }
.cols > * { min-width: 0; }
.small-list p { font-size: 10px; line-height: 1.6; }

/* About block */
.about { text-align: left; }
.about p { text-align: justify; }
.about dl { margin: 0 0 30px; }
.about dt { font-weight: 700; color: #f00; }
.about dt a { color: #f00; }
.about dd { margin: 0 0 4px; font-weight: 700; }
.about dt:not(:has(a)) { color: #f00; }

/* Blocks converted from the other Weebly pages (tools/convert_weebly.py) */
/* subpage banners have text baked into the image: keep its proportions so nothing is cropped */
.hero.sub { height: auto; aspect-ratio: var(--ar, 1366 / 768); max-height: 700px; background-position: center; background-size: cover; background-repeat: no-repeat; }
.content .paragraph { margin: 0 auto 20px; }
.content h3, .content h4 { font: 700 18px/1.4 var(--body); margin: 0 auto 16px; }
.content .img, .content figure { margin: 0; }
.content .img img, .content figure img, .content .paragraph img, .content h2 img { display: block; margin: 10px auto 20px; }
.content .img > a, .content figure > a { display: block; }
.content figcaption { font-size: 90%; margin: -10px 0 20px; }
.al-l.img img, figure.al-l img { margin-left: 0; }
.al-r.img img, figure.al-r img { margin-right: 0; }
.cols > div > a { display: block; }
.sp { overflow: hidden; }
.content ul, .content ol { text-align: left; display: inline-block; margin: 0 auto 20px; }
.content table { margin: 0 auto 20px; border-collapse: collapse; }
.content td, .content th { padding: 4px 8px; vertical-align: top; }
.file a { text-decoration: underline; }

/* Galleries */
.gallery { display: grid; gap: 10px; margin: 20px 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.gallery > a { display: block; overflow: hidden; aspect-ratio: var(--ar, auto); }
.g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); } .g6 { grid-template-columns: repeat(6, 1fr); }
.gallery > figure { margin: 0; }
.gallery > figure > a { display: block; overflow: hidden; aspect-ratio: var(--ar, auto); }
.gallery figcaption { font-size: 90%; line-height: 1.4; margin: 6px 0 0; }
.gallery.framed > figure > a { border: 1px solid #ccc; padding: 3px; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.r43 > a { aspect-ratio: 4 / 3; }
.r11 > a { aspect-ratio: 1; }
.gallery.contain img { object-fit: contain; }
.gallery.framed > a { border: 1px solid #ccc; padding: 3px; }

/* Slideshow */
.slideshow { margin: 20px auto; max-width: 900px; }
.slides { position: relative; height: 673px; background: #fff; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; margin: 0; opacity: 0; transition: opacity .5s; }
.slides img.on { opacity: 1; }
.ss-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.ss-prev { left: 0; } .ss-next { right: 0; }
.thumbs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.thumbs button { width: 70px; height: 70px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; }
.thumbs button[aria-current="true"] { border-color: #000; opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* YouTube (click to load, no third-party request before consent) */
.video { position: relative; max-width: 853px; aspect-ratio: 16 / 9; margin: 20px auto; background: #111; }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { background: #111; color: #fff; font: 15px/1.4 var(--body); cursor: pointer; }
.video button span { display: block; font-size: 48px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(255, 255, 255, .95); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button { position: fixed; border: 0; background: rgba(0, 0, 0, .6); color: #fff; width: 48px; height: 48px; font-size: 32px; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

/* Contact form (replacement for POWR widget) */
.contact-form { max-width: 520px; margin: 30px auto; text-align: left; display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.contact-form input, .contact-form textarea { font: 16px/1.4 var(--body); padding: 10px 14px; border: 0; background: #f1f1f1; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { background: #e5e5e5; outline: 2px solid #000; }
.form-note { font-size: 14px; color: #555; margin: 0 !important; }
.contact-form .btn { justify-self: start; }
.form-status { padding: 10px 14px; background: #eef7ee; margin: 0 !important; }
.form-status.err { background: #fbeaea; }

/* Review mode: add ?pregled to the URL to highlight content that needs confirmation */
.review .p, .review .promo, .review .avail, .review .hours, .review .tbc { outline: 3px dashed #ff8c00; outline-offset: 2px; background: #fff3d6; }
.review a.ext { outline: 3px dashed #0a7cff; outline-offset: 2px; }
.review-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: #222; color: #fff; font: 13px/1.4 var(--body); padding: 8px 16px; }
.review-bar b { color: #ffb84d; } .review-bar i { color: #7db8ff; font-style: normal; font-weight: 700; }

/* ---------- Tablet / mobile (Weebly theme breakpoint: 1024px) ---------- */
@media (max-width: 1024px) {
  .sidebar { position: sticky; top: 0; width: 100%; min-height: 0; padding: 5px 16px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .topbar { display: flex; align-items: center; gap: 12px; min-height: 40px; margin: 0; }
  .logo { flex: 1; text-align: center; font-size: 18px; line-height: 1.2; padding-right: 42px; }
  .hamburger { display: block; width: 30px; height: 30px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; z-index: 14; }
  .hamburger span:first-child, .hamburger span:first-child::before, .hamburger span:first-child::after { position: absolute; left: 4px; width: 22px; height: 2px; background: #000; content: ""; transition: transform .2s, background .2s; }
  .hamburger span:first-child { top: 14px; }
  .hamburger span:first-child::before { left: 0; top: -7px; } .hamburger span:first-child::after { left: 0; top: 7px; }
  .nav-open .hamburger span:first-child { background: transparent; }
  .nav-open .hamburger span:first-child::before { top: 0; transform: rotate(45deg); }
  .nav-open .hamburger span:first-child::after { top: 0; transform: rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: 13; background: #fff; overflow-y: auto; padding: 60px 20px 40px; text-align: center; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .nav-open .nav { visibility: visible; opacity: 1; }
  .nav-open { overflow: hidden; }
  .nav a { padding: 8px 0; font-size: 16px; }
  .nav .has-sub { grid-template-columns: 28px 1fr 28px; }
  .nav .has-sub > a { grid-column: 2; }
  .nav .has-sub > .caret { grid-column: 3; }
  .side-contact { padding-top: 24px; }
  .side-contact::before { margin: 0 auto; padding-bottom: 24px; }
  .wrapper { padding-left: 0; }
  .hero { height: auto; aspect-ratio: 1366 / 768; } /* show the whole banner (text is part of the image) */
  .hero-inner { display: none; }
  .content { padding: 30px 20px; }
  .hero.sub { aspect-ratio: var(--ar, 1366 / 768); }
}

@media (max-width: 767px) {
  .cols:not(.keep) { grid-template-columns: 1fr; }
  .g3, .g4, .g5, .g6 { grid-template-columns: repeat(2, 1fr); }
  .cols[style] { grid-template-columns: 1fr !important; }
  .content h2 { font-size: 22px; }
  .f7 { font-size: 34px !important; }
  .f6 { font-size: 26px !important; }
  .slides { height: 70vw; }
  .social-row { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .content { padding: 24px 16px; }
  .sidebar { padding: 5px 16px; }
  .btn { padding: 14px 22px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
