/* =========================================
   STUDIO 21 — Wedding Photography Studio
   ========================================= */

:root {
  --bg: #0c0b09;
  --surface: #141210;
  --surface2: #1c1916;
  --border: #2a2520;
  --gold: #c9a96e;
  --gold-dim: rgba(201, 169, 110, 0.12);
  --gold-light: #e8c98a;
  --text: #f0ece4;
  --muted: #8a7e6e;
  --muted2: #5a5040;
  --radius: 4px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(12px);
  padding: 16px 60px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--text);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 15px;
    letter-spacing: 3px;
    padding: 12px 24px;
  }
  .nav-burger { display: flex; z-index: 101; }
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  animation: kenBurns 12s ease-in-out infinite alternate;
}

.hero-slide.active {
  opacity: 1;
}

@keyframes kenBurns {
  0%   { transform: scale(1)    translateX(0%)   translateY(0%); }
  100% { transform: scale(1.08) translateX(-1%)  translateY(-1%); }
}

.hero-parallax::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,11,9,0.3) 0%,
    rgba(12,11,9,0.5) 50%,
    rgba(12,11,9,0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  animation: heroFade 1.4s ease both;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 48px;
}

.btn-hero {
  display: inline-block;
  padding: 16px 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.btn-hero:hover {
  background: var(--gold);
  color: var(--bg);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted2);
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =========================================
   STATS
   ========================================= */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 60px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(
    90deg,
    var(--text) 0%,
    var(--text) 35%,
    var(--gold-light) 50%,
    var(--text) 65%,
    var(--text) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { background-position: 100% center; }
  50%  { background-position: 0% center; }
  100% { background-position: 100% center; }
}

.stat-number em {
  font-style: normal;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 768px) {
  .stats { padding: 40px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
}

/* =========================================
   RINGS ANIMATION SECTION
   ========================================= */
.rings-section {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* Subtle gold radial glow behind rings */
.rings-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.rings-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  padding-top: 85px;
}

/* Both rings are absolutely positioned so we can move them independently */
.ring {
  position: absolute;
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 0 12px rgba(201,169,110,0.5));
}

/* Start positions: left ring off to the left, right ring off to the right */
.ring-left  { left: calc(50% - 65px); transform: translateY(-50%) translateX(-280px); }
.ring-right { left: calc(50% - 65px); transform: translateY(-50%) translateX( 280px); }

/* When united — glowing state */
.ring.united {
  filter: drop-shadow(0 0 18px rgba(201,169,110,0.7));
}
.rings-heart {
  position: absolute;
  top: calc(50% - 120px);
  left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 1.6rem;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 0 8px rgba(255,150,180,0.9));
  transition: none;
}

.rings-heart.visible {
  animation: heartPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             heartShine 2s ease-in-out 0.5s infinite;
}

@keyframes heartPop {
  0%   { opacity: 0; transform: translateX(-50%) scale(0); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes heartShine {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255,150,180,0.7)); }
  50%       { filter: drop-shadow(0 0 18px rgba(255,180,210,1)); }
}

/* Sparkle burst */
.rings-sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.rings-sparkle.burst {
  animation: sparkleBurst 1.0s ease forwards;
}

@keyframes sparkleBurst {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(0.4); }
  30%  { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
  60%  { opacity: 0.8; transform: translate(-50%, -50%) scale(1.0); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(1.3); }
}

.sparkle-glow {
  transform-origin: 100px 100px;
  animation: none;
}

.rings-sparkle.burst .sparkle-glow {
  animation: glowPulse 1.0s ease forwards;
}

@keyframes glowPulse {
  0%   { opacity: 0;   r: 20; }
  40%  { opacity: 1;   r: 55; }
  100% { opacity: 0;   r: 70; }
}

.rings-sparkle.burst .sparkle-rays {
  animation: raysBurst 1.0s ease forwards;
}

@keyframes raysBurst {
  0%   { opacity: 0; stroke-width: 1; }
  30%  { opacity: 1; stroke-width: 2.5; }
  100% { opacity: 0; stroke-width: 1; }
}

