:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-strong: #f5f0e8;
  --ink: #201d19;
  --muted: #696055;
  --gold-100: #ece0ce;
  --gold-300: #c6ad8b;
  --gold-500: #a17d52;
  --gold-700: #785733;
  --line: #ddd4c8;
  --shadow: 0 8px 20px rgba(39, 30, 19, 0.07);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Manrope, sans-serif;
  line-height: 1.6;
  overscroll-behavior-y: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  position: relative;
  background: var(--bg);
  padding: 5.25rem 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0, rgba(120, 87, 51, 0.22) 18%, rgba(120, 87, 51, 0.22) 82%, transparent 100%);
}

.section-head {
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold-700);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

p {
  margin: 0;
}

[id] {
  scroll-margin-top: 6.5rem;
}

.skip-link {
  position: fixed;
  left: 0.7rem;
  top: 0.7rem;
  z-index: 120;
  padding: 0.6rem 0.9rem;
  color: #fff;
  background: #000;
  border-radius: 0.4rem;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.nav-link:focus-visible,
.menu-toggle:focus-visible,
.social-row a:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: var(--gold-700);
  box-shadow: 0 6px 16px rgba(72, 46, 20, 0.2);
}

.btn-primary:hover {
  background: #664929;
  box-shadow: 0 8px 18px rgba(72, 46, 20, 0.25);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  padding: 0.85rem 0;
  backdrop-filter: blur(8px);
  background: rgba(246, 243, 238, 0.9);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(122, 94, 59, 0.2);
  box-shadow: 0 6px 18px rgba(39, 30, 19, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(132, 89, 39, 0.2);
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: #3c342c;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #231d16;
  background: rgba(161, 125, 82, 0.14);
}

.nav-cta {
  margin-left: 0.35rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.95);
  border-radius: 10px;
  width: 44px;
  height: 40px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  margin: 0.24rem auto;
  width: 20px;
  height: 2px;
  background: #36291f;
}

main {
  padding-top: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 85vh;
  display: grid;
  align-items: center;
  padding: 8.5rem 0 5.6rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.jpg");
  background-position: center 28%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(17, 13, 11, 0.74) 12%, rgba(17, 13, 11, 0.55) 38%, rgba(17, 13, 11, 0.22) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.38));
  z-index: -1;
}

.hero-grid {
  display: block;
}

.hero-content {
  max-width: 44rem;
  color: #fdf7ee;
}

.hero .eyebrow {
  color: #f5d39e;
}

.hero h1 {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero-content .lead {
  margin-top: 1rem;
  max-width: 54ch;
  color: rgba(251, 243, 232, 0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.hero .btn-ghost {
  color: #fff6e8;
  border-color: rgba(253, 232, 196, 0.7);
  background: rgba(253, 240, 214, 0.12);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  position: relative;
}

.service-media {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.03);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #cdb99d;
  box-shadow: 0 10px 24px rgba(39, 30, 19, 0.09);
}

.card p {
  margin-top: 0.6rem;
  color: #554638;
}

.pricing-section {
  background: var(--bg);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card .price {
  margin: 0.45rem 0;
  color: var(--gold-700);
  font-weight: 700;
  font-size: 1.05rem;
}

.pricing-card.featured {
  position: relative;
  border-color: rgba(161, 125, 82, 0.55);
}

.pricing-card.featured::before {
  content: "Najtraženije";
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  background: #f1e7d9;
  color: var(--gold-700);
  border: 1px solid rgba(161, 125, 82, 0.4);
  padding: 0.3rem 0.55rem;
  font-size: 0.67rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-tile:hover img {
  transform: scale(1.03);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card p {
  font-size: 1.02rem;
}

.review-card span {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--gold-700);
  font-weight: 700;
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-copy,
.contact-map {
  border-radius: var(--radius);
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-copy p {
  margin: 0.8rem 0 1.1rem;
}

.contact-map p {
  margin: 0.6rem 0 1rem;
}

.map-placeholder {
  min-height: 220px;
  border-radius: 14px;
  border: 1px dashed rgba(120, 87, 51, 0.4);
  display: grid;
  place-items: center;
  gap: 0.45rem;
  color: #76583a;
  background: #faf8f4;
}

.map-placeholder i {
  font-size: 1.55rem;
}

.site-footer {
  color: #efe7dc;
  background: #2a2119;
}

.footer-grid {
  padding: 3.25rem 0 2rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.85fr;
  gap: 1.1rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 0.55rem;
}

.footer-grid p {
  color: rgba(255, 246, 231, 0.82);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.footer-list i {
  width: 1.1rem;
  margin-right: 0.35rem;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-row a {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-row a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 232, 207, 0.28);
  padding: 0.95rem 0;
  text-align: center;
  font-size: 0.9rem;
}

[data-aos] {
  will-change: transform, opacity;
}

@media (max-width: 1100px) {
  .services-grid,
  .pricing-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    top: calc(100% + 0.5rem);
    display: grid;
    gap: 0.45rem;
    padding: 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(170, 124, 66, 0.35);
    background: rgba(255, 251, 245, 0.98);
    box-shadow: 0 20px 45px rgba(71, 45, 21, 0.2);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav .nav-cta {
    margin: 0.3rem 0 0;
  }

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

  .hero {
    min-height: 70vh;
    padding: 7.6rem 0 4.5rem;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.4rem 0;
  }

  .services-grid,
  .pricing-grid,
  .gallery-grid,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-copy span {
    display: none;
  }
}
