/* ═══════════════════════════════════════════════
   GOZINKA.COM – REDESIGN 2025
   Design: Mediterranean luxury, editorial, serene
   Palette: Deep ocean navy + warm sand + Adriatic azure
   Typography: Cormorant Garamond (display) + Inter (body)
═══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #1a2e42;
  --sand:        #f0e8d8;
  --sand-light:  #f8f4ee;
  --azure:       #2a7da8;
  --azure-light: #3a9cc8;
  --gold:        #c8a96e;
  --gold-light:  #e0c88a;
  --white:       #ffffff;
  --text-dark:   #0d1b2a;
  --text-mid:    #3a4a5a;
  --text-light:  #7a8a9a;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.64, 0, 0.78, 0);

  --shadow-sm:  0 2px 12px rgba(13,27,42,.08);
  --shadow-md:  0 8px 32px rgba(13,27,42,.14);
  --shadow-lg:  0 20px 60px rgba(13,27,42,.22);

  --nav-h: 72px;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--sand-light);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--ff-body); }
ul { list-style: none; }

/* ── UTILITIES ───────────────────────────────── */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-eyebrow {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: .6rem;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-desc {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── BUTTON ──────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: .85rem 2.4rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .25s var(--ease-out), transform .2s var(--ease-out), box-shadow .25s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,.4);
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.room-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: auto;
}

