@import url('data:text/css;base64,');

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

::selection {
  background-color: #EF4444;
  color: #ffffff;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Shared "premium" easing curve — a soft, decelerating ease-out similar to iOS/Apple-style UI motion */
:root {
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal-on-scroll / on-load animation (replaces framer-motion initial/animate) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="scale"] {
  transform: scale(0.94);
}
[data-reveal="scale"].in-view {
  transform: scale(1);
}
[data-reveal="left"] {
  transform: translateX(-40px);
}
[data-reveal="left"].in-view {
  transform: translateX(0);
}

/* Testimonial fade/slide transition */
.testimonial-slide {
  transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
}

/* Mobile drawer + overlay transitions */
#mobile-overlay {
  transition: opacity 0.3s var(--ease-premium);
}
#mobile-drawer {
  transition: transform 0.4s var(--ease-premium);
}

/* Booking modal transitions */
#booking-overlay {
  transition: opacity 0.3s var(--ease-premium);
}
#booking-panel {
  transition: transform 0.35s var(--ease-premium), opacity 0.35s var(--ease-premium);
}

/* Language dropdown transition */
#lang-dropdown-panel {
  transition: opacity 0.2s var(--ease-premium), transform 0.2s var(--ease-premium);
}

/* Floating widget entrance */
.float-btn {
  transition: transform 0.4s var(--ease-premium), opacity 0.4s var(--ease-premium);
}

/* Lucide icon default sizing safety (in case createIcons runs before layout) */
[data-lucide] {
  display: inline-block;
}

/* Language-tagged text is hidden until main.js picks the active language, avoiding a flash of all 4 languages stacked */
[data-lang] {
  display: none;
}

/* Smooth image fade-in as each photo finishes loading, instead of popping in abruptly
   (especially noticeable once real photos/videos replace the placeholder images) */
img.img-fade {
  opacity: 0;
  transition: opacity 0.8s var(--ease-premium);
}
img.img-fade.loaded {
  opacity: 1;
}

/* ============================================================================
   HEADER STYLING — Premium sticky navigation with smooth interactions
   ============================================================================ */

/* Main header container */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Header content wrapper */
#site-header .max-w-7xl {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  #site-header .max-w-7xl {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  #site-header .max-w-7xl {
    padding: 0 2rem;
  }
}

/* Logo styling */
#nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

#nav-logo img {
  height: 44px;
  width: auto;
  transition: transform 0.5s var(--ease-premium);
}

#nav-logo:hover img {
  transform: scale(1.04);
}

/* Desktop navigation */
nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  nav {
    display: flex;
  }
}

/* ---- Animated underline sweep on desktop nav links */
.nav-link-underline {
  position: relative;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #52525b;
  text-decoration: none;
  transition: color 0.3s var(--ease-premium);
}

.nav-link-underline:hover {
  color: #e11d48;
}

.nav-link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #e11d48;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-premium);
}

.nav-link-underline:hover::after {
  transform: scaleX(1);
}

/* Desktop actions bar */
.hidden.lg\\:flex {
  display: none;
}

@media (min-width: 1024px) {
  .hidden.lg\\:flex {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

/* Language switcher button */
#btn-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #52525b;
  background-color: transparent;
  border: 1px solid #e4e4e7;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
}

#btn-lang-switcher:hover {
  background-color: #f4f4f5;
  color: #18181b;
}

/* Language dropdown */
#lang-dropdown-panel {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  width: 160px;
  background-color: white;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 0.375rem;
  z-index: 20;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease-premium), transform 0.2s var(--ease-premium);
}

#lang-dropdown-panel:not(.hidden) {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#lang-dropdown-panel button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.875rem;
  color: #52525b;
  background-color: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

#lang-dropdown-panel button:hover {
  background-color: #f4f4f5;
  color: #e11d48;
}

/* Book button styling */
#btn-nav-book,
#btn-nav-book-mobile {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: white;
  background-color: #18181b;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
}

