/* Piùvicina Luxury Styles - Mobile-First, Minimalist */

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

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

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


.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
  max-height: 60px;
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #0891b2;
}

.lang-toggle {
  background: #0891b2;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
}

.lang-toggle:hover {
  background: #0e7490;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #1a1a1a;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s 0.2s forwards;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s 0.4s forwards;
}



.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><defs><radialGradient id=\"g\" cx=\"50%\" cy=\"50%\"><stop offset=\"0%\" stop-color=\"%23ffffff15\"/><stop offset=\"50%\" stop-color=\"%23ffffff08\"/><stop offset=\"100%\" stop-color=\"%23ffffff00\"/></radialGradient></defs><circle cx=\"20\" cy=\"20\" r=\"10\" fill=\"url(%23g)\"></circle><circle cx=\"80\" cy=\"30\" r=\"8\" fill=\"url(%23g)\"></circle><circle cx=\"40\" cy=\"80\" r=\"12\" fill=\"url(%23g)\"></circle></svg>') no-repeat center/cover;
}

/* About */
.about {
  padding: 120px 0 80px;
  background: #f8f9fa;
}

.about h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

.about p {
  font-size: 1.3rem;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  color: #1a1a1a;
  line-height: 1.8;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
}

.about p.about-intro {
  font-size: 1.3rem;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  margin: 0 auto 1.5rem;
  text-align: justify;
}

/* Experiences */
.experiences {
  padding: 80px 0;
  background: #f8f9fa;
}

.experiences h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

.experiences-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  text-align: justify;
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.experience-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.experience-card h3 {
  padding: 1rem 1.5rem 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
}

.experience-card p {
  padding: 0 1.5rem 1.5rem;
  color: #1a1a1a;
}


.hidden {
  display: none;
}


.cta-button {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s 0.6s forwards;
  margin: 0;
}

.cta-button:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

.show-more-btn {
    display: block;
    background: #0891b2;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
    margin: 1.5rem auto 0;
    width: fit-content;
}

.show-more-btn:hover {
  background: #0e7490;
}


/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: white;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: modalSlide 0.3s ease;
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
}

.close:hover {
  color: #333;
}

.book-btn {
  background: #0891b2;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
  margin-top: 1rem;
  transition: background 0.3s;
}

.book-btn:hover {
  background: #0e7490;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: #0f172a;
  color: white;
}

.contact h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.contact-form button {
  background: #0891b2;
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  width: 100%;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #0e7490;
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

footer a {
  color: #0891b2;
  text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Styles */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .experiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  .experiences-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

/* Lang switch - .lang-en class */
body.lang-en {
  font-family: 'Inter', sans-serif;
}

body.lang-en .hero-title::after {
  content: '';
}

/* Scroll active nav */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Images page */
.images-list {
  padding: 120px 0 80px;
  background: #f8f9fa;
  min-height: 60vh;
}

.images-list h2 {
  font-family: 'Graphik', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

.credits-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.credits-list li {
  padding: 0.8rem 0;
  font-size: 1.1rem;
  color: #555;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
}

.credits-list li:last-child {
  border-bottom: none;
}

/* Lazy load */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ============================================================
   DESTINATIONS PAGE
   ============================================================ */

.destinations-page {
  padding: 120px 0 80px;
  background: #f8f9fa;
}

.destinations-page h2 {
  font-family: 'Graphik', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.destinations-intro {
  font-size: 1.15rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  color: #1a1a1a;
  line-height: 1.7;
  
}

.destination-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.destination-image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  object-fit: cover;
}

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

.destination-row:hover .destination-image img {
  transform: scale(1.03);
}

.destination-text {
  padding: 1.5rem;
  color: #1a1a1a;
  line-height: 1.7;
  text-align: justify;
  font-family: 'Graphik', sans-serif;
}

.destination-text h3 {
  font-family: 'Graphik', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.destination-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Tablet+ */
@media (min-width: 768px) {
  .destination-row {
    flex-direction: row;
    align-items: stretch;
  }


  .destination-image,
  .destination-text {
    flex: 1 1 50%;
  }

  .destination-image {
    max-height: none;
  }

  .destination-text {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ============================================================
   EXPERIENCES PAGE
   ============================================================ */

.experiences-hero .hero-title {
  white-space: normal;
}

.experiences-page {
  padding-top: 120px;
}

.experiences-page .experience-card h3 {
  padding: 1.5rem 1.5rem 0.3rem;
}

.experiences-page .experience-card p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .experiences-page .experiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .experiences-page .experiences-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
