/* ===== Cacica Holiday ===== */
:root {
  --cream: #f8f3eb;
  --cream-2: #efe6d8;
  --ink: #2a221d;
  --muted: #6f625a;
  --red: #9b2c2c;
  --red-dark: #7c2020;
  --wood: #6b4a2f;
  --forest: #23362c;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 34, 29, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--red);
  background: var(--red); color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { color: var(--white); }
.btn--small { padding: .55em 1.1em; font-size: .88rem; }

/* Motiv bucovinean */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--red); margin-bottom: .8em;
}
.eyebrow::before {
  content: ""; width: 34px; height: 10px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M5 0 10 5 5 10 0 5Z' fill='%239b2c2c'/%3E%3C/svg%3E") repeat-x center / 10px 10px;
}
.eyebrow--light { color: #f0c9a8; }
.eyebrow--light::before { filter: brightness(2.2) saturate(.5); }

/* Navigare */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: .55em; text-decoration: none; color: var(--white); font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.nav__logo i { font-size: 1.1rem; color: #f0c9a8; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .92; }
.nav__links a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav__toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.5rem; cursor: pointer; }
.nav.is-scrolled { background: rgba(248, 243, 235, .97); box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav.is-scrolled .nav__logo, .nav.is-scrolled .nav__links a:not(.btn), .nav.is-scrolled .nav__toggle { color: var(--ink); }
.nav.is-scrolled .nav__logo i { color: var(--red); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: url("../images/vila-exterior.jpg") center 40% / cover no-repeat; color: var(--white);
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(25,18,14,.78) 0%, rgba(25,18,14,.45) 55%, rgba(25,18,14,.15) 100%); }
.hero__content { position: relative; padding: 120px 0 90px; max-width: 1180px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .5em; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: .4em 1em; border-radius: 999px; font-size: .85rem; backdrop-filter: blur(4px); }
.hero__eyebrow i { color: #f0c9a8; }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); margin: .2em 0 .15em; font-weight: 700; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 600px; opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.hero__location { font-size: .95rem; opacity: .9; }
.hero__location i { color: #f0c9a8; margin-right: .35em; }

/* Highlights */
.highlights { background: var(--forest); color: var(--white); }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1rem; gap: .2rem; }
.highlight + .highlight { border-left: 1px solid rgba(255,255,255,.12); }
.highlight i { font-size: 1.6rem; color: #f0c9a8; margin-bottom: .5rem; }
.highlight strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.highlight span { font-size: .88rem; opacity: .78; }

/* Sectiuni */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--alt { background: var(--cream-2); }
.section--dark { background: var(--forest); color: var(--white); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section__head .eyebrow { justify-content: center; }
.section__head p:last-child { color: var(--muted); }

/* Despre */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.checks i { color: var(--red); margin-right: .55em; }
.split__media { position: relative; padding-bottom: 3rem; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 88%; aspect-ratio: 4/3; object-fit: cover; }
.split__media .split__media-small { position: absolute; right: 0; bottom: 0; width: 48%; border: 6px solid var(--cream); }

/* Dormitoare */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.room { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.room__body { padding: 1.4rem 1.5rem 1.6rem; }
.room__body p { color: var(--muted); font-size: .95rem; }
.room__meta { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px solid var(--cream-2); display: grid; gap: .35rem; font-size: .9rem; }
.room__meta i { color: var(--red); width: 1.4em; }
.room-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2.5rem; }
.room-feats span { background: var(--white); border-radius: 999px; padding: .55em 1.1em; font-size: .9rem; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.room-feats i { color: var(--red); margin-right: .45em; }

/* Facilitati */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.feature img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform .5s; }
.feature:hover img { transform: scale(1.04); }
.feature__body { padding: 1.2rem 1.3rem 1.4rem; position: relative; background: var(--white); }
.feature__body h3 { font-size: 1.3rem; }
.feature__body h3 i { color: var(--red); font-size: 1rem; margin-right: .3em; }
.feature__body p { color: var(--muted); font-size: .93rem; margin: 0; }
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.amenities div { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border: 1px solid var(--cream-2); border-radius: 12px; background: var(--white); font-weight: 500; font-size: .93rem; }
.amenities i { color: var(--red); font-size: 1.2rem; width: 1.4em; text-align: center; }

/* Tarife */
.price { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.price p { opacity: .85; max-width: 520px; }
.price__card { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 2.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.price__label { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--muted); font-weight: 600; }
.price__value { font-family: var(--serif); font-size: 2.8rem; line-height: 1.1; color: var(--red); }
.price__note { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }

/* Galerie */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filter { font: inherit; font-size: .9rem; font-weight: 500; padding: .5em 1.2em; border-radius: 999px; border: 1px solid #d8cbb8; background: transparent; color: var(--ink); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--red); color: var(--red); }
.filter.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--cream-2); }
.gallery a.is-hidden { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; }
.gallery a:hover img { transform: scale(1.06); filter: brightness(.92); }

/* Atractii */
.sights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sight { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.sight i { font-size: 1.5rem; color: var(--white); background: var(--red); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; }
.sight h3 { font-size: 1.35rem; }
.sight p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: .9rem; }
.contact__list i { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--cream-2); color: var(--red); display: grid; place-items: center; }
.contact__list a { text-decoration: none; font-weight: 600; }
.contact__list a:hover { color: var(--red); }
.contact__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Footer */
.footer { background: #1b140f; color: rgba(255,255,255,.8); padding: 2.5rem 0 6rem; font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer__inner p { margin: .2rem 0 0; }
.footer__brand { font-family: var(--serif); font-size: 1.5rem; color: var(--white); }
.footer__brand i { color: #f0c9a8; font-size: 1rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--white); }
.footer__links i { margin-right: .35em; color: #f0c9a8; }
.footer__copy { width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; opacity: .6; }

/* Butoane flotante */
.floating { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.floating__btn {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); font-size: 1.6rem; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.floating__btn:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0,0,0,.32); }
.floating__btn--wa { background: #25d366; font-size: 1.9rem; }
.floating__btn--phone { background: var(--red); font-size: 1.35rem; animation: ring 2.4s ease-in-out infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,.25), 0 0 0 0 rgba(155,44,44,.45); } 50% { box-shadow: 0 8px 22px rgba(0,0,0,.25), 0 0 0 12px rgba(155,44,44,0); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,10,8,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 6px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 50px; height: 50px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature img { aspect-ratio: 4/3; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: .5rem 16px 1.2rem; box-shadow: 0 12px 24px rgba(0,0,0,.1);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a:not(.btn) { color: var(--ink); padding: .9rem 0; border-bottom: 1px solid var(--cream-2); }
  .nav__links .btn { margin-top: 1rem; justify-content: center; }
  .nav.menu-open { background: var(--cream); }
  .nav.menu-open .nav__logo, .nav.menu-open .nav__toggle { color: var(--ink); }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .split, .price, .contact { grid-template-columns: 1fr; }
  .rooms, .sights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rooms, .sights, .features, .amenities { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .highlight { padding: 1.5rem .6rem; }
  .highlight strong { font-size: 1.15rem; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .lightbox { padding: 60px 8px; }
  .lightbox__nav { top: auto !important; bottom: 10px; transform: none !important; }
  .floating__btn { width: 52px; height: 52px; }
}
