/* ============================================================
   VILLA AURORA – style.css
   Palette: Ambra / Avorio / Antracite / Verde Salvia
   Font: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

:root {
  --amber:    #C9873A;
  --amber-lt: #DFA96B;
  --cream:    #F7F3EC;
  --ivory:    #FDFAF5;
  --dark:     #1C1C1C;
  --mid:      #4A4A4A;
  --light:    #9A9A9A;
  --sage:     #6B8A6B;
  --white:    #FFFFFF;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Jost', sans-serif;
  --radius:   4px;
  --shadow:   0 8px 40px rgba(0,0,0,0.10);
  --trans:    all 0.35s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  color: var(--dark);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--trans); }

/* ── NAVBAR ── */
#mainNav {
  background: transparent;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  z-index: 1050;
}

#mainNav.scrolled {
  background: rgba(28,28,28,0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

.brand-sub {
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-link {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 12px; right: 12px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.btn-lang {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7) !important;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 14px !important;
  border-radius: var(--radius);
  transition: var(--trans);
}

.btn-lang:hover {
  color: var(--white) !important;
  border-color: var(--amber);
  background: rgba(201,135,58,0.15);
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.25) 60%,
    rgba(0,0,0,0.1) 100%
  );
}

#heroCarousel { height: 100%; }
#heroCarousel .carousel-inner { height: 100%; }
#heroCarousel .carousel-item { height: 100%; }

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  font-size: 1.2rem;
  opacity: 0.7;
  z-index: 20;
}

.carousel-control-prev { left: auto; right: 60px; bottom: 30px; top: auto; height: auto; }
.carousel-control-next { right: 15px; bottom: 30px; top: auto; height: auto; }

.carousel-control-prev-icon,
.carousel-control-next-icon { display: none; }

/* Hero Info Box */
.hero-infobox {
  position: absolute;
  bottom: 110px;
  left: 5%;
  background: transparent;
  padding: 0;
  z-index: 20;
}

@media (max-width: 767px) {
  .hero-infobox {
    left: 0; right: 0; bottom: 0;
    padding: 16px 20px 24px;
    background: rgba(28,28,28,0.55);
  }
  .btn-hero { max-width: 100%; }
}

.btn-hero {
  display: block;
  width: 100%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 20px;
  border: none;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--trans);
}

.btn-hero:hover {
  background: #5a7a5a;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107,138,107,0.35);
}

.btn-hero i { margin-right: 6px; font-size: 0.9rem; }

/* Thumbnails */
.hero-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  display: flex;
  z-index: 20;
  overflow: hidden;
}

.thumb {
  flex: 1;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
  border-right: 2px solid rgba(255,255,255,0.1);
}

.thumb:last-child { border-right: none; }
.thumb:hover, .thumb.active { opacity: 1; }

/* ── TAGLINE ── */
.tagline-section {
  background: var(--cream);
  padding: 80px 0 70px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.tagline-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 18px;
}

.tagline-line {
  width: 50px;
  height: 2px;
  background: var(--amber);
  margin: 0 auto 24px;
}

.tagline-text {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── SECTIONS COMMON ── */
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 14px;
}

.section-line {
  width: 40px;
  height: 2px;
  background: var(--amber);
  margin: 0 auto;
}

.section-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--mid);
}

/* ── DETAILS ── */
.details-section {
  padding: 90px 0;
  background: var(--ivory);
}

.detail-block {
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.07);
  background: var(--white);
  height: 100%;
  transition: var(--trans);
}

