body {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  background-color: #f4f4f4;
}


/* Stili per index.html */
.container {
  text-align: center;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('foto/epoca26.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.buttons {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  padding: 20px 40px;
  margin: 0 10px;
  font-size: 32px;
  border: none;
  border-radius: 5px;
  background-color: #2c3e50;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.btn:hover {
  background-color: #34495e;
}

.main-image {
  display: none; /* Nascondiamo l'immagine inline perché usiamo il background */
}

/* Stili per la barra di menu (entra.html e booking.html) */
.navbar {
  background-color: #2c3e50;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.nav-menu li {
  margin: 0 20px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: 'Cormorant Garamond', serif;
}

.nav-menu a:hover {
  color: #3498db;
}

/* Stili per entra.html */
.image-container {
  display: flex;
  justify-content: space-between;
  height: calc(100vh - 60px); /* Sottrae l'altezza della navbar */
  margin-top: 60px; /* Spazio per la navbar fissa */
}

.split-image {
  width: 50%;
  height: 100%;
  object-fit: cover; /* Adatta l'immagine senza distorsioni */
}

.image-link {
  display: block;
  width: 50%;
}

/* Stili per booking.html */
.booking-container {
  max-width: 1200px;
  margin: 80px auto 20px; /* Spazio per la navbar e margine inferiore */
  padding: 20px;
  text-align: center;
}

.listing {
  margin: 30px 0;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.listing h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 600;
}

.listing-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.listing-image:hover {
  transform: scale(1.02);
}

.listing p {
  color: #555;
}

/* Stili per il nuovo slider delle recensioni */
.review-container {
  position: relative;
  margin-top: 30px;
  padding: 20px 40px;
}

.review-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.review-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.review-image.active {
  opacity: 1;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 62, 80, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.nav-button:hover {
  background: rgba(44, 62, 80, 1);
}

.nav-button.prev {
  left: 0;
}

.nav-button.next {
  right: 0;
}

.nav-button i {
  font-size: 18px;
}

/* Stili per dovesiamo.html */
.map-container {
  margin-top: 60px;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.map-container h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 600;
}

.google-map {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Stili per chisiamo.html */
.about-container {
  margin-top: 60px;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.about-section, .attractions-section {
  background-color: white;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.about-section h1 {
  color: #2c3e50;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.attractions-section h2 {
  color: #2c3e50;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.attraction {
  margin: 20px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.attraction h3 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.attraction p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .info-section {
    height: auto;
    min-height: 300px;
  }

  .listing {
    padding: 15px;
  }

  .btn {
    padding: 15px 30px;
    font-size: 24px;
  }
}

/* Stili per il pulsante direzioni */
.directions-link {
  text-align: center;
  margin-top: 20px;
}

.directions-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #2c3e50;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.directions-button:hover {
  background-color: #34495e;
}

/* Stili per i divisori di sezione */
.info-section {
  position: relative;
  padding-bottom: 40px;
}

.info-section:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  height: 10px;
  background-color: #000;
}

/* Add this to the existing CSS file */

.spoleto-bg {
  position: relative;
  overflow: hidden;
}

.spoleto-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('spoleto.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.spoleto-bg h3,
.spoleto-bg p {
  position: relative;
  z-index: 1;
}

.cascata-bg {
  position: relative;
  overflow: hidden;
}

.cascata-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('cascata.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.cascata-bg h3,
.cascata-bg p {
  position: relative;
  z-index: 1;
}

.valnerina-bg {
  position: relative;
  overflow: hidden;
}

.valnerina-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('valnerina.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.valnerina-bg h3,
.valnerina-bg p {
  position: relative;
  z-index: 1;
}

.piediluco-bg {
  position: relative;
  overflow: hidden;
}

.piediluco-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('piediluco.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.piediluco-bg h3,
.piediluco-bg p {
  position: relative;
  z-index: 1;
}

.vallesanmartino-bg {
  position: relative;
  overflow: hidden;
}

.vallesanmartino-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('vallesanmartino.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.vallesanmartino-bg h3,
.vallesanmartino-bg p {
  position: relative;
  z-index: 1;
}

/* Update these existing sections to ensure font consistency */
body, button, input, textarea {
  font-family: 'Cormorant Garamond', serif;
}

.nav-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
}

/* Add these styles for the booking image */
.booking-image {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.full-width-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Festa background */
.festa-bg {
  position: relative;
  overflow: hidden;
}

.festa-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('festamadonna2.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.festa-bg p {
  position: relative;
  z-index: 1;
}

/* Updated booking image styles */
.booking-image-container {
  margin: 30px auto;
  width: 50%;
  border-radius: 8px;
  overflow: hidden;
}

.booking-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Contact form styles */
.contact-container {
  max-width: 800px;
  margin: 80px auto 20px;
  padding: 20px;
}

.contact-section {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
  margin-top: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.char-counter {
  margin-top: 8px;
  text-align: right;
  color: #666;
  font-size: 14px;
}

.submit-btn {
  background-color: #2c3e50;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Cormorant Garamond', serif;
}

.submit-btn:hover {
  background-color: #34495e;
}

/* Special services styles */
.special-services {
  background-color: #f8f9fa;
  padding: 60px 0;
  margin-top: 40px;
}

.service-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.service-container h2 {
  color: #2c3e50;
  font-size: 32px;
  margin-bottom: 20px;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.services-list li {
  padding: 10px 0;
  font-size: 18px;
  color: #2c3e50;
  position: relative;
  padding-left: 30px;
}

.services-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #2c3e50;
}

.contact-invite {
  font-size: 20px;
  color: #2c3e50;
  margin: 30px 0;
  font-style: italic;
}

.service-btn {
  display: inline-block;
  background-color: #2c3e50;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.service-btn:hover {
  background-color: #34495e;
}

/* Special services background */
.servizi-bg {
  position: relative;
  overflow: hidden;
}

.servizi-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('servizi.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.servizi-bg .service-container {
  position: relative;
  z-index: 1;
}

/* Thank you message styles */
.thank-you-message {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  transition: bottom 0.5s ease;
  z-index: 1000;
}

.thank-you-message.show {
  bottom: 30px;
}

.message-content {
  background: linear-gradient(to right, #d4af37, #f4e5aa, #d4af37);
  color: #2c3e50;
  padding: 20px 40px;
  border-radius: 10px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border: 2px solid #d4af37;
}