/* FONTS */
@font-face {
  font-family: 'Catchy Mager';
  src: url('fonts/Catchy Mager.ttf') format('truetype'),
       url('fonts/Catchy Mager.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: normal;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: italic;
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #6B4E3D;
  line-height: 1.8;
  background-color: #f4f1ed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Catchy Mager', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

/* Image zoom animation on scroll */
.zoom-on-scroll {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
}

.zoom-on-scroll.visible {
  opacity: 1;
  transform: scale(1);
}

/* NAVIGATION MENU */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(107, 78, 61, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.nav-logo {
  font-family: 'Catchy Mager', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 100%;
  color: #f4f1ed;
  letter-spacing: 1px;
  padding-top: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  align-items: center;
  line-height: 1;
}

.nav-link {
  color: #f4f1ed;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 10px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #f4f1ed;
  transition: width 0.3s;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0px;
  margin-right: 87px;
  z-index: 1001;
  height: 28px;
  width: 28px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: #f4f1ed;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.65px, 5.65px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.65px, -5.65px);
}

/* Adjust hero to account for fixed navbar */
.hero {
  position: relative;
  height: 800px;
  padding-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f4f1ed;
  background-image: url('assets/fiore.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.language-switcher {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: 20px;
}

.lang-flag {
  display: block;
  width: 40px;
  height: 28px;
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0.8;
  cursor: pointer;
}

.lang-flag.active {
  opacity: 1;
  transform: scale(1.15);
}

.lang-flag:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

.lang-flag:hover {
  transform: scale(1.15);
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
}

.hero-title {
  font-family: 'Catchy Mager', Georgia, serif;
  font-size: 6rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-family: 'Catchy Mager', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 50px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.btn-book {
  display: inline-block;
  padding: 18px 50px;
  background-color: #f4f1ed;
  color: #6B4E3D;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: 2px solid #6B4E3D;
  transition: all 0.3s;
}

.btn-book:hover {
  background-color: #6B4E3D;
  color: #f4f1ed;
}

/* VIDEO SECTION */
.section-video {
  padding: 80px 40px;
  background-color: #f4f1ed;
}

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

.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.video-placeholder:hover {
  transform: scale(1.02);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.video-placeholder:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-note {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(107, 78, 61, 0.9);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* WELCOME SECTION */
.section-welcome {
  padding: 80px 40px;
  background-color: #f4f1ed;
}

.container-two-col {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-left h2 {
  font-size: 3rem;
  font-weight: 600;
  color: #6B4E3D;
  margin-bottom: 40px;
  line-height: 1.3;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 1.15rem;
  color: #6B4E3D;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  color: #6B4E3D;
}

.feature-image {
  width: 100%;
  max-width: 600px;
  max-height: 600px;
  border-radius: 15px;
  object-fit: contain;
}

/* ACCOMMODATIONS SECTION */
.section-accommodations {
  padding: 80px 40px;
  background-color: #f0ece6;
}

.section-accommodations h2 {
  font-size: 3.5rem;
  font-weight: 600;
  color: #6B4E3D;
  text-align: center;
  margin-bottom: 60px;
}

.accommodation-grid {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.accommodation-item {
  position: relative;
}

.accommodation-item img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: 15px;
}

.accommodation-label {
  margin-top: 20px;
  padding: 20px;
  border: 2px solid #6B4E3D;
  border-radius: 8px;
  text-align: center;
}

.capacity {
  font-size: 0.95rem;
  color: #6B4E3D;
  margin-bottom: 8px;
}

.accommodation-label h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #6B4E3D;
}

/* BAR & RESTAURANT SECTION */
.section-restaurants {
  padding: 80px 40px;
  background-color: #f4f1ed;
}

.section-restaurants h2 {
  font-size: 3rem;
  font-weight: 600;
  color: #6B4E3D;
  margin-bottom: 40px;
}

/* SURROUNDINGS SECTION */
.section-surroundings {
  padding: 80px 40px;
  background-color: #f4f1ed;
}

.section-surroundings h2 {
  font-size: 3rem;
  font-weight: 600;
  color: #6B4E3D;
  margin-bottom: 40px;
}

/* PROMOS SECTION */
.section-promos {
  padding: 80px 40px;
  background-color: #f0ece6;
}

.section-promos h2 {
  font-size: 3.5rem;
  font-weight: 600;
  color: #6B4E3D;
  text-align: center;
  margin-bottom: 60px;
}

.promos-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.promo-card {
  background-color: #f0ece6;
  text-align: center;
}

.promo-image {
  margin-bottom: 30px;
}

.promo-image img {
  width: 100%;
  height: auto;
  max-width: 300px;
  max-height: 300px;
  border-radius: 15px;

}

.promo-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #6B4E3D;
  margin-bottom: 20px;
}

.promo-card p {
  font-size: 1.1rem;
  color: #6B4E3D;
  line-height: 1.8;
}

/* REVIEWS SECTION */
.section-reviews {
  padding: 80px 40px;
  background-color: #f4f1ed;
}

.section-reviews h2 {
  font-size: 3.5rem;
  font-weight: 600;
  color: #6B4E3D;
  text-align: center;
  margin-bottom: 60px;
}

.reviews-hero {
  max-width: 800px;
  margin: 0 auto 60px;
}

.reviews-hero img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 15px;
}

.reviews-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.review-card {
  position: relative;
  padding: 40px 30px 30px 30px;
  background-color: #f4f1ed;
}

.first-review-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: -30px;
  width: 40px;
  height: 30px;
  background-image: url('assets/virgolette.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}

.last-review-card::before {
  content: '';
  position: absolute;
  top: 10px;
  right: -10px;
  width: 40px;
  height: 30px;
  background-image: url('assets/virgolette.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
  transform: rotate(180deg);
}

.review-text {
  font-size: 1.05rem;
  color: #6B4E3D;
  margin-bottom: 15px;
  line-height: 1.8;
}

.review-text-minor {
  font-size: 0.95rem;
  color: #6B4E3D;
  margin-bottom: 20px;
  line-height: 1.8;
}

.review-source {
  font-size: 1rem;
  font-weight: 600;
  color: #6B4E3D;
  text-align: left;
}

/* RESERVATION SECTION */
.section-reservation {
  padding: 80px 40px;
  background-color: #f0ece6;
}

.section-reservation h2 {
  font-size: 3.5rem;
  font-weight: 600;
  color: #6B4E3D;
  text-align: center;
  margin-bottom: 60px;
}

.reservation-grid {
  max-width: 1400px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.reservation-card {
  padding: 40px;
  background-color: #f0ece6;
  border: 2px solid #6B4E3D;
  border-radius: 8px;
  text-align: center;
}

.reservation-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #6B4E3D;
}

.price {
  font-size: 1.2rem;
  color: #6B4E3D;
}

.email-link {
  display: block;
  color: #6B4E3D;
  text-decoration: underline;
  font-size: 0.95rem;
}

.whatsapp-logo {
  display: inline-block;
  margin: 20px 0;
  transition: transform 0.3s;
}

.whatsapp-logo img {
  width: 250px;
  height: auto;
  display: block;
}

.whatsapp-logo:hover {
  transform: scale(1.1);
}

.booking-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 20px;
}

.booking-logo,
.airbnb-logo {
  display: block;
  transition: transform 0.3s;
}

.booking-logo img,
.airbnb-logo img {
  width: 120px;
  height: auto;
}

.booking-logo:hover,
.airbnb-logo:hover {
  transform: scale(1.1);
}

.contact-info {
  text-align: center;
  margin-top: 40px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #6B4E3D;
  margin-bottom: 10px;
}

.contact-info a {
  color: #6B4E3D;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .nav-container {
    padding: 15px 30px;
  }

  .nav-menu {
    gap: 20px;
  }

  .hero {
    height: 600px;
  }

  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }

  .promos-grid,
  .reviews-grid,
  .reservation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1400px) {
  .nav-container {
    padding: 15px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    flex-direction: column;
    background-color: rgba(107, 78, 61, 0.98);
    padding: 30px 20px;
    gap: 20px;
    align-items: flex-start;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    width: 100%;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(232, 227, 217, 0.2);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background-color: rgba(232, 227, 217, 0.1);
    border-radius: 8px;
  }

  .container-two-col,
  .accommodation-grid {
    grid-template-columns: 1fr;
  }
  
  .content-right {
    text-align: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .nav-container {
    padding: 12px 15px;
  }

  .nav-logo {
    font-size: 1.2rem;
    line-height: 1;
  }

  .nav-toggle {
    margin-right: 54px;
  }

  .nav-menu {
    width: 100%;
    left: -100%;
  }

  .hero {
    height: 400px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }

  .btn-book {
    padding: 14px 35px;
    font-size: 0.95rem;
  }
  
  .language-switcher {
    margin-left: 10px;
    gap: 8px;
  }
  
  .lang-flag {
    width: 32px;
    height: 22px;
  }
  
  .section-welcome,
  .section-accommodations,
  .section-restaurants,
  .section-surroundings,
  .section-promos,
  .section-reviews,
  .section-reservation {
    padding: 40px 15px;
  }
  
  .content-left h2,
  .section-accommodations h2,
  .section-promos h2,
  .section-reviews h2,
  .section-reservation h2 {
    font-size: 1.8rem;
  }

  .feature-list li {
    font-size: 1rem;
  }

  .accommodation-label h3 {
    font-size: 1.4rem;
  }

  .promo-card h3 {
    font-size: 1.4rem;
  }

  .promo-card p {
    font-size: 0.95rem;
  }

  .review-text {
    font-size: 0.95rem;
  }

  .reservation-card {
    padding: 30px 20px;
  }

  .reservation-card h3 {
    font-size: 1.4rem;
  }

  .booking-options {
    flex-direction: column;
    gap: 15px;
  }

  .whatsapp-logo img
  {
    width: 150px;
  }
  
  .booking-logo img,
  .airbnb-logo img {
    width: 80px;
  }

  .video-note {
    font-size: 0.8rem;
    padding: 8px 15px;
  }

  .play-button svg {
    width: 60px;
    height: 60px;
  }
}
