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

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page-wrapper {
  overflow-x: hidden;
}

.preloader {
  display: none;
}

.auto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- HERO / SLIDER ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #1b1b1b;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

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

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

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-tagline {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 30px;
  max-width: 700px;
}

.hero-logo {
  font-family: 'Great Vibes', cursive;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
}

.hero-subtitle {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 600;
}

.hero-ornament {
  width: 480px;
  max-width: 85vw;
  height: auto;
  margin: 15px 0 35px;
}

.btn-outline {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background: #fff;
  color: #222;
}

/* ---------- LOCATION SECTION ---------- */

.location-section {
  padding: 90px 20px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.location-section .section-heading {
  margin-bottom: 0;
}

/* ---------- ROOMS SECTION ---------- */

.rooms-section {
  padding: 90px 20px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #999;
  margin-bottom: 20px;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: #ccc;
}

.divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #999;
}

.divider-flourish {
  width: 90px;
  height: 26px;
  color: #bbb;
}

.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  letter-spacing: 1px;
  color: #222;
  margin-bottom: 25px;
}

.section-text {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  font-size: 15px;
}

.room-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.room {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.room-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #222;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.room-info p {
  color: #666;
  font-size: 15px;
  margin-bottom: 14px;
}

.room-info p:last-child {
  margin-bottom: 0;
}

.room-info strong {
  color: #333;
}

.room-note {
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  color: #999;
}

.room-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 24px;
  border: 1px solid var(--lx-gold);
  border-radius: 4px;
  color: var(--lx-gold);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.room-btn:hover {
  background: var(--lx-gold);
  color: #fff;
}

/* ==========================================================
   HEADER
   ========================================================== */

:root {
  --lx-dark: #222222;
  --lx-charcoal: #1b1b1b;
  --lx-gold: #b9975b;
  --lx-gold-light: #cdae7c;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.main-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Header Top */
.header-top {
  background: var(--lx-charcoal);
  color: #eee;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.header-top .clearfix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 9px 0;
}

.header-top .number-box .phone {
  color: #eee;
  transition: color 0.3s ease;
}

.header-top .number-box .phone .icon {
  margin-right: 6px;
  color: var(--lx-gold);
}

.header-top .number-box .phone:hover {
  color: var(--lx-gold);
}

.header-top .top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-top .page-nav {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 18px;
}

.header-top .page-nav li a {
  color: #eee;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.header-top .page-nav li a:hover {
  color: var(--lx-gold);
}

/* Header Upper */
.header-upper {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease;
}

.main-header.scrolled .header-upper {
  border-bottom: 1px solid #eee;
}

.header-upper .clearfix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.logo-box .logo img {
  max-height: 64px;
  width: auto;
}

.nav-outer {
  display: flex;
  align-items: center;
}

.main-menu {
  display: flex;
  align-items: center;
}

.main-menu .navbar-header {
  display: none;
}

.main-menu .navigation,
.main-menu .sf-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.main-menu .navigation > li > a,
.main-menu .sf-menu > li > a {
  display: inline-block;
  position: relative;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.main-header.scrolled .main-menu .navigation > li > a,
.main-header.scrolled .main-menu .sf-menu > li > a {
  color: var(--lx-dark);
}

.main-menu .navigation > li > a::after,
.main-menu .sf-menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--lx-gold);
  transition: width 0.3s ease;
}

.main-menu .navigation > li > a:hover,
.main-menu .sf-menu > li > a:hover {
  color: var(--lx-gold);
}

.main-menu .navigation > li > a:hover::after,
.main-menu .sf-menu > li > a:hover::after {
  width: 100%;
}

.lang-switcher {
  position: relative;
  margin-left: 20px;
}

