*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --header-offset: 90px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: #111;
  background: #ffffff;
}

body.no-scroll {
  overflow: hidden;
}

[id] {
  scroll-margin-top: var(--header-offset);
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 170, 225, 0.35);
  border-radius: 10px;
}

.btn-primary:focus-visible,
.contact-submit:focus-visible {
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.35);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 2001;
  text-decoration: none;
}

.skip-link:focus {
  left: 10px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  /* backdrop-filter: blur(2px);*/
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  padding: 1rem 1rem;
}

.brand a {
  font-family: "Roboto Slab", serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

.site-header.scrolled .brand a {
  color: #111111;
}

.main-nav {
  margin-left: auto;
}
.site-header .main-nav > ul > li > a:hover,
.site-header .main-nav > ul > li > .dropdown-toggle:hover {
  color: #f44336 !important;
}
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
}

.main-nav > ul > li {
  position: relative;
}

/* NAV text: smaller + ALL CAPS look */
.main-nav > ul > li > a,
.main-nav > ul > li > .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.3s ease;

  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-header.scrolled .main-nav > ul > li > a,
.site-header.scrolled .main-nav > ul > li > .dropdown-toggle {
  color: #111111;
}

.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle .arrow {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.dropdown.open > .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  pointer-events: none;
  background: transparent;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.75rem 0;
  min-width: 100%;
  width: max-content;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
  z-index: 2000;
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  color: #111;
  text-decoration: none;
  white-space: nowrap;

  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dropdown-menu a:hover {
  background: #25aae1;
  color: #ffffff;
}
/* active language in nav dropdown */
.dropdown-menu .lang-current {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: #f44336;          /* brand orange */
  font-weight: 600;
  cursor: default;
}

/* no hover effect */
.dropdown-menu .lang-current:hover {
  background: transparent;
}
.dropdown.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  max-height: 500px;
  pointer-events: auto;
}

/* sakri tekst */
.nav-contact-text {
  display: none;
}
/* MOBILE HAMBURGER */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  width: 28px;
  height: 22px;
}

.nav-toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
}

.nav-toggle-bar:nth-child(1) {
  top: 0;
}
.nav-toggle-bar:nth-child(2) {
  top: 10px;
}
.nav-toggle-bar:nth-child(3) {
  top: 20px;
}

.site-header.scrolled .nav-toggle-bar {
  background: #111;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* HERO */
.hero {
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/bg/simuni-panorama.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  color: #ffffff;
}

@supports (background-image: url("assets/bg/simuni-panorama.webp")) {
  .hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("assets/bg/simuni-panorama.webp");
  }
}

.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  font-family: "Roboto Slab", serif;
  font-size: 3.6rem;
  line-height: 1.12;
  margin: 0 0 2rem;
}

.hero-content p {
  font-size: 1.20rem;
  font-weight: 300;
  margin: 0 0 2.2rem;
  line-height: 1.55;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 0.95rem 2rem;
  background: #f44336;
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #d7372d;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* SECTIONS */
.content-section {
  padding: 4rem 0;
  background: #ffffff;
}

.content-section:nth-of-type(even) {
  background: #f9fafb;
}

.content-section h2 {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
}


/* OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
  transition: opacity 0.25s ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ABOUT */
.about-wrapper {
  display: block;
}

.about-text {
  max-width: 700px;
}

.about-photo {
  margin-top: 2.5rem;
}

.about-photo picture,
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.4rem;
}

.service-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(17, 17, 17, 0.04);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #e8f2fb;
  border: 1px solid #c4d9f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* NOTE: services icons are your custom SVGs; keep fill-based */
.service-icon {
  width: 26px;
  height: 26px;
  display: block;
  fill: #1e88e5;
  transition: fill 0.2s ease, transform 0.2s ease;
}

.service-item:hover .service-icon {
  fill: #1565c0;
  transform: translateY(-1px);
}

.service-item h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.service-item p {
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0;
}

.service-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* APARTMENTS GRID */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.2rem;
}

.apartment-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.apartment-image-link {
  display: block;
}

.apartment-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.apartment-body {
  padding: 1.5rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.apartment-body h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.1rem;
  margin: 0;
}

.apartment-body p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.apartment-cta {
  margin-top: 0.4rem;
  align-self: flex-start;
  font-size: 0.9rem;
  text-decoration: none;
  color: #f44336;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.apartment-cta:hover {
  text-decoration: underline;
}

/* REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.review-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.55;
}

.review-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.2rem;
}

.review-author {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
}

.google-reviews-link {
  text-align: center;
  margin-top: 2.5rem;
}

.google-reviews-link a {
  color: #25aae1;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
}

.google-reviews-link a:hover {
  text-decoration: underline;
}

/* CONTACT */
.contact-wrapper {
  max-width: 760px;
  margin: 0;
}

.contact-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 1.8rem;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.contact-direct-item {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777;
  margin-bottom: 0.1rem;
}

.contact-link {
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  color: #111;
}

.contact-link:hover {
  color: #25aae1;
}

.contact-card {
  margin-top: 1rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 1.8rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: left;
}

.contact-form {
  margin-top: 0.5rem;
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field.minimal-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

.form-field.minimal-field label {
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #111;
  margin-bottom: 0.4rem;
}

.form-field.minimal-field input,
.form-field.minimal-field textarea {
  font-family: "Roboto", sans-serif;
  font-size: 0.96rem;
  border: none;
  border-bottom: 1px solid #25aae1;
  border-left: 1px solid #f5f5f5;    
  border-top: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
  padding: 0.55rem 0.7rem;
  outline: none;
  background: transparent;
  border-radius: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field.minimal-field input::placeholder,
.form-field.minimal-field textarea::placeholder {
  color: #777;
  font-weight: 300;
}

.form-field.minimal-field input:focus,
.form-field.minimal-field textarea:focus {
  border-bottom-color: #f44336;
  border-left-color: #f44336;
  box-shadow: 0 0 0 1px rgba(244, 67, 54, 0.25);
}

.form-field.minimal-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.95rem 2rem;
  background: #f44336;
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
  background: #d7372d;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.contact-submit:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.35);
}

/* HOUSE PHOTO */
#house-photo {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-photo {
  margin: 0;
  text-align: left;
}

.hero-photo picture {
  display: block;
}

.hero-photo img {
  display: block;
  max-width: 100%;
  width: 100%;
  margin: 0;
  border-radius: 20px;
  object-fit: cover;
}

.hero-photo figcaption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: #555;
  text-align: left;
}

/* NAV ICONS – single source of truth (Tabler-style) */
.nav-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  margin-right: 0.55rem;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon-only > a {
  padding: 0.75rem 0.9rem !important;
}

.nav-icon-only .nav-icon {
  margin-right: 0;
}

.dropdown-menu .nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-right: 0.7rem;
}

/* RESPONSIVE */
@media (min-width: 1025px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    max-height: 500px;
    pointer-events: auto;
  }

  .dropdown:hover > .dropdown-toggle .arrow {
    transform: rotate(180deg);
  }
  .nav-contact-text {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }

  .apartments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Language dropdown: align current language same as links */
  .dropdown-menu .lang-current {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.7rem 1.5rem 0.7rem 3rem; /* isti kao .dropdown-menu a */
    text-align: left;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-item {
    padding: 1.4rem 1.3rem 1.3rem;
    border-radius: 12px;
  }

  .apartments-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .apartment-body {
    padding: 1.3rem 1.2rem 1.2rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }

  .nav-inner {
    padding: 1.3rem 1rem;
  }

  .brand a {
    font-size: 1.5rem;
  }

  .nav-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.85);
    transform-origin: center;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: 0;
    width: 66.666vw;
    height: calc(100vh - 70px);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 1.5rem 0;
    z-index: 999;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  }

  .main-nav.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .main-nav > ul > li {
    width: 100%;
    text-align: left;
  }

  .main-nav > ul > li > a,
  .main-nav > ul > li > .dropdown-toggle {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
    color: #111111 !important;
    font-size: 1rem;
    letter-spacing: 0.07em;
    padding: 0.8rem 1.5rem;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0.2rem 0 0.6rem 0;
    min-width: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    opacity: 1;
    transform: none;
    visibility: visible;
    max-height: none;
    pointer-events: auto;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.7rem 1.5rem 0.7rem 3rem;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.07em;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .contact-wrapper {
    max-width: 100%;
  }

  .contact-card {
    padding: 1.5rem 1.3rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  }

  .form-row-inline {
    grid-template-columns: 1fr;
  }

  #house-photo {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-photo img {
    border-radius: 16px;
  }

  .hero-photo figcaption {
    font-size: 0.9rem;
  }

  /* nav icon size on mobile */
  .nav-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-right: 0.5rem;
  }

  .nav-icon-only > a {
  justify-content: flex-start;
  padding-left: 1.5rem !important;
  }