.room-actions .btn-primary,
.room-actions .btn-outline {
  flex: 1;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
}

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: transparent;
  transition: background .4s var(--ease-out), box-shadow .4s;
}
#navbar.scrolled {
  background: rgba(13,27,42,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1300px, 100% - 48px);
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
}
.nav-logo-text {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: .02em;
}
.nav-logo-text em {
  font-style: normal;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right .3s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-lang {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-lang a img {
  height: 20px;
  width: auto;
  border-radius: 2px;
  opacity: .75;
  transition: opacity .2s, transform .2s;
}
.nav-lang a:hover img { opacity: 1; transform: scale(1.1); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  transition: background .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .35s var(--ease-out), opacity .25s, width .35s var(--ease-out);
}
/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease-out), transform 8s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,27,42,.35) 0%,
    rgba(13,27,42,.1) 40%,
    rgba(13,27,42,.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem;
  max-width: 800px;
}
.hero-eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .8s .3s var(--ease-out) forwards;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .9s .5s var(--ease-out) forwards;
}
.hero-subtitle {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .9s .7s var(--ease-out) forwards;
}
.hero-content .btn-primary {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .9s .9s var(--ease-out) forwards;
}
.hero-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.hero-btn {
  color: rgba(255,255,255,.6);
  font-size: 1.3rem;
  transition: color .2s, transform .2s;
  padding: .4rem;
}
.hero-btn:hover { color: var(--white); transform: scale(1.2); }
.hero-dots { display: flex; gap: .6rem; align-items: center; }
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: background .3s, transform .3s;
}
.hero-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll span {
  display: block;
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   ROOMS / FEATURES
══════════════════════════════════════════════ */
.rooms {
  padding: 8rem 0;
  background: var(--sand-light);
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s;
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.room-img {
  height: 320px;
  overflow: hidden;
  position: relative;
}
.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.room-card:hover .room-img img {
  transform: scale(1.06);
}
.room-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.room-body h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}
.room-details {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.room-details li {
  color: var(--text-mid);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.room-details li strong {
  color: var(--navy);
  font-weight: 600;
}
.room-details li::before {
  content: '•';
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 0;
  margin-top: -2px;
}
.room-body .btn-primary {
  align-self: flex-start;
  padding: .85rem 2rem;
}

/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.gallery-section {
  padding: 8rem 0;
  background: var(--navy);
}
.gallery-section .section-eyebrow { color: var(--gold); }
.gallery-section .section-title { color: var(--white); }
.gallery-section .section-desc { color: rgba(255,255,255,.6); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px;
  margin-top: 3rem;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.gallery-filter {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.gallery-filter:hover,
.gallery-filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.gallery-item[hidden] { display: none; }
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-overlay span {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 200;
  line-height: 1;
  transform: scale(.7);
  transition: transform .3s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span { transform: scale(1); }

/* ══════════════════════════════════════════════
   AMENITIES
══════════════════════════════════════════════ */
.amenities-section {
  padding: 8rem 0;
  background: var(--white);
}
.amenities-popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 5rem;
}
.amenity-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.4rem;
  background: var(--sand-light);
  border: 1px solid rgba(200,169,110,.25);
  border-radius: 40px;
  color: var(--navy);
  font-weight: 500;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
}
.amenity-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.amenity-badge svg {
  color: var(--azure);
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
.amenity-col {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.amenity-group h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.amenity-group h3 svg {
  color: var(--gold);
}
.amenity-group p {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.6;
}
.amenity-group ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.amenity-group ul li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-mid);
  font-size: .95rem;
}
.amenity-group ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-section {
  padding: 8rem 0;
  background: var(--sand-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3,
.contact-map h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.8rem;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}
.contact-list li strong {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .2rem;
}
.contact-list li span {
  color: var(--text-dark);
  font-size: .95rem;
}
.contact-list a {
  color: var(--azure);
  transition: color .2s;
}
.contact-list a:hover {
  color: var(--gold);
}
.wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.6rem;
  color: #25D366;
  vertical-align: middle;
  transition: transform 0.2s, color 0.2s;
}
.wa-link:hover {
  transform: scale(1.2);
  color: #128C7E;
}
.contact-map iframe {
  border-radius: var(--radius-md);
  display: block;
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  margin-bottom: .5rem;
}
.footer-logo em { font-style: normal; color: var(--gold); }
.footer-brand p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
}
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-booking-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.04);
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .2s, border-color .2s;
}
.footer-booking-rating:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}
.booking-score {
  background: #003b95; /* Booking.com Official Blue */
  color: white;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 1.15rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 8px 0; /* Classic Booking.com shape */
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.booking-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.booking-text strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.booking-text span {
  color: rgba(255,255,255,.6);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: .9rem; color: rgba(255,255,255,.35); }

/* ══════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════ */
.lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7,14,22,.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.lb-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lb-stage {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transition: opacity .3s, transform .35s var(--ease-out);
}
#lb-img.loading { opacity: 0; transform: scale(.97); }
.lb-loader {
  position: absolute;
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: none;
}
.lb-loader.active { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.lb-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  z-index: 2;
  color: rgba(255,255,255,.7);
  font-size: 2.2rem;
  font-weight: 200;
  line-height: 1;
  transition: color .2s, transform .2s;
  padding: .3rem;
}
.lb-close:hover { color: var(--white); transform: rotate(90deg); }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.65);
  font-size: 2rem;
  padding: 1rem .8rem;
  transition: color .2s, transform .2s;
  z-index: 2;
}
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-prev:hover { color: var(--white); transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { color: var(--white); transform: translateY(-50%) translateX(3px); }
.lb-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .rooms-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .amenities-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* backdrop-filter creates a containing block that breaks position:fixed children */
  #navbar.scrolled { backdrop-filter: none; background: var(--navy); }

  .nav-toggle { display: flex; }

  /* Right-side panel */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 280px;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: var(--navy);
    padding: calc(var(--nav-h) + 1.5rem) 2rem 2rem;
    box-shadow: -4px 0 30px rgba(0,0,0,.4);
    transform: translateX(100%);
    pointer-events: none;
    transition: transform .35s var(--ease-out);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateX(0);
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    letter-spacing: .12em;
    color: rgba(255,255,255,.75);
    border-bottom: 1px solid rgba(255,255,255,.08);
    width: 100%;
  }
  .nav-link:hover, .nav-link.active {
    color: var(--gold);
  }
  .nav-link::after { display: none; }

  .nav-lang {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
  }
  .nav-lang a img {
    height: 26px;
    opacity: .8;
  }

  .hero-title { font-size: clamp(3rem, 14vw, 5rem); }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
}
