:root {
  --bg-main: #e2d6c1;
  --bg-soft: #efe6db;
  --bg-deep: #1f3b34;
  --accent: #c6a36b;
  --accent-dark: #8c6a3e;
  --text-dark: #1e2a26;
  --text-soft: #5a6b64;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(18, 28, 25, 0.15);
  --shadow-soft: 0 10px 30px rgba(18, 28, 25, 0.08);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.scroll-reveal.visible {
  animation: slideInUp 0.6s ease-out forwards;
}

.scroll-reveal-item {
  opacity: 0;
  transform: translateY(30px);
}

.scroll-reveal-item.visible {
  animation: slideInUp 0.6s ease-out forwards;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, sans-serif;
  background: radial-gradient(circle at top, #ffffff, var(--bg-main));
  color: var(--text-dark);
  min-height: 100vh;
  padding-top: 90px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open {
  overflow: hidden;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(31, 59, 52, 0.95);
  z-index: 1000;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(198, 163, 107, 0.2);
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }

  @media (max-width: 1024px) {
    .nav-divider {
      height: 1px;
      background: rgba(198, 163, 107, 0.35);
      margin: 18px 0;
      width: 160px;
      padding: 0;
    }
  }
  @media (max-width: 1024px) {
    .nav-brand {
      margin-top: 18px;
      font-size: 1.2rem;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
  }

  .nav-hamburger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(31, 59, 52, 0.63);
    z-index: 1000;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198, 163, 107, 0.2);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    margin: 0;
    min-width: 100%;
    width: 100vw;
    height: 100vh;
    padding: 120px 28px 40px;
    border: none;
    border-radius: 0;
    background-image: var(--menu-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: none;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }

  .nav-links li {
    text-align: center;
    padding: 0;
    position: relative;
    z-index: 2;
    transform: translateY(18px);
    opacity: 0;
    transition:
      transform 0.35s ease,
      opacity 0.35s ease;
  }

  .nav-links.open li {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding: 6px 0;
    transition: opacity 0.2s ease;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    opacity: 0.85;
  }

  .nav-links a:hover::after,
  .nav-links a:focus::after {
    transform: scaleX(1);
  }

  .nav-brand {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    text-transform: uppercase;
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

nav a:hover {
  color: var(--accent);
}

.hamburger {
  width: 28px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1025px) {
  .nav-hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: max(15px, env(safe-area-inset-right));
    left: auto;
    background: linear-gradient(135deg, var(--bg-deep), rgba(31, 59, 52, 0.95));
    border: 1px solid rgba(198, 163, 107, 0.3);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.4s ease;
    padding: 10px 0;
    min-width: 210px;
    z-index: 10000;
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    list-style: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 10px 20px;
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    display: block;
    letter-spacing: 0.3px;
  }

  .nav-links a:hover {
    color: var(--accent);
  }

  .nav-divider {
    height: 1px;
    background: rgba(198, 163, 107, 0.3);
    margin: 6px 0;
  }

  .nav-brand {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    text-transform: uppercase;
  }

  .nav-links.open li:nth-child(1) {
    transition-delay: 0.05s;
  }
  .nav-links.open li:nth-child(2) {
    transition-delay: 0.1s;
  }
  .nav-links.open li:nth-child(3) {
    transition-delay: 0.15s;
  }
  .nav-links.open li:nth-child(4) {
    transition-delay: 0.2s;
  }
}

.hero {
  width: min(1100px, 92%);
  margin: 0 auto 40px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30px -20px auto -20px;
  height: 230px;
  background: linear-gradient(120deg, #ffffff, #f0e5d6);
  border-radius: 28px;
  z-index: -1;
  box-shadow: var(--shadow-soft);
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--bg-deep);
  margin-bottom: 12px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(198, 163, 107, 0.15);
  color: var(--accent-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.75rem;
  margin-bottom: 16px;
}

.hero-content p {
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  line-height: 1.7;
  max-width: 760px;
  margin: 8px auto 20px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  transition: transform 0.2s ease;
}

.btn-primary {
  background: var(--bg-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  border: 1px solid rgba(31, 59, 52, 0.2);
  color: var(--bg-deep);
  background: transparent;
}

.gallery-intro {
  width: min(900px, 92%);
  margin: 30px auto 40px;
  text-align: center;
}

.gallery-intro h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--bg-deep);
  margin-bottom: 16px;
}

.gallery-intro p {
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.gallery-highlights {
  width: min(1000px, 92%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-highlights div {
  background: var(--white);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.gallery-highlights span {
  display: block;
  font-weight: 700;
  color: var(--bg-deep);
  margin-bottom: 8px;
}

.gallery-highlights p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.galerija-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  width: min(1000px, 92%);
  margin: 0 auto 40px;
}

.galerija-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s;
  box-shadow: var(--shadow-soft);
}

.galerija-wrapper img:hover {
  transform: scale(1.03);
}

.cta-strip {
  width: min(900px, 92%);
  margin: 0 auto 40px;
  background: linear-gradient(120deg, #1f3b34, #2d5a4f);
  color: var(--white);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-strip h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 8px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.back-link {
  display: flex;
  justify-content: center;
  margin: 30px 0 20px;
}

.back-link a {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent-dark);
  text-decoration: none;
  padding: 8px 15px;
  border: 2px solid var(--accent-dark);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.back-link a:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  padding: 10px;
  overflow-y: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 14px;
  margin-bottom: 10px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 14px;
  margin-bottom: 0.5rem;
}

.lightbox-caption {
  color: #f3e2c6;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  text-align: center;
  margin-top: 0.5rem;
  padding: 0 10px;
  max-width: 90vw;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close:hover {
  color: #f3e2c6;
  background: rgba(0, 0, 0, 0.6);
}

.social-buttons {
  width: min(1200px, 92%);
  margin: 60px auto 40px;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 1000;
}

.social-buttons a.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-buttons a.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.social-buttons a.instagram {
  background-color: #e1306c;
}

.social-buttons a.whatsapp {
  background-color: #25d366;
}

.social-buttons a.facebook {
  background-color: #1877f2;
}

footer {
  text-align: center;
  padding: 24px 0 30px;
  padding-bottom: max(30px, calc(30px + env(safe-area-inset-bottom)));
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
  font-size: 14px;
  color: var(--text-soft);
}

footer .footer-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: bold;
}

.footer-legal {
  display: inline-block;
  margin-top: 6px;
}

footer .footer-link:hover {
  color: var(--bg-deep);
}

@media (max-width: 768px) {
  body {
    padding-top: 75px;
  }

  nav {
    display: none;
  }

  nav ul {
    gap: 16px;
  }

  .nav-hamburger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(31, 59, 52, 0.95);
    z-index: 1000;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198, 163, 107, 0.2);
  }

  .hero {
    width: min(95%, 100%);
  }

  .hero::before {
    height: 220px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .galerija-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    width: min(95%, 100%);
  }

  .galerija-wrapper img {
    height: 180px;
  }

  .gallery-intro {
    width: min(95%, 100%);
  }

  .gallery-intro h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .gallery-intro p {
    font-size: 1rem;
  }

  .gallery-highlights {
    width: min(95%, 100%);
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 0.95rem;
  }

  .cta-strip {
    width: min(95%, 100%);
    padding: 28px 20px;
  }

  .cta-strip h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .social-buttons {
    margin: 45px auto 35px;
    gap: 16px;
    width: 90%;
  }

  .social-buttons a.social-btn {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }

  footer {
    padding: 20px 10px 25px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 70px;
  }

  .hero::before {
    height: 200px;
    border-radius: 20px;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    margin-bottom: 18px;
  }

  .galerija-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 0 auto 30px;
  }

  .galerija-wrapper img {
    height: 160px;
    border-radius: 12px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .cta-strip {
    padding: 24px 18px;
    gap: 12px;
  }

  .cta-strip h2 {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    margin-bottom: 6px;
  }

  .cta-strip p {
    font-size: 0.9rem;
  }

  .back-link {
    margin: 20px 0;
  }

  .back-link a {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  footer {
    padding: 18px 10px 22px;
    font-size: 12px;
  }
}

@media (max-width: 500px) {
  body {
    padding-top: 65px;
  }

  .hamburger {
    width: 26px;
    height: 23px;
  }

  .nav-links {
    inset: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    padding: 120px 28px 40px;
  }

  .hero {
    margin: 0 auto 30px;
  }

  .hero::before {
    height: 180px;
    inset: -25px -15px auto -15px;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 12px;
  }

  .hero-content h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .hero-content p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
  }

  .gallery-intro h2 {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  }

  .gallery-intro p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .gallery-highlights {
    gap: 10px;
  }

  .gallery-highlights .scroll-reveal-item {
    padding: 15px 10px;
  }

  .gallery-highlights span {
    font-size: 0.9rem;
  }

  .gallery-highlights p {
    font-size: 0.8rem;
  }

  .galerija-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
  }

  .galerija-wrapper img {
    height: 140px;
    border-radius: 10px;
  }

  .cta-strip {
    padding: 20px 16px;
    margin: 0 auto 30px;
    border-radius: 16px;
  }

  .cta-strip h2 {
    font-size: clamp(1rem, 3.2vw, 1.4rem);
    margin-bottom: 6px;
  }

  .cta-strip p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .cta-strip .btn {
    font-size: 0.9rem;
  }

  .social-buttons {
    margin: 35px auto 25px;
    gap: 12px;
    width: 95%;
  }

  .social-buttons a.social-btn {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  footer {
    padding: 16px 10px 20px;
    font-size: 11px;
  }

  footer .footer-link {
    font-weight: 600;
  }
}

@media (max-width: 400px) {
  body {
    padding-top: 60px;
  }

  nav ul {
    gap: 12px;
  }

  .nav-links {
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    top: 0;
  }

  .hero::before {
    height: 160px;
    inset: -20px -10px auto -10px;
    border-radius: 16px;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 5px 10px;
    letter-spacing: 0.8px;
  }

  .hero-content h1 {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    margin-bottom: 8px;
  }

  .hero-content p {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .gallery-intro {
    margin: 20px auto 30px;
  }

  .gallery-intro h2 {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 12px;
  }

  .gallery-intro p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .gallery-highlights {
    gap: 8px;
    margin: 20px auto 30px;
  }

  .gallery-highlights .scroll-reveal-item {
    padding: 12px 8px;
    border-radius: 10px;
  }

  .gallery-highlights span {
    font-size: 0.85rem;
    font-weight: 600;
  }

  .gallery-highlights p {
    font-size: 0.75rem;
    margin-top: 4px;
  }

  .galerija-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 6px;
    width: 95%;
    margin: 0 auto 25px;
  }

  .galerija-wrapper img {
    height: 120px;
    border-radius: 8px;
  }

  .cta-strip {
    padding: 18px 14px;
    margin: 0 auto 25px;
    border-radius: 14px;
  }

  .cta-strip h2 {
    font-size: clamp(0.9rem, 2.8vw, 1.2rem);
    margin-bottom: 4px;
  }

  .cta-strip p {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .back-link {
    margin: 15px 0;
  }

  .back-link a {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-width: 1px;
  }

  .social-buttons {
    margin: 25px auto 20px;
    gap: 10px;
  }

  .social-buttons a.social-btn {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  footer {
    padding: 14px 8px 18px;
    font-size: 10px;
  }

  footer .footer-link {
    font-weight: 500;
  }
}

@media (max-width: 360px) {
  body {
    padding-top: 56px;
  }

  .nav-hamburger {
    padding: 10px 12px;
  }

  .hamburger {
    width: 24px;
    height: 20px;
  }

  .hero::before {
    height: 140px;
  }

  .hero-content h1 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .hero-badge {
    font-size: 0.55rem;
    padding: 4px 8px;
  }

  .gallery-intro {
    margin: 15px auto 25px;
  }

  .gallery-intro h2 {
    font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    margin-bottom: 8px;
  }

  .gallery-intro p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .galerija-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 5px;
  }

  .galerija-wrapper img {
    height: 100px;
  }

  .cta-strip {
    padding: 16px 12px;
    margin: 0 auto 20px;
  }

  .cta-strip h2 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .cta-strip p {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .social-buttons {
    margin: 20px auto 18px;
    gap: 8px;
  }

  footer {
    padding: 12px 6px 16px;
    font-size: 9px;
  }
}

@media (max-width: 320px) {
  body {
    padding-top: 52px;
  }

  .nav-hamburger {
    padding: 8px 10px;
  }

  .nav-links {
    inset: 0;
    width: 100vw;
    height: 100vh;
  }

  .hamburger {
    width: 22px;
    height: 18px;
  }

  .hamburger span {
    height: 2px;
  }

  .hero {
    margin: 0 auto 20px;
  }

  .hero::before {
    height: 120px;
    inset: -15px -8px auto -8px;
  }

  .hero-content h1 {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.5rem;
    padding: 3px 6px;
  }

  .hero-content p {
    font-size: 0.75rem;
  }

  .gallery-intro {
    margin: 12px auto 20px;
  }

  .gallery-intro h2 {
    font-size: 0.85rem;
  }

  .gallery-intro p {
    font-size: 0.8rem;
  }

  .gallery-highlights {
    gap: 5px;
    margin: 15px auto 20px;
  }

  .gallery-highlights .scroll-reveal-item {
    padding: 8px 5px;
  }

  .gallery-highlights span {
    font-size: 0.75rem;
  }

  .gallery-highlights p {
    font-size: 0.65rem;
  }

  .galerija-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin: 0 auto 20px;
  }

  .galerija-wrapper img {
    height: 80px;
  }

  .cta-strip {
    padding: 14px 10px;
  }

  .cta-strip h2 {
    font-size: 0.9rem;
  }

  .cta-strip p {
    font-size: 0.7rem;
  }

  .btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .social-buttons {
    margin: 15px auto 12px;
    gap: 6px;
  }

  .social-buttons a.social-btn {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }

  footer {
    padding: 10px 5px 14px;
    font-size: 8px;
  }
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a,
button {
  min-height: 44px;
  touch-action: manipulation;
}

input,
textarea,
select {
  font-size: 1rem;
  touch-action: manipulation;
}

@supports (-webkit-touch-callout: none) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

.gallery-intro.scroll-reveal {
  animation-delay: 0.1s;
}

.gallery-highlights.scroll-reveal {
  animation-delay: 0.1s;
}

.gallery-highlights .scroll-reveal-item:nth-child(1) {
  animation-delay: 0.1s;
}

.gallery-highlights .scroll-reveal-item:nth-child(2) {
  animation-delay: 0.2s;
}

.gallery-highlights .scroll-reveal-item:nth-child(3) {
  animation-delay: 0.3s;
}

.galerija-wrapper.scroll-reveal {
  animation-delay: 0.1s;
}

.cta-strip.scroll-reveal {
  animation-delay: 0.1s;
}

@media (hover: none) {
  .galerija-wrapper img:hover,
  .social-buttons a.social-btn:hover,
  .back-link a:hover,
  .btn:hover {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    inset: 0;
    margin: 0;
    min-width: 100%;
    width: 100vw;
    height: 100vh;
    padding: 120px 28px 40px;
    border: none;
    border-radius: 0;
    background: var(--menu-bg-image) center/cover no-repeat;
    box-shadow: none;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }
}

@media (max-width: 1024px) {
  html,
  body {
    height: 100%;
  }
}
