:root {
  --bg: #efefef;
  --sand: #cba173;
  --maroon: #7f453f;
  --text: #f5d3a7;
  --radius-xl: 48px;
  --radius-lg: 36px;
  --content-width: 1480px;
  --section-space: clamp(56px, 10vw, 160px);
  --nav-menu-x: 0px;
  --nav-menu-y: 0px;
  --nav-gallery-x: 0px;
  --nav-gallery-y: 0px;
  --nav-contact-x: 0px;
  --nav-contact-y: 0px;
  --gallery-link-x: 0px;
  --gallery-link-y: 0px;
  --nav-menu-height: 32px;
  --nav-gallery-height: 28px;
  --nav-contact-height: 22px;
  --nav-menu-width: 110px;
  --nav-gallery-width: 120px;
  --nav-contact-width: 170px;
  --nav-gap: 90px;
  --logo-width: 150px;
  --logo-x: 0px;
  --logo-y: 0px;
  --topbar-pad-x: clamp(16px, 3vw, 34px);
  --topbar-pad-y: 8px;
  --gallery-overlay-offset: clamp(-770px, -50vw, -120px);
  --gallery-arrow-size: clamp(44px, 5vw, 64px);
  --contact-icon-size: clamp(10px, -5vw, 28px);
  --contact-instagram-x: -55px;
  --contact-instagram-y: -72px;
  --contact-phone-x: 270px;
  --contact-phone-y: -72px;
  --contact-location-x: -670px;
  --contact-location-y: -75px;
  --contact-phone-2-x: 285px;
  --contact-phone-2-y: 162px;
  --contact-location-2-x: 288px;
  --contact-location-2-y: 105px;
  --hero-bg-scale: 1;
  --hero-bg-x: 0px;
  --hero-bg-y: 0px;
  --hero-bg-max-height: none;
  --menu-img-scale: 1;
  --menu-img-x: 0px;
  --menu-img-y: 0px;
  --menu-img-max-height: none;
  --gallery-header-scale: 1;
  --gallery-header-x: 0px;
  --gallery-header-y: 0px;
  --gallery-header-max-height: none;
  --gallery-slide-scale: 0.98;
  --gallery-slide-x: 0px;
  --gallery-slide-y: 0px;
  --gallery-slide-max-height: min(30vh, 820px);
  --gallery-slider-y: 0px;
  --gallery-slider-pad-top: 0px;
  --gallery-slider-pad-bottom: 0px;
  --gallery-arrow-x: 0px;
  --gallery-arrow-y: 0px;
  --contact-img-scale: 1;
  --contact-img-x: 0px;
  --contact-img-y: 0px;
  --contact-img-max-height: none;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--maroon);
  overflow-x: hidden;
  background-image: url("images/Background.png");
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
}
.page-bg {
  position: fixed; inset: 0;
  background: linear-gradient(180deg, rgba(183,95,84,0.34), rgba(165,80,73,0.28)),
              url("images/Background.png") center top / cover no-repeat;
  z-index: -2; opacity: 0.78;
}
.hero {
  position: relative;
  width: min(94%, var(--content-width));
  margin: 18px auto 0;
  border-radius: 28px;
  overflow: hidden;
}
.hero-bg-image {
  width: 100%; height: auto; display: block;
  max-height: var(--hero-bg-max-height);
  object-fit: cover;
  transform: translate(var(--hero-bg-x), var(--hero-bg-y)) scale(var(--hero-bg-scale));
  transform-origin: center;
}
.hero-overlay-content { position: absolute; inset: 0; }
.topbar {
  position: absolute; top: 12px; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap;
  row-gap: 10px; 
  padding: var(--topbar-pad-y) var(--topbar-pad-x) 12px;
  background: linear-gradient(180deg, rgba(121,67,73,0.36), rgba(68,31,27,0));
}
.logo {
  width: var(--logo-width);
  flex: 0 0 auto;
  transform: translate(var(--logo-x), var(--logo-y));
}
.nav {
  display: flex; gap: var(--nav-gap); flex-wrap: nowrap;
  justify-content: flex-start; align-items: center;
  flex: 1 1 320px; min-width: 0;
}
.nav a {
  --nav-offset-x: 84px; --nav-offset-y: 10px; --nav-hover-shift: 0px;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 0; padding: 0; text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform: translate(var(--nav-offset-x), calc(var(--nav-offset-y) + var(--nav-hover-shift)));
}
.nav-link-menu { --nav-offset-x: var(--nav-menu-x); --nav-offset-y: var(--nav-menu-y); }
.nav-link-menu img { width: var(--nav-menu-width) !important; height: auto !important; max-width: var(--nav-menu-width) !important; }
.nav-link-gallery { --nav-offset-x: calc(var(--nav-gallery-x) + var(--gallery-link-x)); --nav-offset-y: calc(var(--nav-gallery-y) + var(--gallery-link-y)); }
.nav-link-gallery img { width: var(--nav-gallery-width) !important; height: auto !important; max-width: var(--nav-gallery-width) !important; }
.nav-link-contact { --nav-offset-x: var(--nav-contact-x); --nav-offset-y: var(--nav-contact-y); }
.nav-link-contact img { width: var(--nav-contact-width) !important; height: auto !important; max-width: var(--nav-contact-width) !important; }
.nav a img { display: block; object-fit: contain; }
.nav a:hover, .nav a.active { --nav-hover-shift: -1px; opacity: 0.92; }
.section {
  margin-top: var(--section-space);
  border-radius: var(--radius-lg); overflow: hidden;
  width: min(96%, var(--content-width));
  margin-left: auto; margin-right: auto;
  scroll-margin-top: 20px;
}
.menu-img {
  width: 100%; height: auto; display: block; object-fit: contain;
  max-height: var(--menu-img-max-height);
  transform: translate(var(--menu-img-x), var(--menu-img-y)) scale(var(--menu-img-scale));
  transform-origin: center;
}
.menu-btn-wrap {
  margin-top: 18px;
  margin-bottom: clamp(72px, 12vw, 180px);
  display: flex; justify-content: center;
}
.menu-btn {
  display: inline-flex;
  width: min(96%, 720px);
  border-radius: 999px; overflow: hidden;
  transition: transform 0.25s ease;
}
.menu-btn:hover { transform: translateY(-2px); }
.menu-btn img { width: 100%; display: block; }
.gallery {
  margin-top: 0; background: transparent; border-radius: 0;
  padding: 0; width: min(96%, var(--content-width));
  margin-left: auto; margin-right: auto;
  scroll-margin-top: 20px; position: relative; z-index: 2;
}
.gallery-header {
  width: 100%; height: auto; display: block; object-fit: contain;
  object-position: top center;
  max-height: var(--gallery-header-max-height);
  transform: translate(var(--gallery-header-x), var(--gallery-header-y)) scale(var(--gallery-header-scale));
  transform-origin: center;
}
.gallery-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px; align-items: center;
  margin-top: var(--gallery-overlay-offset);
  transform: translateY(var(--gallery-slider-y));
  position: relative; z-index: 5;
}
.gallery-arrow {
  width: var(--gallery-arrow-size); height: var(--gallery-arrow-size);
  border: 0; border-radius: 0; background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: grid; place-items: center; padding: 0;
  position: relative; z-index: 8;
  pointer-events: auto;
  transform: translate(var(--gallery-arrow-x), var(--gallery-arrow-y));
}
.gallery-arrow:hover { transform: translateY(-2px); opacity: 0.9; }
.gallery-arrow img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-viewport {
  overflow: hidden; overflow-x: auto; border-radius: 0;
  width: 100%; scroll-behavior: smooth; scrollbar-width: none;
  padding: var(--gallery-slider-pad-top) 0 var(--gallery-slider-pad-bottom);
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; }
.gallery-slide {
  flex: 0 0 calc(100% / 3);
  display: grid; place-items: center; overflow: visible;
  background: transparent; padding: 0;
}
.gallery-slide img {
  width: 100%;
  max-height: var(--gallery-slide-max-height);
  object-fit: contain; display: block;
  transform: translate(var(--gallery-slide-x), var(--gallery-slide-y)) scale(var(--gallery-slide-scale));
  transform-origin: center;
}
.contact {
  margin: var(--section-space) 0 0;
  width: min(96%, var(--content-width));
  margin-left: auto; margin-right: auto;
  scroll-margin-top: 20px; position: relative;
}
.contact img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-xl); object-fit: contain;
  max-height: var(--contact-img-max-height);
  transform: translate(var(--contact-img-x), var(--contact-img-y)) scale(var(--contact-img-scale));
  transform-origin: center;
}
.contact-icons {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(12px, 2vw, 18px);
  position: absolute; left: 50%;
  bottom: clamp(20px, 5vw, 72px);
  transform: translateX(-50%); z-index: 2;
  width: min(90%, 420px);
}
.contact-icons a {
  width: var(--contact-icon-size); height: var(--contact-icon-size);
  display: grid; place-items: center;
  transition: transform 0.2s ease;
}
.contact-icon-instagram { transform: translate(var(--contact-instagram-x), var(--contact-instagram-y)); }
.contact-icon-phone { transform: translate(var(--contact-phone-x), var(--contact-phone-y)); }
.contact-icon-location { transform: translate(var(--contact-location-x), var(--contact-location-y)); }
.contact-icons a:hover { opacity: 0.92; }
.contact-icons img {
  width: clamp(22px, 2.5vw, 28px);
  height: clamp(22px, 2.5vw, 28px);
}
.contact-icons-extra {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
}
.contact-icons-extra a {
  width: var(--contact-icon-size); height: var(--contact-icon-size);
  display: grid; place-items: center;
  position: absolute; left: 49.5%; top: 50%;
  pointer-events: auto;
  transition: transform 0.2s ease;
}
.contact-icons-extra img {
  width: clamp(22px, 2.5vw, 28px);
  height: clamp(22px, 2.5vw, 28px);
}
.contact-icon-phone-2 { transform: translate(-50%, -50%) translate(var(--contact-phone-2-x), var(--contact-phone-2-y)); }
.contact-icon-location-2 { transform: translate(-50%, -50%) translate(var(--contact-location-2-x), var(--contact-location-2-y)); }
.contact-icons-extra a:hover { opacity: 0.92; }