.detail-block:hover {
  border-color: var(--amber-lt);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.detail-heading {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.detail-heading i { margin-right: 7px; }

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-list li {
  font-size: 0.9rem;
  color: var(--mid);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex;
  gap: 6px;
}

.detail-list li:last-child { border-bottom: none; }
.detail-list strong { color: var(--dark); font-weight: 500; white-space: nowrap; }

/* ── GALLERY ── */
.gallery-section {
  padding: 90px 0;
  background: var(--cream);
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-thumb {
  width: 100%;
  padding-top: 70%;
  background-size: cover;
  background-position: center;
  background-color: #d4c9bc;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb { transform: scale(1.06); }

.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(28,28,28,0.78);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-label { transform: translateY(0); }

/* Lightbox */
.lightbox-content {
  background: rgba(10,10,10,0.97);
  border: none;
  border-radius: 0;
  position: relative;
  padding: 20px;
}

.lightbox-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

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

.lightbox-img {
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ── MAP ── */
.map-section {
  height: 420px;
}

.map-container {
  height: 100%;
  filter: grayscale(30%);
}

/* ── LOCATION INFO ── */
.location-info-section {
  padding: 90px 0;
  background: var(--ivory);
}

.location-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-list li {
  font-size: 0.9rem;
  color: var(--mid);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.location-list li:last-child { border-bottom: none; }
.location-list i { color: var(--amber); font-size: 1rem; min-width: 18px; }
.location-list a { color: var(--mid); }
.location-list a:hover { color: var(--amber); }

.distances-card {
  background: var(--dark);
  color: var(--white);
  padding: 32px 28px;
}

.distances-title {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.distance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

.distance-row:last-child { border-bottom: none; }
.distance-row span:last-child { color: var(--amber-lt); font-weight: 500; }

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  padding: 100px 0;
  background-image: url('../img/terrazza.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.en .cta-section { background-image: url('../../img/terrazza.jpg'); }

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107,138,107,0.82);
}

.cta-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.btn-cta {
  background: var(--white);
  color: var(--sage);
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius);
  transition: var(--trans);
}

.btn-cta:hover {
  background: var(--amber);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.btn-cta i { margin-right: 8px; }

/* ── CONTACT ── */
.contact-section {
  padding: 90px 0;
  background: var(--cream);
}

.contact-form .form-control,
.contact-form .form-select {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  padding: 12px 16px;
  color: var(--dark);
  transition: border-color 0.25s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(201,135,58,0.12);
  outline: none;
}

.contact-form .form-label {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}

.form-check-label {
  font-size: 0.85rem;
  color: var(--mid);
}

.form-check-label a { color: var(--amber); }
.form-check-label a:hover { text-decoration: underline; }

.btn-submit {
  background: var(--amber);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  transition: var(--trans);
}

.btn-submit:hover {
  background: #b5762f;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,135,58,0.30);
}

#formMsg.success { color: var(--sage); font-size: 0.9rem; }
#formMsg.error   { color: #c0392b; font-size: 0.9rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  padding: 50px 0 0;
}

.footer-brand {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.footer-tagline {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 0;
}

.footer-contact {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 2;
  margin: 0;
}

.footer-contact a { color: rgba(255,255,255,0.55); }
.footer-contact a:hover { color: var(--amber); }

.footer-link {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.footer-link:hover { color: var(--amber); }
.footer-sep { color: rgba(255,255,255,0.2); margin: 0 8px; }

.footer-bottom {
  margin-top: 40px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--amber); }

/* ── PRICE CARD ── */
.prices-block { background: var(--dark); border: none; }
.prices-block .detail-heading { color: var(--amber); border-color: rgba(255,255,255,0.08); }

.price-note {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.price-row:last-of-type { border-bottom: none; }

.price-row.highlight { background: rgba(201,135,58,0.08); margin: 0 -4px; padding: 14px 4px; border-radius: 3px; }

.price-season { display: flex; flex-direction: column; gap: 2px; }

.season-label {
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.season-period {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

.price-amount {
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--amber-lt);
  line-height: 1;
  text-align: right;
}

.price-amount span {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-top: 2px;
}

.price-footer {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.6;
}

.price-footer i { color: var(--sage); margin-right: 4px; }
.price-footer a { color: var(--amber-lt); text-decoration: underline; text-underline-offset: 2px; }
.price-footer a:hover { color: var(--white); }

/* ── DESCRIPTION SECTION ── */
.description-section {
  padding: 70px 0 80px;
  background: var(--cream);
}

.desc-text {
  font-family: var(--ff-sans);
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.9;
}

.desc-rooms {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--ivory);
  border-left: 3px solid var(--amber);
}

.desc-room {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 400;
}

.desc-room i {
  color: var(--amber);
  font-size: 1rem;
  min-width: 20px;
}

/* ── LIGHTBOX NAV ARROWS ── */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.85);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s, color 0.2s;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

.lightbox-counter {
  text-align: center;
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  margin-bottom: 0;
}

/* ── PRIVACY PAGE ── */
.privacy-content {
  padding: 130px 0 80px;
  min-height: 70vh;
}

.privacy-content h1 {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.privacy-content h2 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-top: 28px;
  margin-bottom: 8px;
}

.privacy-content p, .privacy-content li {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.8;
}

/* ── UTILITIES ── */
.btn-outline-dark {
  border-color: var(--dark);
  color: var(--dark);
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: var(--radius);
  transition: var(--trans);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  .tagline-section { padding: 55px 0 50px; }
  .details-section,
  .gallery-section,
  .location-info-section,
  .contact-section { padding: 65px 0; }
}