.sparkle-dot {
  transform-origin: 100px 100px;
}

.rings-sparkle.burst .sparkle-dot {
  animation: dotPop 1.0s ease forwards;
}

@keyframes dotPop {
  0%   { opacity: 0; r: 1; }
  35%  { opacity: 1; r: 4; }
  100% { opacity: 0; r: 2; }
}

/* Tagline below the rings */
.rings-tagline {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
}

.rings-tagline.visible {
  opacity: 1;
}

@media (max-width: 600px) {
  .rings-section { padding: 80px 0 70px; }
  .rings-scene   { height: 200px; }
  .ring          { width: 110px; height: 110px; }
  .ring-left     { left: calc(50% - 55px); transform: translateY(-50%) translateX(-210px); }
  .ring-right    { left: calc(50% - 55px); transform: translateY(-50%) translateX( 210px); }
  .rings-sparkle { width: 130px; height: 130px; }
  .rings-tagline { font-size: 0.95rem; white-space: normal; text-align: center; width: 90%; }
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.about-text h2,
.services-inner h2,
.gallery-inner h2,
.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 28px;
}

.about-text h2 em,
.services-inner h2 em,
.gallery-inner h2 em,
.contact-inner h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.about-text p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.85;
}

.about-img-frame {
  position: relative;
}

.about-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: grayscale(20%);
  animation: kenBurns 12s ease-in-out infinite alternate;
}

.about-slide.active {
  opacity: 1;
}

.about-slide:hover { filter: grayscale(0%); }

.about-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 24px;
  letter-spacing: 2px;
}

@media (max-width: 900px) {
  .about { padding: 80px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-image { order: -1; }
}

/* =========================================
   SERVICES
   ========================================= */
.services {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 60px;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-inner p { color: var(--muted); margin-bottom: 60px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}

.service-card {
  background: var(--surface);
  padding: 48px 32px;
  text-align: center;
  transition: background 0.3s;
}

.service-card:hover { background: var(--surface2); }

.service-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .services { padding: 80px 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =========================================
   GALLERY
   ========================================= */
.gallery-section {
  padding: 120px 60px;
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: -10px;
  margin-bottom: 48px;
}

.firebase-status {
  display: none;
}

.fb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted2);
  transition: background 0.4s;
}

.fb-dot.on  { background: #6fcf97; box-shadow: 0 0 8px #6fcf9766; }
.fb-dot.err { background: #eb5757; }

.gallery-loading {
  padding: 60px;
  display: flex;
  justify-content: center;
}

.loader {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  animation: fadeUp 0.5s ease both;
  -webkit-tap-highlight-color: transparent;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s;
  filter: grayscale(15%);
}

.gallery-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .gallery-card img { filter: grayscale(0%); }
  .gallery-card .card-overlay { opacity: 1; }
}

.gallery-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,11,9,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-card:hover .card-overlay { opacity: 1; }

.gallery-card .card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
}

/* =========================================
   SKELETON LOADING
   ========================================= */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface2);
}