/* ===== TABLET (≤920px) ===== */
@media (max-width: 920px) {
  .topbar { justify-content: center; padding: 12px 12px 8px; }
  .hero, .section, .gallery, .contact {
    width: 100vw; margin-left: 0; margin-right: 0;
    border-radius: 0; margin-top: 48px;
  }
  .menu-btn { width: 100%; border-radius: 0; }
  .logo { transform: translate(var(--logo-x), var(--logo-y)); }
  .nav { justify-content: center; gap: clamp(10px, 3vw, 18px); flex: 0 1 auto; }
  .nav-link-menu { --nav-offset-x: var(--nav-menu-x); --nav-offset-y: var(--nav-menu-y); }
  .nav-link-gallery { --nav-offset-x: calc(var(--nav-gallery-x) + var(--gallery-link-x)); --nav-offset-y: calc(var(--nav-gallery-y) + var(--gallery-link-y)); }
  .nav-link-contact { --nav-offset-x: var(--nav-contact-x); --nav-offset-y: var(--nav-contact-y); }
  .hero-bg-image { max-height: var(--hero-bg-max-height); transform: translate(var(--hero-bg-x), var(--hero-bg-y)) scale(var(--hero-bg-scale)); }
  .hero-bottom img { width: min(96%, 680px); }
  .gallery-slider { grid-template-columns: 1fr; gap: 12px; margin-top: clamp(-220px, -28vw, -120px); z-index: 3; position: relative; }
  .gallery-slide { flex-basis: 100%; }
  .menu-img { max-height: var(--menu-img-max-height); transform: translate(var(--menu-img-x), var(--menu-img-y)) scale(var(--menu-img-scale)); }
  .gallery-header { max-height: var(--gallery-header-max-height); transform: translate(var(--gallery-header-x), var(--gallery-header-y)) scale(var(--gallery-header-scale)); }
  .gallery-slide img { max-height: var(--gallery-slide-max-height); transform: translate(var(--gallery-slide-x), var(--gallery-slide-y)) scale(var(--gallery-slide-scale)); }
  .contact img { max-height: var(--contact-img-max-height); transform: translate(var(--contact-img-x), var(--contact-img-y)) scale(var(--contact-img-scale)); }
  .gallery-viewport { order: 2; width: 100%; }
  .gallery-arrow {
    width: clamp(40px, 10vw, 48px); height: clamp(40px, 10vw, 48px);
    position: absolute; top: 50%; z-index: 6;
  }
  .gallery-arrow-left {
    left: 0;
    transform: translateY(calc(-50% + var(--gallery-arrow-left-y, 0px)));
  }
  .gallery-arrow-right {
    right: 0;
    transform: translateY(calc(-50% + var(--gallery-arrow-right-y, 0px)));
  }
  .contact-icons a { width: var(--contact-icon-size); height: var(--contact-icon-size); }
  .contact-icons-extra a { width: var(--contact-icon-size); height: var(--contact-icon-size); }
  .contact-icon-instagram { transform: translate(var(--contact-instagram-x), var(--contact-instagram-y)); }
  .contact-icon-phone { transform: translate(var(--contact-phone-x), var(--contact-phone-y)); }
  .contact-icon-location { transform: translate(var(--contact-location-x), var(--contact-location-y)); }
  .contact-icon-phone-2 { transform: translate(-50%, -50%) translate(var(--contact-phone-2-x), var(--contact-phone-2-y)); }
  .contact-icon-location-2 { transform: translate(-50%, -50%) translate(var(--contact-location-2-x), var(--contact-location-2-y)); }
}

