* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  scroll-behavior: smooth;
}

:root {
  --primary-color: #c2a569;
  --secondary-color: #13171a;
  --card-color: #1b1f22;
  --paragraph-color: #716042;
  --gold: #c7a86a;
  --gold2: #b5944f;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}
/* Header Styles */
.header-content {
  position: relative;
  width: 100%;
  height: 90vh;
  background: url(assets/header.png) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.header-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 20, 0.65),
    rgba(10, 14, 20, 0.35)
  );
  /* animation: fadeIn 3s ease-in-out infinite; */
}
/* 
@keyframes fadeIn {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
} */
.header-content img {
  position: relative;
  width: 100%;
  height: 90vh;
}

/* Gallery Styles */
/* ======================
   Gallery (Horizontal scroll with arrows)
   - Desktop/tablet: arrows
   - Phones: swipe (arrows hidden)
====================== */
.gallery-section {
  position: relative;
  padding: 70px 10%;
  background: var(--secondary-color);
}

.gallery-section .gallery {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 10px 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.gallery-section .gallery::-webkit-scrollbar {
  display: none;
}

.gallery-section .card {
  flex: 0 0 340px;
  scroll-snap-align: start;
}

/* arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--paragraph-color);
  background: var(--gold);
  color: var(--card-colorr);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.6s ease;
}
.gallery-arrow-left {
  left: 3%;
}
.gallery-arrow-right {
  right: 3%;
}

.gallery-arrow:hover {
  background: rgba(19, 23, 26, 0.95);
  box-shadow:
    0 0 30px rgba(161, 133, 76, 0.9),
    0 0 20px rgba(194, 165, 105, 0.9);
  color: var(--primary-color);
}

.card {
  border-radius: 10px;
  background-color: var(--card-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 15px;
  width: calc(20.333% - 30px);
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--primary-color);
  overflow: hidden;
  text-align: center;
  transition: all 0.6s ease;
  letter-spacing: 1px;
}

.card img {
  width: 95%;
  margin: 10px;
  height: 200px;
  border-radius: 10px;
}

.card h3 {
  color: var(--primary-color);
  margin: 5px;
}

.card p {
  color: var(--paragraph-color);
  font-size: 14px;
  margin: 15px;
}

.card a {
  text-decoration: none;
  color: var(--primary-color);
  border: var(--primary-color) 1px solid;
  padding: 5px 10px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.6s ease;
  font-style: italic;
}

.card:hover {
  transform: scaleX(1.5px);
  border-color: rgba(194, 165, 105, 0.9);
  box-shadow:
    0 0px 20px rgba(161, 133, 76, 0.9),
    0 0 20px rgba(194, 165, 105, 0.9);
  transform: scale(1.05);
}

.card a:hover {
  /* transform: translateY(-8px); */
  border-color: rgba(194, 165, 105, 0.9);
  box-shadow:
    0 0 30px rgba(161, 133, 76, 0.9),
    0 0 20px rgba(194, 165, 105, 0.9);
}