.nav-contact-text {
  display: inline-block;
  margin-left: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
  .nav-contact > a {
  align-items: center;
}
}
/* ============== PREMIUM FOOTER ============== */
.site-footer {
  position: relative;
  color: #ffffff;
  padding: 3.25rem 0 0;

  /* premium dark gradient */
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(37,170,225,0.18), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(244,67,54,0.14), transparent 55%),
    linear-gradient(180deg, #0b0f14 0%, #070a0e 100%);
}

/* subtle top glow line */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  opacity: 0.9;
}

/* force left alignment everywhere in footer */
.site-footer,
.site-footer * {
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  padding-bottom: 2.5rem;
}

/* column cards */
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  /* uklanjamo card izgled */
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.footer-title {
  font-family: "Roboto Slab", serif;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
}
.footer-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 0.6rem;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.05)
  );
}
.footer-subtitle {
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.footer-address {
  font-style: normal;
  line-height: 1.75;
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.65);
  margin-right: 0.35rem;
}

/* Premium link: subtle underline that animates */
.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  opacity: 0.95;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  background: rgba(255, 255, 255, 0.28);
}

.footer-link:hover {
  color: #f44336; /* brand orange */
  opacity: 1;
  transform: translateY(-1px);
}

.footer-link:hover::after {
  transform: scaleX(1);
  background: rgba(244, 67, 54, 0.55);
}

/* Focus ring consistent with your site */
.footer-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 170, 225, 0.35);
  border-radius: 10px;
}

.footer-list-spaced {
  margin-top: 1.25rem;
}

/* bottom bar */
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 1.1rem 0 1.25rem;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.70);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col {
    padding: 0;
  }

  .footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.lang-current {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  cursor: default;
}
/* ==========================
   APARTMENT SUBPAGE STYLES
   ========================== */

/* Hero za apartman – ista tipografija, druga slika */
.hero-apartment {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* veći hero za veće ekrane */
@media (min-width: 768px) {
  .hero-apartment {
    min-height: 82vh; /* probaj 80–85vh, ovo je dobar start */
  }
}
.page-s1a .hero-apartment {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/bg/s1a.jpg");
}

@supports (background-image: url("assets/bg/s1a.webp")) {
  .page-s1a .hero-apartment {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("assets/bg/s1a.webp");
  }
}
.page-s1b .hero-apartment {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/bg/s1b.jpg");
}

@supports (background-image: url("assets/bg/s1b.webp")) {
  .page-s1b .hero-apartment {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("assets/bg/s1b.webp");
  }
}
.page-s2a .hero-apartment {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/bg/s2a.jpg");
}

@supports (background-image: url("assets/bg/s2a.webp")) {
  .page-s2a .hero-apartment {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("assets/bg/s2a.webp");
  }
}
.page-s2b .hero-apartment {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/bg/s2b.jpg");
}

@supports (background-image: url("assets/bg/s2b.webp")) {
  .page-s2b .hero-apartment {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("assets/bg/s2b.webp");
  }
}
.page-s3a .hero-apartment {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/bg/s3a.jpg");
}

@supports (background-image: url("assets/bg/s3a.webp")) {
  .page-s3a .hero-apartment {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("assets/bg/s3a.webp");
  }
}



.hero-content-apartment {
  max-width: 680px;
}

.hero-content-apartment h1 {
  font-family: "Roboto Slab", serif;
  font-size: 2.6rem;
  line-height: 1.18;
  margin: 0 0 1.3rem;
}

.hero-content-apartment p {
  font-size: 1.05rem;
  font-weight: 300;
  margin: 0 0 1.6rem;
}

.ap-crumb {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.85;
  margin: 0 0 0.7rem;
}

.ap-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

.ap-hero-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ap-hero-cta {
  display: flex;
  gap: 0.8rem;
}

/* Summary sekcija */
.apartment-summary {
  background: #f9fafb;
}

.apartment-summary .summary-list {
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
  font-size: 0.98rem;
  line-height: 1.6;
}

.apartment-summary .summary-list li + li {
  margin-top: 0.35rem;
}

/* Detalji apartmana */
.apartment-details h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
}

/* Galerija */
.apartment-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.apartment-gallery .gallery-item {
  margin: 0;
}

