@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  color: #404040;
  font-family: "Cormorant Garamond", serif;
  overflow-x: hidden;
  font-size: 1.125rem;
  font-weight: 500;
}

.hero-section {
  text-align: center;
  padding: 3rem 1rem 0;
  background-color: #fff;
}
.hero-section .editorial-titles {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section .editorial-titles .sposi-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 0.9;
  margin: 0;
  letter-spacing: -1px;
  color: #404040;
}
.hero-section .editorial-titles .sposi-title .bold {
  font-weight: 700;
}
.hero-section .editorial-titles .sposi-title .light {
  font-weight: 700;
  font-size: 0.65em;
  margin: 0 0.2rem;
}
.hero-section .editorial-titles .thin-divider {
  border: none;
  border-top: 2px solid;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}
.hero-section .photo-comic-container {
  margin: 2rem auto;
  width: 100%;
  max-width: 900px;
}
.hero-section .photo-comic-container .main-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 600px;
  filter: grayscale(100%) contrast(120%);
}
.hero-section .storia-container {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin: 2rem auto;
  max-width: 650px;
}

.sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: center;
  padding: 2rem 1rem;
  width: 100%;
}

.details-section,
.rsvp-section,
.countdown-section {
  width: 100%;
  max-width: 900px;
  border-top: 2px solid #404040;
  padding-top: 4rem;
  text-align: center;
}

.countdown-section .countdown-container {
  border: 2px solid #404040;
  padding: 3rem 1rem;
  background-color: #fff;
}
.countdown-section .countdown-container .countdown-title {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}
.countdown-section .timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.countdown-section .timer-grid .timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-section .timer-grid .timer-item .number {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  border-bottom: 2px solid #404040;
  margin-bottom: 0.5rem;
  display: block;
  width: 100%;
}
.countdown-section .timer-grid .timer-item .label {
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  text-transform: lowercase;
}

.details-section .single-event-box {
  width: 100%;
  border: 2px solid #404040;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-align: left;
}
@media (min-width: 768px) {
  .details-section .single-event-box {
    flex-direction: row;
  }
}
.details-section .single-event-box .event-date {
  font-size: 1rem;
}
.details-section .single-event-box .event-location-info {
  padding: 2.5rem;
  flex: 1;
  border-bottom: 2px solid #404040;
}
@media (min-width: 768px) {
  .details-section .single-event-box .event-location-info {
    border-bottom: none;
    border-right: 2px solid #404040;
  }
}
.details-section .single-event-box .event-location-info h3 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.details-section .single-event-box .event-location-info .location-address {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.details-section .single-event-box .event-location-info .photo-masseria-container {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  filter: grayscale(100%) contrast(120%);
}
.details-section .single-event-box .event-location-info .photo-masseria-container img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}
.details-section .single-event-box .event-timeline {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}
.details-section .single-event-box .event-timeline .timeline-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  border-bottom: 1px dotted #d3d3d3;
  padding-bottom: 0.5rem;
}
.details-section .single-event-box .event-timeline .timeline-item:last-child {
  border-bottom: none;
}
.details-section .single-event-box .event-timeline .timeline-item .time {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  min-width: 70px;
}
.details-section .single-event-box .event-timeline .timeline-item .event-name {
  font-size: 1.2rem;
}

.rsvp-section .rsvp-container {
  width: 100%;
  border: 2px solid #404040;
  padding: 3rem 2rem;
  background-color: #fff;
}
.rsvp-section .rsvp-container .section-title {
  margin-bottom: 0.5rem;
}
.rsvp-section .rsvp-container .rsvp-subtitle {
  font-size: 1.2rem;
  margin: 0 auto 1rem;
  width: 60%;
}
@media screen and (max-width: 768px) {
  .rsvp-section .rsvp-container .rsvp-subtitle {
    width: 100%;
  }
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-overlay .modal-box {
  background: #fff;
  width: 100%;
  max-width: 500px;
  border: 2px solid #404040;
  padding: 3rem 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay .close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  font-family: "Oswald", sans-serif;
  color: #404040;
  cursor: pointer;
  line-height: 1;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}
.custom-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}
.custom-form .form-group label,
.custom-form .form-group .radio-label {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
}
.custom-form .form-group .editorial-input {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  padding: 0.8rem;
  border: 2px solid #404040;
  outline: none;
  background: #fff;
}
.custom-form .form-group .editorial-input::placeholder {
  color: #888;
}
.custom-form .form-group .editorial-input:focus {
  border-color: #404040;
}
.custom-form .radio-group .radio-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 0.5rem;
  font-weight: 300;
}
.custom-form .radio-group .radio-option input[type=radio] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: #404040;
}
.custom-form .w-100 {
  width: 100%;
  text-align: center;
}

.autocomplete-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 2px solid #404040;
  border-top: none;
  background: #fff;
  z-index: 99;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}
.autocomplete-items div {
  padding: 0.8rem;
  cursor: pointer;
  font-size: 1.1rem;
  border-bottom: 1px dotted #ccc;
}
.autocomplete-items div:last-child {
  border-bottom: none;
}
.autocomplete-items div:hover, .autocomplete-items div.autocomplete-active {
  background-color: #404040;
  color: #fff;
}

.form-error-msg {
  display: none;
  font-size: 1.1rem;
  color: #8b0000;
  margin-top: 0.5rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.map-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #fff;
  color: #404040;
  border: 2px solid #404040;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.map-button:hover {
  background-color: #404040;
  color: #fff;
}

#access-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}
#access-gate .gate-box {
  max-width: 500px;
  width: 100%;
  border: 2px solid #404040;
  padding: 3rem 2rem;
  text-align: center;
  background: #fff;
}
#access-gate .gate-title {
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
#access-gate .gate-subtitle {
  margin-bottom: 2rem;
}
#access-gate .password-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#access-gate .password-form .editorial-input {
  padding: 1rem;
  font-family: "Cormorant Garamond", serif;
  border: 2px solid #404040;
  font-size: 1.1rem;
  outline: none;
  text-align: center;
}
#access-gate .error-msg {
  display: none;
  color: #8b0000;
  margin-top: 1rem;
}

.section-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 400;
  margin: 0.5rem 0 0.8rem 0;
  letter-spacing: 1.5px;
  color: #404040;
}

.img-galleria-foto {
  width: 100%;
  margin-top: 2rem;
}

/*# sourceMappingURL=style.css.map */