.lang-switcher-current {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.flag-icon {
  display: block;
  overflow: hidden;
  width: 20px;
  height: 14px;
  flex: none;
  border-radius: 2px;
}

.flag-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-switcher-current .flag-icon {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.main-header.scrolled .lang-switcher-current .flag-icon {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.lang-switcher-list {
  list-style: none;
  margin: 0;
  padding: 14px 6px 6px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lx-charcoal);
  border-radius: 4px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 10;
  min-width: 20px;
}

.lang-switcher:hover .lang-switcher-list,
.lang-switcher:focus-within .lang-switcher-list {
  display: flex;
}

.lang-switcher-list a {
  display: block;
  padding: 6px;
}

.lang-switcher-list .flag-icon {
  transition: box-shadow 0.3s ease;
}

.lang-switcher-list a:hover .flag-icon {
  box-shadow: 0 0 0 2px var(--lx-gold);
}

.mobile-menu-container {
  display: none;
}

/* Mobile nav toggler */
.mobile-nav-toggler {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  transition: color 0.3s ease;
}

.main-header.scrolled .mobile-nav-toggler {
  color: var(--lx-dark);
}

/* Mobile off-canvas menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--lx-charcoal);
  z-index: 999;
  transition: right 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-menu.active .menu-backdrop {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}

.mobile-menu .nav-logo {
  padding: 30px 25px;
  position: relative;
  z-index: 1;
}

.mobile-menu .menu-outer,
.mobile-menu .menu-box {
  position: relative;
  z-index: 1;
  padding: 0 25px 30px;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu ul li a {
  display: block;
  color: #eee;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.mobile-menu ul li a:hover {
  color: var(--lx-gold);
}

@media (max-width: 767px) {
  .nav-outer .main-menu > .navbar-collapse {
    display: none;
  }

  .mobile-nav-toggler {
    display: inline-flex;
  }

  .nav-outer {
    margin-left: auto;
  }
}

@media (max-width: 991px) {
  .header-top .clearfix {
    justify-content: center;
  }

  .header-top .top-right {
    display: none;
  }
}

/* Scroll to top */
.scroll-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lx-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ==========================================================
   FOOTER (essenziale: contatti + social + copyright)
   ========================================================== */

.main-footer {
  background: var(--lx-charcoal);
  color: #bbb;
  padding-top: 60px;
}

.main-footer .widgets-section {
  padding-bottom: 30px;
}

.footer-widget h4 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: var(--lx-gold);
}

.footer-widget .text {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 16px;
}

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

.contact-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-list li a {
  color: #bbb;
  transition: color 0.3s ease;
}

.contact-list li a:hover {
  color: var(--lx-gold);
}

.social-box {
  display: flex;
  gap: 12px;
}

.social-box a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eee;
  font-size: 14px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.social-box a:hover {
  background: var(--lx-gold);
  border-color: var(--lx-gold);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.footer-bottom .copyright {
  font-size: 12px;
  color: #888;
}

.footer-bottom .copyright a {
  color: #bbb;
}

.footer-bottom .copyright a:hover {
  color: var(--lx-gold);
}

.footer-bottom .logo img {
  opacity: 0.9;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .hero-logo {
    font-size: 52px;
  }

  .room {
    grid-template-columns: 1fr;
  }

  .header-upper .clearfix {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ==========================================================
   INNER PAGES (page.php / chi-siamo.php / contatti.php)
   ========================================================== */

.page-title {
  background-color: var(--lx-charcoal);
  background-size: cover;
  background-position: center;
  padding: 130px 20px 70px;
  text-align: center;
}

.page-title h1 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 36px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.page-title .text {
  color: #ddd;
  margin-top: 15px;
  font-size: 14px;
}

.map-section {
  padding: 40px 20px 0;
}

.map-section iframe {
  width: 100%;
  border: 0;
  display: block;
}

.sidebar-page-container {
  padding: 80px 20px;
}

.sidebar-page-container.pb-0 {
  padding-bottom: 20px;
}

.service-detail h2,
.service-detail h3,
.service-detail h4,
.service-detail h5,
.service-detail h6 {
  font-family: 'Playfair Display', serif;
  color: #222;
  margin: 24px 0 14px;
}

.service-detail p {
  color: #555;
  margin-bottom: 14px;
  font-size: 15px;
}

.service-detail a {
  color: var(--lx-gold);
}

.service-detail ul {
  margin: 0 0 14px 20px;
  color: #555;
}

.service-detail img {
  width: 100%;
  height: auto;
  display: block;
}

.sidebar-widget {
  background: #f8f6f2;
  padding: 30px;
  margin-bottom: 30px;
}

.sidebar-title h5 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-title h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 1px;
  background: var(--lx-gold);
}

.sidebar-widget .widget-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-widget .widget-content ul li {
  border-bottom: 1px solid #e7e2d8;
}

.sidebar-widget .widget-content ul li a {
  display: block;
  padding: 10px 0;
  color: #555;
  font-size: 14px;
  transition: color 0.3s ease;
}

.sidebar-widget .widget-content ul li a:hover {
  color: var(--lx-gold);
}

/* Page Detail: two-column layout + gallery mosaic */
.page-detail {
  padding: 70px 20px 90px;
}

.page-columns {
  margin-bottom: 60px;
}

.text-column h1 {
  font-family: 'Playfair Display', serif;
  color: #222;
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.text-column .text h2,
.text-column .text h3,
.text-column .text h4 {
  font-family: 'Playfair Display', serif;
  color: #222;
  margin: 20px 0 12px;
}

.text-column .text p {
  color: #555;
  font-size: 15px;
  margin-bottom: 14px;
}

.text-column .text a {
  color: var(--lx-gold);
}

.text-column .text img {
  max-width: 100%;
  height: auto;
}

.photo-column .image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
}

.photo-column .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 10px;
}

.gallery-mosaic .gallery-item {
  overflow: hidden;
}

.gallery-mosaic .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-mosaic .gallery-item:nth-child(5n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 991px) {
  .photo-column {
    margin-top: 30px;
  }
}

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

/* ==========================================================
   CONTACT FORM
   ========================================================== */

.contact-page-section {
  padding: 70px 20px 90px;
}

.contact-page-section .title-box {
  text-align: center;
  margin-bottom: 40px;
}

.contact-page-section .title-box h3 {
  font-family: 'Playfair Display', serif;
  color: #222;
  font-size: 26px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin: 0;
}

.contact-page-section .title-box h3::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50px;
  height: 1px;
  background: var(--lx-gold);
  transform: translateX(-50%);
}

.contact-form {
  max-width: 860px;
  margin: 0 auto;
}

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

.contact-form .text-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.contact-form textarea.text-input {
  resize: vertical;
}

.contact-form .text-input:focus {
  outline: none;
  border-color: var(--lx-gold);
}

.contact-form .privacy-radio-group {
  font-size: 13px;
  color: #666;
}

.contact-form .privacy-radio-group > a {
  color: var(--lx-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.contact-form .privacy-note {
  color: #888;
  font-size: 12px;
  margin: 10px 0;
}

.contact-form .privacy-label {
  display: inline-block;
  color: #555;
  font-size: 13px;
  margin: 0 4px;
}

.contact-form .text-privacy {
  accent-color: var(--lx-gold);
  vertical-align: middle;
}

.contact-form .theme-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--lx-dark);
  background: var(--lx-dark);
  color: #fff;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.contact-form .theme-btn:hover:not(:disabled) {
  background: var(--lx-gold);
  border-color: var(--lx-gold);
}

.contact-form .theme-btn:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

.form-success {
  max-width: 520px;
  margin: 0 auto;
  padding: 60px 20px;
}

.form-success .icon {
  display: inline-block;
  font-size: 42px;
  color: var(--lx-gold);
  margin-bottom: 20px;
}

.form-success h3 {
  font-family: 'Playfair Display', serif;
  color: #222;
  font-size: 24px;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.form-success p {
  color: #666;
  font-size: 15px;
  margin: 0;
}