.skeleton-title {
  height: 14px;
  margin: 14px 16px;
  background: var(--surface2);
  border-radius: 3px;
  width: 60%;
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

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

.gallery-empty {
  display: none;
  padding: 80px;
  font-size: 14px;
  color: var(--muted2);
  letter-spacing: 1px;
}

.gallery-empty.visible { display: block; }

@media (max-width: 768px) {
  .gallery-section { padding: 80px 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 120px 60px;
  text-align: center;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 60px;
  line-height: 1.85;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  text-align: center;
}

.contact-icon {
  font-size: 1.3rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
}

.contact-icon svg {
  color: var(--gold);
  stroke: var(--gold);
}

.contact-item a {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: color 0.3s;
  padding: 4px 0;
}

.contact-item a:hover { color: var(--text); }

@media (max-width: 768px) {
  .contact { padding: 80px 24px; }
  .contact-details { gap: 40px; }
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-form-wrap {
  margin-top: 60px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-wrap .form-group {
  margin-bottom: 16px;
}

.contact-form-wrap label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 14px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--gold);
}

.contact-form-wrap textarea {
  height: 140px;
  resize: vertical;
}

.btn-send {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
  min-height: 48px;
}

.btn-send:hover { opacity: 0.85; }
.btn-send:disabled { opacity: 0.4; cursor: not-allowed; }

.form-status {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.5px;
  display: none;
}

.form-status.success { display: block; color: #6fcf97; }
.form-status.error   { display: block; color: #eb5757; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================
   LANGUAGE SWITCHER
   ========================================= */
.lang-hint {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 9px;
  font-family: var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}

.lang-hint.fade {
  opacity: 0;
}

.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
  position: relative;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 8px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  min-height: 40px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover {
  color: var(--text);
  border-color: var(--border);
}

.lang-btn.active {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .lang-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px;
    z-index: 200;
    gap: 2px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }
  .lang-hint { display: none; }
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted2);
}

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(12,11,9,0.97);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lbFade 0.3s ease;
  overflow: hidden;
  touch-action: pan-x pinch-zoom;
}

.lightbox.open { display: flex; }

@keyframes lbFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--border);
  display: block;
  position: relative;
  z-index: 1;
  background: transparent;
}
.lightbox p {
  margin-top: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 28px; right: 36px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
  letter-spacing: 1px;
  padding: 12px;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { color: var(--text); }

/* =========================================
   CUSTOM DELETE CONFIRM MODAL
   ========================================= */
/* (used in admin.html — harmless to include here for shared reference) */
/* =========================================
   FLOATING ACTION BUTTON (mobile only)
   ========================================= */
.fab-wrap {
  display: none;
  position: fixed;
  left: 20px;
  bottom: -40px;
  z-index: 300;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .fab-wrap { display: flex; }
}

.fab-main {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: var(--bg);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201,169,110,0.45);
  transition: transform 0.3s, background 0.3s;
  position: relative;
  z-index: 1;
}

.fab-main:hover { background: var(--gold-light); }

.fab-icon-close { display: none; }
.fab-icon-open  { display: flex; }

.fab-wrap.open .fab-icon-close { display: flex; }
.fab-wrap.open .fab-icon-open  { display: none; }
.fab-wrap.open .fab-main       { transform: rotate(45deg); }

.fab-actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fab-wrap.open .fab-actions {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}

.fab-action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  box-shadow: 0 3px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s, opacity 0.2s;
}

.fab-action:hover { transform: scale(1.1); }

.fab-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fab-whatsapp  { background: #25d366; }
.fab-contact   { background: var(--gold); }
.fab-location  { background: #4a90d9; }
.fab-action {
  position: relative;
}

.fab-label {
  position: absolute;
  left: 54px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.fab-wrap.open .fab-label {
  opacity: 1;
  transform: translateX(0);
}
.gallery-load-more {
  text-align: center;
  margin-top: 40px;
  display: none;
}
.gallery-load-more.visible { display: block; }

.btn-load-more {
  padding: 14px 40px;
  border: 1px solid var(--gold);
  background: none;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn-load-more:hover {
  background: var(--gold);
  color: var(--bg);
}
#lbImg {
  display: block;
  background: transparent;
  min-height: 0;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  flex-shrink: 0;
}
.lb-swipe-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: swipeHintFade 3s ease 1s forwards;
  pointer-events: none;
  white-space: nowrap;
}

@keyframes swipeHintFade {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}
/* =========================================
   LOCATIONS
   ========================================= */
.locations {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 120px 60px;
}

.locations-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.locations-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 60px;
}

.locations-inner h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.location-map {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) invert(90%) hue-rotate(180deg);
  opacity: 0.85;
}

.location-info {
  padding: 24px 28px;
  text-align: left;
}

.location-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.location-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--muted);
}

.loc-icon { font-size: 14px; }

.location-detail a {
  color: var(--gold);
  transition: color 0.3s;
  font-size: 13px;
}

.location-detail a:hover { color: var(--gold-light); }

@media (max-width: 768px) {
  .locations { padding: 80px 24px; }
  .locations-grid { grid-template-columns: 1fr; gap: 24px; }
  .location-map { height: 220px; }
}