.syvra-timeline {
  padding: 50px 0;
  background-color: var(--card-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-wrap {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: start;
}

/* LEFT SIDE */
.timeline-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-right: 600px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(194, 165, 105, 0.45);
  border-radius: 99px;
}

.timeline-dot {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  border: 1px solid rgba(194, 165, 105, 0.7);
  background: var(--card-color);
  display: grid;
  place-items: center;
  color: var(--primary-color);
  z-index: 2;
  box-shadow: 0 0 25px rgba(194, 165, 105, 0.1);
  transition: all 0.6s ease;
}

.timeline-dot:hover {
  box-shadow:
    0 0 30px rgba(161, 133, 76, 0.9),
    0 0 20px rgba(194, 165, 105, 0.9);
  transform: scale(1.1);
}

.timeline-dot i {
  font-size: 40px;
}

/* RIGHT SIDE */
.timeline-right {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-left: 200px;
}

.timeline-box {
  position: relative;
  padding: 16px 18px 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(194, 165, 105, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  width: 100%;
  transition: all 0.6s ease;
}

.timeline-box:hover {
  transform: translateX(10px);
  border-color: rgba(194, 165, 105, 0.9);
  box-shadow:
    0 10px 30px rgba(161, 133, 76, 0.9),
    0 0 20px rgba(194, 165, 105, 0.9);
}

/* the little notch on the left like the screenshot */
.timeline-box::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 30px;
  width: 18px;
  height: 18px;
  background: rgba(0, 0, 0, 0.18);
  border-left: 1px solid rgba(194, 165, 105, 0.55);
  border-bottom: 1px solid rgba(194, 165, 105, 0.55);
  transform: rotate(45deg);
  border-bottom-left-radius: 4px;
}

.timeline-box h3 {
  margin: 0 0 6px;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}

.timeline-box p {
  margin: 0;
  color: var(--paragraph-color);
  font-size: 13px;
  line-height: 1.55;
}

/* FOOTER SECTION */
.footer-section {
  position: relative;
  width: 100%;
  min-height: 100vh; /* better than height: 100vh */
  display: flex;
  align-items: center;

  padding: 80px 10% 90px; /* extra bottom space for copyright */
  background-color: #13171a; /* fallback so you never see white */
  background-image: url(assets/footer.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* FULL-WIDTH INNER WRAP */
.footer-section .container {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* pushes form to the right */
  align-items: flex-start;
}

/* FORM BOX */
.contact-form {
  width: min(480px, 100%);
  margin-left: auto; /* keeps it on the right */
}

/* FORM STYLE (scoped so it doesn't affect other forms) */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.contact-form form input,
.contact-form form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #c7a86a;
  border-radius: 6px;
  background-color: #1a1a1a;
  color: #f5f5f5;
  font-size: 16px;
  font-weight: 500;
  box-shadow: inset 0 0 5px rgba(255, 215, 0, 0.1);
  resize: none;
  z-index: 2;
}

.contact-form form input::placeholder,
.contact-form form textarea::placeholder {
  color: rgba(255, 215, 0, 0.5);
}

.contact-form form input:focus,
.contact-form form textarea:focus {
  outline: none;
  border-color: #e2c47f;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.contact-form form #submit {
  background: linear-gradient(90deg, #c7a86a, #e2c47f);
  color: #000;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.contact-form form #submit:hover {
  background: linear-gradient(90deg, #e2c47f, #c7a86a);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* SOCIAL ICONS BOTTOM LEFT */
.social-icon {
  position: absolute;
  right: 14%;
  bottom: 90px; /* sits above copyright */
  display: flex;
  gap: 18px;
  z-index: 5;
}

.social-icon a {
  color: var(--primary-color);
  font-size: 42px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.social-icon a:hover {
  transform: translateY(-7px);
  opacity: 0.9;
}

#form-status {
  color: var(--primary-color);
  padding: 3px;
  font-size: 14px;
}

/* COPYRIGHT CENTER BOTTOM */
.copyright-banner {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: var(--primary-color);
  font-size: 14px;
  z-index: 5;
  pointer-events: none;
}

.footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    /* lighter at the top */ rgba(10, 14, 20, 0.25),
    rgba(10, 14, 20, 0.65) /* darker as it goes down */
  );
  z-index: 1;
  /* animation: fadeIn 3s ease-in-out infinite; */
}

/* designing the entire body scroll bar and text selecinng */

/* Global scrollbar (main page) */
body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #13171a; /* Dark track */
  border-radius: 8px;
}

body::-webkit-scrollbar-thumb {
  background: gold;
  border-radius: 8px;
  border: 2px solid #13171a; /* Depth effect */
}

body::-webkit-scrollbar-thumb:hover {
  background: #e2c47f; /* Lighter gold on hover */
}

/* Textarea scrollbar */
textarea::-webkit-scrollbar {
  width: 10px;
}

textarea::-webkit-scrollbar-track {
  background: #13171a;
  border-radius: 8px;
}

textarea::-webkit-scrollbar-thumb {
  background: gold;
  border-radius: 8px;
  border: 2px solid #13171a;
}

textarea::-webkit-scrollbar-thumb:hover {
  background: #e2c47f;
}

/* Chrome, Edge, Safari */
::selection {
  background-color: #1b1f22; /* Dark background */
  color: gold; /* Gold text */
}

/* Firefox */
::-moz-selection {
  background-color: #1b1f22;
  color: gold;
}

/* Resposive */

/* MOBILE: STACK + center socials */

/* =========================
   RESPONSIVE OVERRIDES
   (Laptop / Tablet / Mobile)
   NOTE: Base styles above stay unchanged
========================= */

/* Laptop / smaller desktops (incl. many foldables in landscape) */
@media (max-width: 1440px) {
  .header-content {
    height: 85vh;
    background-attachment: fixed;
  }

  .gallery-section {
    padding: 60px 6%;
  }

  .syvra-timeline {
    padding: 60px 6%;
  }

  /* Footer: remove image on laptop too */
  .footer-section {
    padding: 70px 6% 90px;
    background-image: none !important;
    background-color: var(--secondary-color) !important;
    background-attachment: fixed;
    min-height: auto;
  }

  /* FOOTER */
  .footer-section {
    background-image: none !important;
    background-color: var(--card-color) !important;
    padding: 40px 16px 30px;
    min-height: auto;
  }

  .footer-section .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .contact-form,
  .contact-form form {
    width: 70%;
    max-width: 100%;
  }

  /* SOCIALS */
  .social-icon {
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .social-icon a {
    font-size: 36px;
  }

  .copyright-banner {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }
}
/* Tablets (iPads, Fold in portrait, etc.) */
@media (max-width: 1024px) {
  .header-content {
    height: 78vh;
    background-attachment: fixed;
    background-position: center;
  }

  .gallery-section {
    padding: 50px 5%;
  }

  .gallery-section .card {
    flex-basis: 300px;
  }

  .syvra-timeline {
    padding: 55px 5%;
  }

  /* Center timeline boxes on tablets */

  /* Center timeline content nicely */
  .timeline-wrap {
    max-width: 720px;
    margin: 0 auto;
  }
  .timeline-right {
    align-items: stretch;
  }
  .timeline-box {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  /* Timeline becomes single column */
  .timeline-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .timeline-left {
    flex-direction: row;
    justify-content: center;
    gap: 18px;
    padding-right: 0;
  }
  .timeline-line {
    display: none;
  }
  .timeline-right {
    padding-left: 0;
    gap: 22px;
  }

  /* FOOTER */
  .footer-section {
    background-image: none !important;
    background-color: var(--card-color) !important;
    padding: 40px 16px 30px;
    min-height: auto;
  }

  .footer-section .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .contact-form,
  .contact-form form {
    width: 100%;
    max-width: 100%;
  }

  /* SOCIALS */
  .social-icon {
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .social-icon a {
    font-size: 36px;
  }

  .copyright-banner {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }
}

/* Foldables / small tablets */
@media (max-width: 900px) {
  .gallery-section .card {
    flex-basis: 270px;
  }
  .gallery-arrow {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  /* Center timeline content nicely */
  .timeline-wrap {
    max-width: 720px;
    margin: 0 auto;
  }
  .timeline-right {
    align-items: stretch;
  }
  .timeline-box {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  /* Timeline becomes single column */
  .timeline-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .timeline-left {
    flex-direction: row;
    justify-content: center;
    gap: 18px;
    padding-right: 0;
  }
  .timeline-line {
    display: none;
  }
  .timeline-right {
    padding-left: 0;
    gap: 22px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .gallery-arrow {
    display: none !important;
  }

  .header-content {
    height: 70vh;
    background-attachment: fixed;
  }

  .gallery-section {
    padding: 40px 5%;
  }
  .gallery-section .card {
    flex-basis: 85%;
  }

  /* Force true full width on phones (fix side gaps) */
  html,
  body {
    overflow-x: hidden;
  }
  footer,
  .footer-section,
  .footer-section .container {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
  }

  .footer-section {
    padding: 40px 16px 30px; /* real mobile padding */
  }

  .footer-section .container {
    align-items: stretch; /* make form full width */
  }

  .contact-form,
  .contact-form form {
    width: 100%;
    max-width: 100%;
  }

  /* Center timeline content nicely */
  .timeline-wrap {
    max-width: 720px;
    margin: 0 auto;
  }
  .timeline-right {
    align-items: stretch;
  }
  .timeline-box {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  /* Timeline becomes single column */
  .timeline-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .timeline-left {
    flex-direction: row;
    justify-content: center;
    gap: 18px;
    padding-right: 0;
  }
  .timeline-line {
    display: none;
  }
  .timeline-right {
    padding-left: 0;
    gap: 22px;
  }

  /* Footer layout stacks */
  .footer-section {
    padding: 50px 5% 40px;
    background-image: none !important;
    background-color: var(--card-color) !important;
    min-height: auto;
  }
  .footer-section .container {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
  }
  form {
    width: 100%;
    max-width: 100%;
  }
  .social-icon {
    position: static;
    margin-top: 6px;
    justify-content: center;
  }
  .social-icon a {
    font-size: 40px;
  }
  .copyright-banner {
    position: static;
    margin-top: 6px;
    padding-bottom: 10px;
    text-align: center;
  }
}

/* Touch devices: cancel hover animations + hide arrows (swipe instead) */
@media (hover: none), (pointer: coarse) {
  .gallery-arrow {
    display: none !important;
  }

  .card,
  .timeline-dot,
  .timeline-box,
  .social-icon a,
  form #submit {
    transition: none !important;
  }

  .card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .timeline-dot:hover,
  .timeline-box:hover,
  .social-icon a:hover,
  form #submit:hover {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* =========================
   MOBILE HARD FIXES
   (Full width + centered)
========================= */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }
  .header-content {
    position: relative;
    width: 100%;
    height: 90vh;
    background: url(assets/logo.png) no-repeat;
    background-color: var(--card-color);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
  }
  /* FULL WIDTH FIX */
  footer,
  .footer-section,
  .footer-section .container {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  /* FOOTER */
  .footer-section {
    background-image: none !important;
    background-color: var(--card-color) !important;
    padding: 40px 16px 30px;
    min-height: auto;
  }

  .footer-section .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .contact-form,
  .contact-form form {
    width: 100%;
    max-width: 100%;
  }

  /* SOCIALS */
  .social-icon {
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .social-icon a {
    font-size: 36px;
  }

  .copyright-banner {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }

  /* TIMELINE CENTER FIX */
  .syvra-timeline {
    padding: 50px 16px;
  }

  .timeline-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timeline-left {
    flex-direction: row;
    justify-content: center;
    gap: 18px;
    width: 100%;
  }

  .timeline-right {
    width: 100%;
    align-items: center;
  }

  .timeline-box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* =========================
   Syvra Cursors (fixed)
   - Default cursor: gold arrow (cursor.png)
   - Pointer cursor: gold hand (cursor-pointer.png)
========================= */
html,
body {
  cursor:
    url("assets/cursor.png") 6 6,
    auto;
}

/* links + buttons + submit + gallery arrows */
a,
a *,
button,
button *,
.send,
input[type="button"],
input[type="reset"],
#submit,
.send,
.gallery-arrow,
.gallery-arrow * {
  cursor:
    url("assets/cursor-pointer.png") 6 6,
    pointer !important;
}

/* ===== Syvra Hero + Language Switcher ===== */
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8%;
}
.hero-copy {
  max-width: 760px;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.hero-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.7;
  margin-bottom: 22px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.hero-btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #121416;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-btn.ghost {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.hero-btn:hover {
  transform: translateY(-1px);
}

/* Language switcher (desktop top-right, mobile/tablet side toggle) */
.lang-switcher {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  display: inline-block;
  width: max-content;
}

.lang-toggle {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.lang-caret {
  font-size: 12px;
  opacity: 0.85;
}
.lang-panel {
  will-change: transform;

  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  max-height: 340px;
  overflow-y: auto;
  display: none;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  scrollbar-gutter: stable;
  z-index: 1;
}
.lang-panel.open {
  display: block;
}
.lang-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
}
.lang-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-toggle {
  border-radius: 999px;
  padding: 12px 12px;
}
.lang-panel {
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(-14px);
  margin-top: 0;
}

/* RTL support */
html[dir="rtl"] .lang-switcher {
  right: auto;
  left: 18px;
}
@media (max-width: 900px) {
  html[dir="rtl"] .lang-switcher {
    left: 12px;
    right: auto;
  }
  htmlhtml[dir="rtl"] .lang-item {
    text-align: right;
  }
}

.card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== Mobile menu (for future nav links + language) ===== */
.menu-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  backdrop-filter: blur(10px);
  display: none; /* visible on tablets/phones */
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 7;
  display: none;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  overflow: auto;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mobile-menu-brand {
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  opacity: 0.95;
}

.menu-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 10px;
}

.mobile-lang {
  margin-top: 18px;
}

.mobile-lang-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.mobile-lang-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-lang-label {
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

.mobile-lang-current {
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
}

.mobile-lang.open .mobile-lang-list {
  display: grid;
}

.mobile-lang-list {
  display: none;
  margin-top: 10px;
  gap: 10px;
}

.mobile-lang .lang-item {
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

/* Responsive behavior:
   - PC: show floating language button (no bar)
   - Tablets/phones: hide floating lang button, show hamburger that opens menu */
@media (max-width: 900px) {
  .lang-switcher {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  width: 240px;
  max-height: 340px;
  overflow-y: auto;
  display: none;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.lang-menu.open {
  display: block;
}

.lang-menu {
  scrollbar-gutter: stable;
}

/* RTL dropdown anchoring */
html[dir="rtl"] .lang-switcher {
  right: auto;
  left: 18px;
}
htmlhtml[dir="rtl"] .lang-item {
  text-align: right;
}

html {
  scrollbar-gutter: stable;
}

#langSwitcher {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
}

.lang-panel.open,
.lang-panel.active {
  display: block;
}

#langSwitcher {
  pointer-events: auto;
}
.lang-panel {
  z-index: 10000;
}
.lang-toggle {
  z-index: 10001;
  position: relative;
}

.lang-panel.open {
  display: block;
}

.lang-panel.open {
  display: block;
}

/* ===== Custom Scrollbar ===== */
.lang-panel::-webkit-scrollbar {
  width: 8px;
}

.lang-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.lang-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c2a569, #8f7843);
  border-radius: 8px;
}

.lang-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d8b873, #a88c4e);
}

/* Firefox */
.lang-panel {
  scrollbar-width: thin;
  scrollbar-color: #c2a569 rgba(255, 255, 255, 0.05);
}
:root {
  --safe-pad: 12px;
}
[dir="rtl"] .lang-panel {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
/* ===== Gallery Cards ===== */