#btn-nav-book {
  display: none;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  #btn-nav-book {
    display: block;
  }
}

#btn-nav-book:hover {
  background-color: #e11d48;
  transform: translateY(-3px);
  box-shadow: 0 16px 44px -10px rgba(225, 29, 72, 0.55);
}

#btn-nav-book:active {
  transform: translateY(0) scale(0.97);
}

/* Mobile menu button */
#btn-menu-toggle {
  padding: 0.5rem;
  color: #3f3f46;
  background-color: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#btn-menu-toggle:hover {
  color: #18181b;
  background-color: #f4f4f5;
}

/* Mobile drawer styles */
#mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 40;
  display: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
}

#mobile-overlay.show {
  display: block;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

#mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 384px;
  background-color: white;
  z-index: 50;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-premium);
}

#mobile-drawer.show {
  display: flex;
  transform: translateX(0);
}

@media (min-width: 1024px) {
  #mobile-overlay,
  #mobile-drawer {
    display: none !important;
  }
}

/* Mobile navigation links */
#mobile-drawer a {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #18181b;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f4f4f5;
  transition: color 0.3s ease;
  display: block;
}

#mobile-drawer a:hover {
  color: #e11d48;
}

/* Mobile book button */
#btn-nav-book-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  background-color: #dc2626;
  border-radius: 0.5rem;
  margin-left: 0.5rem;
}

#btn-nav-book-mobile:hover {
  background-color: #b91c1c;
}

#btn-nav-book-mobile:active {
  transform: scale(0.96);
}

@media (min-width: 1024px) {
  #btn-nav-book-mobile,
  #btn-quick-lang {
    display: none !important;
  }
}

/* Subtle cursor-following spotlight glow on hover (service cards) */
.spotlight-card {
  position: relative;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(225, 29, 72, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.spotlight-card:hover::before {
  opacity: 1;
}
.spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* Gentle 3D tilt on hover for feature imagery */
.tilt-card {
  transition: transform 0.5s var(--ease-premium);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Parallax-driven decorative blobs (Hero background accents) */
.parallax-blob {
  will-change: transform;
}

/* Tactile press feedback for primary buttons */
.press-effect {
  transition: transform 0.15s var(--ease-premium);
}
.press-effect:active {
  transform: scale(0.96);
}

/* ============================================================================
   PREMIUM VISUAL LAYER — Liquid Glass, motion & "wow" effects (added upgrade)
   ============================================================================ */

/* Respect users who prefer less motion */
/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  #cursor-glow,
  .aurora span {
    display: none !important;
  }
}

/* Disable heavy/mouse-only effects on touch devices for battery and performance */
@media (pointer: coarse) {
  #cursor-glow,
  .aurora {
    display: none !important;
  }
}

/* ---- Reading-progress bar pinned to the very top ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
  background: linear-gradient(90deg, #e11d48, #fb7185, #e11d48);
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.6);
  transition: transform 0.12s linear;
  pointer-events: none;
}

/* ---- Liquid cursor glow — a soft light that lerps toward the pointer (JS) ---- */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(225, 29, 72, 0.12), rgba(225, 29, 72, 0) 62%);
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}

/* ---- Liquid-glass surfaces ---- */
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.glass-dark {
  background: rgba(9, 9, 11, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---- Liquid-glass BUTTON — smooth morph + sweeping sheen on hover ---- */
.liquid-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium),
    border-radius 0.55s var(--ease-premium), background-color 0.4s ease, letter-spacing 0.5s var(--ease-premium);
  will-change: transform;
}
.liquid-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, 0.45) 50%, transparent 72%);
  transform: translateX(-130%) skewX(-12deg);
  transition: transform 0.75s var(--ease-premium);
}
.liquid-btn:hover::before {
  transform: translateX(130%) skewX(-12deg);
}
.liquid-btn:hover {
  transform: translateY(-3px);
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 44px -10px rgba(225, 29, 72, 0.55);
}
.liquid-btn:active {
  transform: translateY(0) scale(0.97);
}

