/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
  /* New Color Palette */
  --bg: #f5f5f0;           /* Background - Light cream */
  --paper: #fff;
  --text: #5a3c0b;         /* Dark brown text */
  --muted: #5a3c0b;
  --primary: #5a3c0b;      /* Dark brown primary */
  --accent: #ebc176;       /* Gold accent */
  --accent-d: #c48b28;     /* Darker gold */
  --ink: #24324a;
  
  /* Layout */
  --max: 1260px;
  
  /* Effects */
  --shadow: 0 18px 50px rgba(0, 0, 0, .12);
}


/* ==========================================================================
   Base / Reset / Typography
   ========================================================================== */

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.75;
}

body {
  margin-right: 0 !important;
  padding-right: 0 !important;
}

p {
  max-width: 100vw;
  word-break: break-word;
  overflow-wrap: break-word;
  padding-left: 8px;
  padding-right: 8px;
}

h1,
h2,
h3,
h4 {
  color: var(--primary);
  line-height: 1.12;
  margin: 0 0 .6rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.container,
main {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}


/* ==========================================================================
   Header / Navigation
   ========================================================================== */


@keyframes float {
  0% {
    transform: translateX(-2%);
  }
  100% {
    transform: translateX(2%);
  }
}


/* ==========================================================================
   Buttons - Stil Nou Simplificat (Solid Colors)
   ========================================================================== */

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 24px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

@media (min-width: 761px) {
  
}

.btn-primary {
  background: #ebc176; /* Culoarea principală (Gold) */
  color: #5a3c0b;      /* Text maro pentru contrast */
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: none;    /* Eliminat umbra complexă */
}

.btn-primary:hover {
  background: #5a3c0b; /* Devine maro la hover */
  color: #ebc176;      /* Textul devine gold la hover */
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid #5a3c0b;
  color: #5a3c0b;
  font-weight: 600;
}

.btn-outline:hover {
  background: rgba(90, 60, 11, 0.05);
  transform: translateY(-2px);
}


/* ==========================================================================
   Headings Ornament
   ========================================================================== */

.h-orn {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.h-orn::after {
  content: '';
  display: block;
  width: 240px;
  height: 18px;
  background: url('assets/img/ornament.svg') center/contain no-repeat;
}


/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 82vh;
  min-height: 82dvh;
  background: #000;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25));
}

.hero .content {
  position: relative;
  color: #fff;
  padding: 20vh 0 12vh;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .5);
}

.hero h1 {
  color: #fff;
  font-weight: normal;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 2px;
}

.hero .lead {
  max-width: 820px;
  opacity: .96;
}

.hero .titlu-mare {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: bold;
  line-height: 1.1;
  margin: 0 0 8px 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.hero .descriere {
  max-width: 820px;
  font-size: 1.1em;
  line-height: 1.5;
  opacity: .96;
  color: #fff;
}

.ornament-bar {
  --orn-color: #ebc176;
  --tile: 12px;
  --radius: 6px;
  --line-h: 2px;

  display: block;
  width: 100%;
  height: calc(var(--tile) + var(--line-h));
  background:
    linear-gradient(90deg,
      transparent 0,
      transparent 10px,
      var(--orn-color) 10px,
      var(--orn-color) 11px,
      transparent 11px) bottom/12px var(--line-h) repeat-x,
    radial-gradient(var(--radius) var(--radius) at var(--radius) 0,
      var(--orn-color) 98%,
      transparent 100%) bottom left/var(--tile) var(--tile) repeat-x;
  opacity: .95;
}


/* ==========================================================================
   Header / Navigation - FROM TURISM.CSS
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 95;
}

@media (max-width: 760px) {
  /* Pe mobil folosim fixed ca headerul sa ramana vizibil
     si cand meniul e deschis dupa scroll */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 96;
  }

  /* Compensam spatiul ocupat de header fixed */
  body {
    padding-top: 76px;
  }
}

.nav-wrap {
  position: relative;
  margin: 10px auto;
  width: min(100% - 24px, var(--max));
  border-radius: 22px;
}

@keyframes float {
  0% {
    transform: translateX(-2%);
  }
  100% {
    transform: translateX(2%);
  }
}