.apartment-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Lokacija / udaljenosti */
.apartment-location .distance-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.apartment-location .distance-list li + li {
  margin-top: 0.25rem;
}

.location-link-wrap {
  margin-top: 1.3rem;
}

/* RESPONSIVE za apartment podstranicu */
@media (max-width: 992px) {
  .apartment-gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-apartment {
    min-height: 65vh;
    padding-top: 6.5rem;
  }

  .hero-content-apartment h1 {
    font-size: 2.1rem;
  }

  .apartment-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* LOCATION HERO background (map/simuni.html) */
.hero-location {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/bg/simuni-panorama2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@supports (background-image: url("assets/bg/simuni-panorama2.webp")) {
  .hero-location {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("assets/bg/simuni-panorama2.webp");
  }
}
/* DIRECTIONS  */
.hero-directions {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/bg/ferry.jpg");
}

@supports (background-image: url("assets/bg/ferry.webp")) {
  .hero-directions {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("assets/bg/ferry.webp");
  }
}
/* Summary list with icons */
.summary-list-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.summary-list-icons li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.summary-list-icons .li-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--color-accent, #1565c0); /* koristi brand boju */
  margin-top: 2px;
}

.summary-list-icons .li-icon svg {
  width: 100%;
  height: 100%;
}

.summary-list-icons .li-text {
  line-height: 1.5;
}
/* Next steps (end-of-page block) */
.next-steps .container > p {
  max-width: 70ch;
}

.next-steps-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

@media (min-width: 720px) {
  .next-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.next-card,
.next-card:visited {
  color: inherit;
}

/* CARD */
.next-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;

  background: rgba(37, 170, 225, 0.06);
  border: none;

  transition: background 160ms ease;
}

.next-card:hover,
.next-card:focus-visible {
  background: rgba(244, 67, 54, 0.06);
  outline: none;
}

/* ICON */
.next-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;

  background: rgba(37, 170, 225, 0.14);
  border: none;
  color: #25aae1;

  transition: background 160ms ease, color 160ms ease;
}

.next-card:hover .next-icon,
.next-card:focus-visible .next-icon {
  background: rgba(244, 67, 54, 0.14);
  color: #f44336;
}

.next-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* TEXT WRAPPER */
.next-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* TITLE */
.next-title {
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

/* SUBTITLE */
.next-desc {
  margin-top: 2px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #25aae1;
  opacity: 1;

  transition: color 160ms ease;
}

.next-card:hover .next-desc,
.next-card:focus-visible .next-desc {
  color: #f44336;
}

/* ARROW */
.next-arrow {
  margin-left: auto;
  font-size: 1.1rem;
  line-height: 1;
  color: #25aae1;
  opacity: 0.85;

  transition: color 160ms ease;
}

.next-card:hover .next-arrow,
.next-card:focus-visible .next-arrow {
  color: #f44336;
}

/* TEASER BELOW */
.next-teaser {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.next-teaser p {
  max-width: 80ch;
  margin: 0;
  opacity: 0.92;
}

/* Confirmation */
.hero-content-confirmation {
  max-width: 720px;
}

/* Main message: bigger + less transparent background */
.confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  background: rgba(46, 125, 111, 0.55);  
  border: 1px solid rgba(46, 125, 111, 0.85);
  color: #ffffff;
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.confirm-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(46, 125, 111, 0.88);
  color: #ffffff;
}

.confirm-icon svg {
  width: 18px;
  height: 18px;
}

.confirm-lead {
  max-width: 70ch;
}

.confirm-urgent {
  margin-top: -0.6rem;
  font-size: 1.05rem;
  opacity: 0.95;
}

.confirm-urgent a {
  color: #25aae1;
  text-decoration: none;
  font-weight: 500;
}
.confirm-urgent a:hover {
  text-decoration: underline;
}

/* CTA layout: first row 2 buttons, second row 1 button */
.confirm-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.confirm-cta-row {
  margin-top: 0.9rem;
}

/* Secondary + ghost button styles that match your palette */
.btn-secondary {
  display: inline-block;
  padding: 0.95rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: rgba(244, 67, 54, 0.55);         
  border: 1px solid rgba(244, 67, 54, 0.85);     
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(244, 67, 54, 0.75);
  border-color: rgba(244, 67, 54, 0.95);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  display: inline-block;
  padding: 0.95rem 2rem;  
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);

  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