/* ---- Magnetic wrapper (JS updates the transform) ---- */
.magnetic {
  transition: transform 0.4s var(--ease-premium);
  will-change: transform;
}

/* ---- Glass cards with a cursor-following inner shine ---- */
.glass-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
}
.glass-card::after {
  content: '';
  position: absolute;
  top: var(--spot-y, 50%);
  left: var(--spot-x, 50%);
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
.glass-card:hover::after {
  opacity: 1;
}

/* ---- Extra scroll-reveal variants ---- */
[data-reveal="blur"] {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-premium), filter 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
}
[data-reveal="blur"].in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
[data-reveal="right"] {
  transform: translateX(40px);
}
[data-reveal="right"].in-view {
  transform: translateX(0);
}
/* Stagger children by setting inline style="--d:0.1s" */
[data-reveal] {
  transition-delay: var(--d, 0s);
}

/* ---- Animated aurora backdrop (Hero) ---- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
  animation: aurora-float 20s ease-in-out infinite;
}
.aurora span:nth-child(1) {
  top: -6rem;
  right: 8%;
  width: 26rem;
  height: 26rem;
  background: rgba(244, 63, 94, 0.35);
}
.aurora span:nth-child(2) {
  bottom: -8rem;
  left: 4%;
  width: 24rem;
  height: 24rem;
  background: rgba(251, 191, 36, 0.22);
  animation-delay: -7s;
}
.aurora span:nth-child(3) {
  top: 30%;
  left: 42%;
  width: 20rem;
  height: 20rem;
  background: rgba(225, 29, 72, 0.18);
  animation-delay: -13s;
}
@keyframes aurora-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -34px) scale(1.15);
  }
  66% {
    transform: translate(-32px, 22px) scale(0.9);
  }
}

/* ---- Shimmering gradient text ---- */
.shimmer-text {
  background: linear-gradient(90deg, #e11d48, #fb7185, #e11d48);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.5s linear infinite;
}
.gold-text {
  background: linear-gradient(90deg, #f5d98b, #d4af37, #fff3cf, #d4af37, #f5d98b);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* ---- Navbar drop-in on first load ---- */
@keyframes navDrop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.nav-enter {
  animation: navDrop 0.5s var(--ease-premium) both;
}

/* ---- "Our Works" premium video cards (antique/luxury look) ---- */
.gold-frame {
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12), 0 30px 70px -24px rgba(0, 0, 0, 0.7);
}
.work-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
  will-change: transform;
}
.work-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 34px 80px -28px rgba(225, 29, 72, 0.35), 0 0 0 1px rgba(225, 29, 72, 0.25);
}
.work-video {
  opacity: 1;
  transition: transform 0.8s var(--ease-premium);
}
.work-card:hover .work-video {
  transform: scale(1.04);
}
.work-play {
  transition: transform 0.4s var(--ease-premium), opacity 0.4s ease, background-color 0.3s ease;
}
.work-card.is-playing .work-play {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}
.work-poster {
  transition: opacity 0.5s ease;
}
.work-card.is-playing .work-poster {
  opacity: 0;
}

/* ---- Custom date-picker calendar entrance ---- */
.date-calendar:not(.hidden) {
  animation: dpPop 0.22s var(--ease-premium);
  transform-origin: top center;
}
@keyframes dpPop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---- Branded preloader ---- */
#preloader {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  animation: preloader-pulse 1.4s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.75;
  }
}
.preloader-bar {
  width: 170px;
  height: 3px;
  background: #ffe4e6;
  border-radius: 99px;
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #e11d48, #fb7185);
  border-radius: 99px;
  animation: preloader-slide 1s ease-in-out infinite;
}
@keyframes preloader-slide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(360%);
  }
}