.glassbar {
  border-radius: 22px;
  position: relative;
  z-index: 1;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  backdrop-filter: blur(16px) saturate(160%);
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .18));
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: var(--shadow);
  /* will-change si transform ELIMINATE - creau un nou containing block
     care strica position:fixed pe meniu */
  backface-visibility: hidden;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  color: var(--primary);
}

/* Responsive logo size */
.logo img {
  height: 60px;
  vertical-align: middle;
}

@media (max-width: 760px) {
  .logo img {
    height: 44px;
  }

  .glassbar {
    height: 60px !important;
    padding: 0 12px !important;
  }

  .nav-wrap {
    margin: 8px auto !important;
  }
}


.nav-toggle {
  display: none;
  background: none !important;
  border: 0 !important;
  font-size: 24px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 4px !important;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.primary-nav ul {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.primary-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
}

.primary-nav a:hover {
  background: rgba(90, 60, 11, .08);
}

.primary-nav a:active {
  background: rgba(90, 60, 11, .14);
}

.primary-nav .btn {
  padding: 10px 14px;
}

.primary-nav .btn-primary:hover {
  background: var(--accent-d) !important;
}

@media (min-width: 761px) {
  .glassbar {
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
  }
}

/* ==========================================================================
   Desktop - Show description
   ========================================================================== */

@media (min-width: 761px) {
  .descriere-hide-mobile {
    display: block !important;
  }
}


/* ==========================================================================
   Mobile Navigation - FROM TURISM.CSS
   ========================================================================== */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
}

.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-backdrop[hidden] {
  display: none;
}

@media (max-width: 760px) {
  /* Navigation */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    /* position: fixed înlăturat — butonul rămâne în glassbar (sticky)
       și nu se desincronizează față de header după scroll */
    position: relative;
    z-index: 1002;
    cursor: pointer;
    color: #5a3c0b;
    line-height: 1;
    font-size: 26px !important;
    width: 44px;
    height: 44px;
  }
  
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 400px;
    height: 100vh;     /* fallback */
    height: 100dvh;    /* viewport real pe mobil (fără browser chrome) */
    z-index: 1001;
    background: var(--bg);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    flex-direction: column;

  }
  
  .primary-nav.is-open {
    display: flex;
  }

  /* Buton X de inchidere in interiorul meniului */
  .nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    padding: 0;
  }

  .nav-close:hover {
    background: rgba(90, 60, 11, 0.08);
  }
  
  /* Mobile menu header */
  .primary-nav .menu-header-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(90, 60, 11, 0.1);
  }
  
  .primary-nav .menu-logo-mobile {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
  }
  
  /* Logo în header-ul meniului mobil */
  .menu-header-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px 40px;
    border-bottom: 2px solid rgba(90, 60, 11, 0.2);
  }
  
  .menu-logo-mobile {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  }
  
  .primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 30px 0;
    list-style: none;
    flex: 1;
    width: 100%;
  }
  
  .primary-nav ul li {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .primary-nav ul li a {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.1em;
    font-weight: 700;
    color: #5a3c0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    border-bottom: 1px solid rgba(90, 60, 11, 0.08);
    transition: background 0.15s ease;
    min-height: 44px;
    text-decoration: none;
  }
  
  .primary-nav ul li a:hover {
    background: rgba(90, 60, 11, 0.08);
    text-decoration: none;
  }
  
  .primary-nav ul li a:active {
    background: rgba(90, 60, 11, 0.15);
  }
  
  .primary-nav .btn-primary {
    background: transparent;
    border: none;
    border-radius: 0;
    min-width: auto;
    box-shadow: none;
    text-transform: uppercase;
    transition: background 0.15s ease;
    text-decoration: none;
  }
  
  .primary-nav .btn-primary:hover {
    background: rgba(90, 60, 11, 0.1) !important;
    box-shadow: none !important;
    text-decoration: none;
  }
  
  .primary-nav .btn-primary:active {
    background: rgba(90, 60, 11, 0.2) !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }
  
  /* Footer menu mobil cu iconițe sociale */
  .menu-footer-mobile {
    margin-top: auto;
    padding: 30px 20px;
    border-top: 1px solid rgba(90, 60, 11, 0.15);
  }
  
  .menu-social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
  }
  
  .menu-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(90, 60, 11, 0.15);
    color: #5a3c0b;
    transition: background 0.15s ease;
    padding: 0;
    min-width: auto;
    text-decoration: none;
  }
  
  .menu-social-icons a:hover {
    background: rgba(90, 60, 11, 0.25);
    text-decoration: none;
  }
  
  .menu-social-icons svg {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 761px) {
  .menu-header-mobile {
    display: none !important;
  }

  .menu-logo-mobile {
    display: none !important;
  }

  .menu-footer-mobile {
    display: none !important;
  }
}