/* ===== MOBILE (≤640px) ===== */
@media (max-width: 640px) {
  :root {
    --radius-xl: 24px;
    --radius-lg: 24px;
    --section-space: 48px;
      --nav-menu-width: clamp(70px, 22vw, 110px);
    --nav-menu-height: clamp(20px, 6vw, 32px);
    --nav-gallery-width: clamp(78px, 24vw, 120px);
    --nav-gallery-height: clamp(18px, 5.5vw, 28px);
    --nav-contact-width: clamp(84px, 26vw, 130px);
    --nav-contact-height: clamp(14px, 4vw, 22px);
    --nav-gap: 6px;
    --contact-instagram-x: 130px;
    --contact-instagram-y: -92px;
    --contact-phone-x: -158px;
    --contact-phone-y: -85px;
    --contact-location-x: -313px;
    --contact-location-y: -100px;
    --contact-phone-2-x: 70px;
    --contact-phone-2-y: -10px;
    --contact-location-2-x: 69px;
    --contact-location-2-y: -27px;
    --gallery-slide-y: -250px;
    --gallery-slider-y: -250px;
    --gallery-slider-pad-top: 320px;
    --gallery-slider-pad-bottom: 80px;
    --gallery-arrow-y: -250px;
    --gallery-arrow-left-y: -100px;
    --gallery-arrow-right-y: -100px;
    --gallery-arrow-left-x: 0px;
    --gallery-arrow-right-x: 0px;
  }
  .topbar { row-gap: 8px; }
  .hero-bottom { padding-bottom: 24px; }
  .hero-bottom img { width: 100%; }
  .hero-bg-image { max-height: var(--hero-bg-max-height); transform: translate(var(--hero-bg-x), var(--hero-bg-y)) scale(var(--hero-bg-scale)); }
  .hero, .section, .gallery, .contact { width: 100vw; margin-left: 0; margin-right: 0; }
  .hero-bg-image, .hero-bottom img, .menu-img, .gallery-header, .gallery-slide img, .contact img { width: 100%; max-width: 100%; border-radius: 0; }
  .gallery-slider { margin-top: clamp(-72px, -12vw, -24px); transform: translateY(var(--gallery-slider-y)); }
  .gallery-viewport { padding: var(--gallery-slider-pad-top) 0 var(--gallery-slider-pad-bottom); }
  .menu-img { max-height: var(--menu-img-max-height); transform: translate(var(--menu-img-x), var(--menu-img-y)) scale(var(--menu-img-scale)); }
  .gallery-header { max-height: var(--gallery-header-max-height); transform: translate(var(--gallery-header-x), var(--gallery-header-y)) scale(var(--gallery-header-scale)); }
  .gallery-slide img { max-height: var(--gallery-slide-max-height); transform: translate(var(--gallery-slide-x), var(--gallery-slide-y)) scale(var(--gallery-slide-scale)); }
  .contact img { max-height: var(--contact-img-max-height); transform: translate(var(--contact-img-x), var(--contact-img-y)) scale(var(--contact-img-scale)); }
  .contact { margin-top: 40px; padding-bottom: 84px; }
  .contact-icons { bottom: 28px; width: min(92%, 320px); justify-content: space-between; gap: 0; }
  .contact-icons a { width: var(--contact-icon-size); height: var(--contact-icon-size); }
  .contact-icons-extra a { width: var(--contact-icon-size); height: var(--contact-icon-size); }
  .contact-icons-extra a { left: 50%; top: 50%; }
  .contact-icon-instagram { transform: translate(var(--contact-instagram-x), var(--contact-instagram-y)); }
  .contact-icon-phone { transform: translate(var(--contact-phone-x), var(--contact-phone-y)); }
  .contact-icon-location { transform: translate(var(--contact-location-x), var(--contact-location-y)); }
  .contact-icon-phone-2 { transform: translate(-50%, -50%) translate(var(--contact-phone-2-x), var(--contact-phone-2-y)); }
  .contact-icon-location-2 { transform: translate(-50%, -50%) translate(var(--contact-location-2-x), var(--contact-location-2-y)); }
}

/* ===== EXTRA BREAKPOINTS ===== */
@media (max-width: 1200px) { .gallery-slide { flex: 0 0 50%; } }
@media (max-width: 780px) { .gallery-slide { flex: 0 0 100%; } }
@media (min-width: 1440px) { .gallery-slide img { max-height: 820px; } }
@supports (-webkit-touch-callout: none) { body { background-attachment: scroll; } }