/* ---- Branded scrollbar ---- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #fafafa;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e11d48, #be123c);
  border-radius: 8px;
  border: 2px solid #fafafa;
}
::-webkit-scrollbar-thumb:hover {
  background: #be123c;
}
html {
  scrollbar-width: thin;
  scrollbar-color: #e11d48 #fafafa;
}

/* ---- Infinite brand marquee ---- */
.marquee {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---- Hero scroll-down mouse hint ---- */
.scroll-mouse {
  display: block;
  width: 26px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}
.scroll-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: currentColor;
  animation: scroll-dot 1.7s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

/* ---- Service card icon pop on hover ---- */
#services .spotlight-card:hover .w-14 {
  transform: scale(1.1) rotate(-5deg);
}

/* ---- Confetti burst on successful booking ---- */
.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  top: 18%;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  animation: confetti-fall 1.15s ease-out forwards;
}
@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--cx, 0), var(--cy, 220px)) rotate(var(--cr, 360deg));
  }
}

/* ---- Cinematic video lightbox + audio-reactive glow ---- */
#video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
#video-lightbox.vlb-showing {
  display: flex;
}
#video-lightbox.vlb-open {
  opacity: 1;
}
#video-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}
#video-lightbox-stage {
  position: relative;
  z-index: 10;
  transform: scale(0.82) translateY(18px);
  opacity: 0;
  filter: blur(6px);
  transition: transform 0.55s var(--ease-premium), opacity 0.45s ease, filter 0.5s ease;
}
#video-lightbox.vlb-open #video-lightbox-stage {
  transform: scale(1) translateY(0);
  opacity: 1;
  filter: blur(0);
}
#video-glow {
  border-radius: 28px;
  border: 2px solid rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 24px 2px rgba(225, 29, 72, 0.35);
  transition: box-shadow 0.09s linear, border-color 0.09s linear;
  line-height: 0;
}
#vlb-controls.active {
  opacity: 1 !important;
}
@media (min-width: 640px) {
  #video-lightbox {
    padding: 2rem;
  }
}

/* ---- Header mobile right-bar: prevent overflow on small phones (320-360px) ----
   Logo + lang button + book button + menu icon can exceed available width
   on narrow devices (iPhone SE, budget Android). Shrink progressively. */
@media (max-width: 400px) {
  #site-header .max-w-7xl > div:last-child {
    gap: 0.375rem !important;
  }
  #btn-nav-book-mobile {
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
    font-size: 0.7rem !important;
  }
  #btn-quick-lang {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (max-width: 350px) {
  #btn-quick-lang #lang-quick-label {
    display: none;
  }
  #btn-quick-lang {
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
  }
  #nav-logo img {
    height: 36px !important;
  }
}

/* ---- Mobile compactness — shorter sections on small screens ---- */
@media (max-width: 639px) {
  /* Video cards: show as horizontal scroll strip instead of stacking 3 tall portraits */
  #works .grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  #works .grid > .work-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
  /* Shorter video aspect ratio on mobile */
  .work-card .aspect-\[9\/16\] {
    aspect-ratio: 3 / 4 !important;
  }

  /* About section: shorter image, tighter spacing */
  #about {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  #about .aspect-\[3\/4\] {
    aspect-ratio: 4 / 3 !important;
    border-radius: 20px !important;
  }
  /* Hide the floating "Gipoallergen" card on mobile — takes up too much space */
  #about .absolute.bottom-10 {
    display: none;
  }
  /* Hide the decorative square behind the image */
  #about .absolute.-bottom-6 {
    display: none;
  }

  /* Footer: tighter padding */
  #contact.bg-zinc-950 {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  #contact .pb-12 {
    padding-bottom: 1.5rem !important;
  }
  #contact .gap-12 {
    gap: 1.5rem !important;
  }

  /* Sections general tightening */
  #services {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  #services .mb-16 {
    margin-bottom: 2rem !important;
  }
  #gallery {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  #testimonials {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  #testimonials .mb-16 {
    margin-bottom: 2rem !important;
  }
}