/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 82vh;
  min-height: 82dvh;
  background: #000;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25));
}

.hero .content {
  position: relative;
  color: #fff;
  padding: 20vh 0 12vh;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .5);
}

.hero h1 {
  color: #fff;
  font-weight: normal;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 2px;
}

.hero .lead {
  max-width: 820px;
  opacity: .96;
}

.hero .titlu-mare {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: bold;
  line-height: 1.1;
  margin: 0 0 8px 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.hero .descriere {
  max-width: 820px;
  font-size: 1.1em;
  line-height: 1.5;
  opacity: .96;
  color: #fff;
}

.ornament-bar {
  --orn-color: #ebc176;
  --tile: 12px;
  --radius: 6px;
  --line-h: 2px;

  display: block;
  width: 100%;
  height: calc(var(--tile) + var(--line-h));
  background:
    linear-gradient(90deg,
      transparent 0,
      transparent 10px,
      var(--orn-color) 10px,
      var(--orn-color) 11px,
      transparent 11px) bottom/12px var(--line-h) repeat-x,
    radial-gradient(var(--radius) var(--radius) at var(--radius) 0,
      var(--orn-color) 98%,
      transparent 100%) bottom left/var(--tile) var(--tile) repeat-x;
  opacity: .95;
}


/* ==========================================================================
   Mobile Navigation
   ========================================================================== */


  
  
  
  @keyframes ob-pop-close {
    from {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    to {
      opacity: 0;
      transform: translateY(-6px) scale(.98);
    }
  }
  
  
  
  @keyframes ob-pop {
    from {
      opacity: 0;
      transform: translateY(-6px) scale(.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* Mobile menu header */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* Override button styles to match other links */
  
  
  
  
  
  /* Footer menu mobil cu iconițe sociale */
  
  
  
  
  
  
  
  
  


@media (min-width: 761px) {
  

  

  
}


/* ==========================================================================
   Footer
   ========================================================================== */

:root {
  --blue: #676465;
  --gold: #efe6d6;
  --paper: #ffffff;
  --text-on-blue: #ffffff;
  --muted: rgba(255, 255, 255, .78);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

.ob-container {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 24px;
}


  
  
  
  /* Mobile menu header */

  
  
  
  
  /* Logo în header-ul meniului mobil */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* Override button styles to match other links */
  
  
  
  
  
  
  /* Footer menu mobil cu iconițe sociale */
  
  
  
  
  
  
  
  
  

@media (max-width: 760px) {
  /* Hero adjustments */
  .hero .titlu-mare {
    font-size: 2.2em;
  }
  
  .hero .descriere {
    font-size: 1em;
  }
  
  /* Buttons */
  .btn,
  button,
  .btn-primary,
  .btn-outline,
  .btn-small {
    min-width: 44px;
    min-height: 44px;
    padding: 12px 24px;
    font-size: 1.1em;
    border-radius: 10px;
    margin: 8px 0;
  }
  
  a.btn {
    display: inline-block;
    text-align: center;
  }
  
  /* Center alignment */
  .hero .content,
  .section.container {
    text-align: center;
  }
  
  .hero .content h1,
  .hero .content h2,
  .hero .content p,
  .section.container h2,
  .section.container p {
    text-align: center;
  }
  
  /* Hide elements on mobile */
  .descriere-hide-mobile {
    display: none;
  }
  
  /* Hero content layout */
  .hero .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    height: 70vh;
    padding-bottom: 56px;
  }
  
  .hero .h-orn,
  .hero .titlu-mare,
  .hero .lead,
  .hero .btn,
  .hero .btn-primary,
  .hero .btn-outline {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.pestera-rooms{
  width: min(1150px, 92%);
  margin: 0 auto;
  padding: 60px 0;
}

.rooms-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}

.room-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

/* IMAGINI CU CHENAR */
.room-media{
  width: 100%;
  border: 1px solid #b08d57;
  padding: 6px;
  border-radius: 6px;
  box-sizing: border-box;
  overflow: hidden;
}

.room-media img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform .35s ease;
}

.room-media:hover img{
  transform: scale(1.03);
}

/* TEXT */
.room-title{
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.room-size{
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.room-desc{
  font-size: 16px;
  opacity: .9;
  margin: 0;
}

/* BUTON */
.room-cta{
  margin-top: 10px;
  padding: 10px 28px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #b08d57;
  border: 1px solid #b08d57;
  border-radius: 3px;
  transition: background .25s ease, color .25s ease;
}

.room-cta:hover{
  background: #fff5e1;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .rooms-grid{
    grid-template-columns: 1fr;
  }
  .room-media img{
    height: 260px;
  }
}


/* ==========================================================================
   Footer
   ========================================================================== */

:root {
  --blue: #676465;
  --gold: #efe6d6;
  --paper: #ffffff;
  --text-on-blue: #ffffff;
  --muted: rgba(255, 255, 255, .78);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

.ob-container {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.ob-footer__top {
  background: var(--blue);
  color: var(--text-on-blue);
  padding: 32px 0 30px;
}

.ob-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr .7fr 1fr;
  gap: 34px;
  align-items: start;
}

.ob-col h3 {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  letter-spacing: .2px;
}

.ob-brand__logo {
  width: 180px;
  height: 70px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob-brand__logo img {
  max-width: 160px;
  max-height: 60px;
  object-fit: contain;
}

.brand-logo {
  max-width: 120px;
  height: auto;
  margin: 0 0 3px 0;
}

.ob-brand__text {
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 36ch;
  line-height: 1.65;
}

.ob-brand__badges {
  display: flex;
  gap: 10px;
}

.ob-brand__badges .badge {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob-brand__badges .badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ob-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.ob-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.ob-list a:hover {
  text-decoration: underline;
}

.ob-contact address {
  font-style: normal;
  color: var(--muted);
  margin: 0 0 6px;
}

.ob-contact a {
  color: #fff;
  text-decoration: none;
}

.ob-contact a:hover {
  text-decoration: underline;
}

.ob-anpccol .ob-anpc-block {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  align-content: start;
}

.anpc-badge {
  height: 56px;
  width: 240px;
  max-width: 100%;
  background: transparent;
  overflow: hidden;
}

.anpc-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ob-pay p {
  color: var(--muted);
  margin: 0 0 10px;
  max-width: 46ch;
}

.ob-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.ob-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, .6);
  background: #ffffff;
  color: #333;
  font-weight: 800;
  font-size: 14px;
}

.ob-pills span img {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
}

.ob-footer__bottom {
  background: var(--gold);
}

.ob-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  color: #1d1a12;
}

.ob-bottom__copy {
  margin: 0;
  text-align: center;
  font-weight: 600;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   Footer Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .ob-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  
  .ob-anpccol,
  .ob-pay {
    margin-top: 10px;
  }
}

@media (max-width: 760px) {
  .ob-container {
    padding: 0 16px;
  }
  
  .ob-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .ob-col h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .ob-brand__logo {
    width: 160px;
    height: 64px;
  }
  
  .ob-brand__text {
    max-width: 100%;
  }
  
  .ob-brand__badges {
    gap: 8px;
  }
  
  .ob-pay p {
    max-width: 100%;
  }
  
  .ob-pills {
    gap: 10px;
  }
  
  .ob-pills span {
    min-width: 94px;
    height: 42px;
    font-size: 13px;
  }
  
  .ob-bottom {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 8px;
  }
  
  .ob-bottom__copy {
    text-align: left;
  }
}

/* ==========================================================================
   COMPREHENSIVE REAL-DEVICE MOBILE FIXES
   Fixes issues that appear on real phones but not in DevTools
   ========================================================================== */

/* Prevent horizontal overflow on the entire page */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%; /* Prevent iOS font scaling */
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* All images responsive by default */
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 760px) {

  /* Hero: use svh/dvh for proper mobile viewport (excludes browser chrome) */
  .hero {
    min-height: 70svh;
    min-height: 70dvh;
  }

  /* Hero content: use fixed px instead of vh units on mobile */
  .hero .content {
    padding: 80px 20px 60px !important;
    min-height: unset !important;
    height: auto !important;
  }

  /* Sections: reduce padding on mobile */
  .section {
    padding: 60px 0 !important;
  }

  /* Nav panel: must start at 0,0 not negative values */
  .primary-nav {
    top: 0 !important;
    right: 0 !important;
    width: 80% !important;
    max-width: 320px !important;
    height: 100dvh !important;
    height: 100vh !important;
  }

  /* Hamburger button: fixed size, no overflow */
  .nav-toggle {
    font-size: 24px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    overflow: hidden !important;
  }

  /* Logo: fixed size */
  .logo img {
    height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
  }

  /* Glassbar: fixed height */
  .glassbar {
    height: 60px !important;
    padding: 0 10px !important;
  }

  /* Nav wrap: small margin */
  .nav-wrap {
    margin: 6px auto !important;
  }

  /* Prevent content-title from being too large on mobile (camera pages) */
  .content-title {
    font-size: clamp(24px, 7vw, 36px) !important;
  }

  .features-title,
  .hero-title {
    font-size: clamp(22px, 6vw, 36px) !important;
  }

  /* Bathroom section: stack on mobile */
  .bathroom-container {
    grid-template-columns: 1fr !important;
    min-height: unset !important;
  }

  .bathroom-images {
    min-height: 300px !important;
  }

  .bathroom-content {
    padding: 40px 20px !important;
  }

  /* Hero section (room pages) */
  .hero-section,
  .features-section {
    padding: 40px 16px !important;
  }

  .hero-container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Footer grid: always 1 column */
  .ob-grid {
    grid-template-columns: 1fr !important;
  }

  /* Prevent room grid overflow */
  .rooms-grid {
    grid-template-columns: 1fr !important;
  }

  /* Room media images */
  .room-media img {
    height: 240px !important;
  }

  /* Tabs: scroll horizontally if needed */
  .tabs-header {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* ==========================================================================
   SAFARI iOS + CROSS-BROWSER COMPATIBILITY FIXES
   Tested against: Safari iOS 15+, Chrome Android, Samsung Internet
   ========================================================================== */

/* --- WEBKIT PREFIX FIXES --- */

/* backdrop-filter: needs -webkit- on Safari < 16 */
.glassbar {
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}

.nav-backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* --- iOS VIEWPORT HEIGHT FIX ---
   100vh on iOS Safari includes the browser chrome (URL bar)
   which causes content to be hidden behind it.
   -webkit-fill-available is the iOS-specific fix. */
.hero {
  min-height: 82vh; /* fallback */
  min-height: -webkit-fill-available; /* Safari iOS */
  min-height: 82dvh; /* modern browsers */
}

/* --- iOS MOMENTUM SCROLLING FOR SIDE MENU --- */
.primary-nav {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* --- PREVENT BODY SCROLL WHEN MENU IS OPEN ---
   NU folosim position:fixed pe body — asta strică elementele
   position:fixed (meniul lateral) când pagina e scrollată.
   Blocăm overflow pe html+body direct. */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

html:has(body.menu-open) {
  overflow: hidden;
}

/* --- BUTTON / INPUT APPEARANCE ON iOS ---
   Safari renders buttons with its own style by default */
button,
input,
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* Restore our own button styles after appearance reset */
.btn,
.btn-primary,
.btn-outline,
.nav-toggle,
.room-cta,
.accordion-header {
  border-radius: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.btn,
.btn-primary,
.btn-outline {
  border-radius: 999px;
}

/* --- PREVENT TEXT SIZE INFLATION ON ORIENTATION CHANGE (iOS) --- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* --- IMAGE RENDERING --- */
img {
  max-width: 100%;
  height: auto;
  display: block; /* removes bottom gap in Safari */
  -webkit-user-drag: none;
}

/* Keep inline images inline (e.g. inside text) */
p img, span img, a img {
  display: inline-block;
}

/* --- SMOOTH SCROLLING (with reduced-motion respect) --- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* --- TOUCH TARGET SIZES (Apple HIG: min 44x44pt) --- */
a, button, [role="button"], input, label, select, textarea {
  touch-action: manipulation; /* removes 300ms tap delay */
}

/* --- SAFARI STICKY HEADER FIX ---
   position:sticky can fail if a parent has overflow set.
   Ensure site-header parents dont clip it. */
body {
  overflow-x: clip; /* clip not hidden - allows sticky to work in Safari */
}

/* --- GRID GAP FALLBACK for older iOS Safari (12-) --- */
@supports not (gap: 1px) {
  .primary-nav ul li + li { margin-top: 0; }
  .ob-grid > * + * { margin-top: 24px; }
}

/* glassbar: isolation only, fara transform care strica fixed positioning */
.glassbar {
  isolation: isolate;
}

/* --- SAFARI FIX: position:fixed menu inside transformed parent ---
   The .site-header has will-change/transform which creates a new
   stacking context - fixed children wont be fixed relative to viewport.
   nav-toggle is fixed so it must NOT be inside the transformed element. */

@media (max-width: 760px) {
  /* Ensure tap highlight is gone everywhere on mobile */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  /* iOS Safari: use fixed px height, not vh, for reliable rendering */
  .hero {
    min-height: 480px !important;
  }

  /* Safe area insets for iPhone notch / Dynamic Island */
  .site-header {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .ob-footer__bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }

  /* Prevent rubber-band scrolling from showing background on sides */
  html {
    background: var(--bg, #f5f5f0);
  }

  /* Fix: nav-toggle must use explicit px, not font-size based em */
  .nav-toggle {
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
    line-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Ensure the icon characters scale correctly on all browsers */
  .icon-hamburger,
  .icon-close {
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Chrome Android: prevent font boosting */
  * {
    max-height: 999999px; /* disables font boosting heuristic */
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
  }
}

/* ==========================================================================
   DESKTOP NAV FIX
   Nav-ul a fost mutat in afara header-ului pentru fix mobile.
   Pe desktop il repozitionam sa apara in glassbar.
   ========================================================================== */

@media (min-width: 761px) {
  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 92px;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    padding-right: calc((100% - min(100% - 24px, 1260px)) / 2 + 16px);
    background: none;
    box-shadow: none;
    z-index: 94;
    pointer-events: none;
  }

  .primary-nav ul {
    pointer-events: auto;
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .primary-nav .menu-header-mobile,
  .primary-nav .menu-footer-mobile,
  .nav-close {
    display: none !important;
  }
}

/* ==========================================================================
   DESKTOP NAV - elemente mobile ascunse, aliniere corecta in glassbar
   ========================================================================== */
@media (min-width: 761px) {
  .nav-close {
    display: none !important;
  }

  .primary-nav .menu-header-mobile,
  .primary-nav .menu-footer-mobile {
    display: none !important;
  }

  .primary-nav {
    background: none !important;
    box-shadow: none !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
  }

  .primary-nav ul {
    flex-direction: row !important;
    display: flex !important;
    gap: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Ascunde butonul X pe desktop - apare doar pe mobil */
@media (min-width: 761px) {
  .nav-close {
    display: none !important;
  }
}
/* ==========================================================================
   PAGE LOADER
   ========================================================================== */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f5f5f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: loaderFadeIn 0.6s ease forwards;
}

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

.loader-logo-wrap {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.loader-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(235, 193, 118, 0.35);
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(235, 193, 118, 0.15);
  animation: loaderPulse 2s ease-in-out infinite 0.4s;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.04); }
}

.loader-logo {
  width: 120px;
  height: auto;
  animation: loaderGlow 2.5s ease-in-out infinite;
}

@keyframes loaderGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(235,193,118,0.3)); }
  50%       { filter: drop-shadow(0 0 16px rgba(235,193,118,0.75)); }
}

.loader-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ebc176;
  opacity: 0.8;
}

.orn-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ebc176);
}

.orn-line.right {
  background: linear-gradient(90deg, #ebc176, transparent);
}

.orn-diamond {
  font-size: 8px;
  color: #ebc176;
  letter-spacing: 2px;
}