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

body {
  font-family: Palatino;
  line-height: 1.6;
  color: #353a52;
}

h1 {
    font-size: 3rem;
    font-weight: lighter;
    line-height:3.5rem;
}

a, p{
  font-family: Avenir light;
  color: #353a52;
}

.h3 a{
  font-family: Palatino;
}

.sans-serif{
  font-family: Avenir light;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
/*  position: sticky;*/
  top: 0;
/*  background-color: rgba(176,187,204,0.8);*/
  z-index: 100;

}

.nav nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #000;
}

/* Keep your existing nav flex */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  z-index: 100;
}

/* New: right side container */
.nav-right {
  display: flex;
  align-items: center;
}

/* Nav links */
.nav-right nav a {
  margin-left: 20px; /* space between links */
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Language buttons inline with nav */
.lang-switch {
  display: flex;
justify-content: flex-end; /* align to the right */
align-items: center;
padding: 0.5rem 2rem;
font-size: 12px;
}

.lang-switch button {
  background: none;
  border: none;      /* remove outlines */
  color: #353a52;
    cursor: pointer;
  padding: 0 6px;
}
/* Active language button background */
.lang-switch button.active {
  background-color: #b76e79;
  color: white;
}

/* Separator styling */
.lang-switch .separator {
  color: #353a52;
    margin: 0 6px;
  user-select: none; /* prevents accidental selection */
}

/* Hover effect */
.lang-switch button:hover {
  color: #333;
}

/* Active language button background */
.lang-switch button.active {
  background-color: rgba(176,187,204,0.4);
  color: #353a52;
    border-radius: 4px;
  z-index: 2; /* ensure it’s above the separator */
}

/* NAVBAR */
header.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  position: relative;
  z-index: 100;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 20px;
  align-items:center;
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  background: white;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 180px;
  z-index: 100;
}

.dropdown-menu a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Hamburger icon hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
    z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color:    #353a52;
  border-radius: 2px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 70px 1fr; /* left = time, right = text */
  gap: 12px;
  margin-bottom: 1.5rem;
  align-items: baseline;
}

.schedule-item .time {
  font-weight: bold;
  text-align: right;
}

.schedule-item .details h3 {
  margin: 0 0 6px 0;
}

.schedule-item .details p {
  margin: 0 0 8px 0;
}

.neighbour-item {
  display: grid;
  grid-template-columns: 100px 1fr; /* left = time, right = text */
  gap: 40px;
  margin-bottom: 1.5rem;
  margin-right: 2rem;
  align-items: baseline;
}

.neighbour-item .neighbour {
  font-weight: bold;
  text-align: right;
}

.neighbour-item .neighbour-details h3 {
  margin: 0 0 6px 0;
}




/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
       flex-direction: column;
       position: absolute;
       top: 100%;
       right: 2rem;
       width: 220px;
       background: white;
       border-radius: 6px;
       box-shadow: 0 8px 20px rgba(0,0,0,0.08);
       padding: 10px 0;
       z-index: 1050;
       align-items: flex-start;

     }

  .nav-links a {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
    width:100%;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  /* Show menu when active */
  .nav-links.active {
    display: flex;
  }

  .dropdown-menu {
   position: static;
   display: flex;
   box-shadow: none;
   padding-left: 1rem;
   padding-right:0;
   align-items: flex-end;
    text-align: left;
 }

 .dropdown-menu a{
   width:100%;
   text-align:left;
 }

 .schedule-item {
   display: grid;
   grid-template-columns: 1fr; /* left = time, right = text */
   gap: 12px;
   margin-bottom: 1.5rem;
   align-items: baseline;
 }

 .schedule-item .time {
   font-weight: bold;
   text-align: left;
 }
 .schedule-item .details h3 {
   margin: 0 0 0 0;
 }

 .neighbour-item {
   display: grid;
   grid-template-columns: 1fr; /* left = time, right = text */
   gap: 12px;
   margin-bottom: 1.5rem;
   align-items: baseline;
 }

 .neighbour-item .neighbour {
   font-weight: bold;
   text-align: left;
 }
 .neighbour-item .details h3 {
   margin: 0 0 0 0;
 }
}


.logo {
  max-height: 100%;
  max-width: 200px;   /* optional width cap */
  height: 80px;       /* preferred approach */
  width: auto;
  object-fit: contain;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 100vh;
  position: relative;
}

.hero-bis{
  display: grid;
  grid-template-columns: 2fr 1fr;
  position: relative;
  background-color: rgba(176,187,204,0.4);
}


.hero-bis img{
  width: 100%;
  max-width: 300px;
}

.hero-bis h2{
  font-size: 4rem;
  line-height: normal;
}

.hero  h1{
  font-size: 6rem;
  line-height: 1;
}

.hero  h2{
  font-family: Avenir light;
  text-indent: 0.4rem;
}

.hero p{
  font-family: Avenir light;
  text-indent: 0.4rem;
}





.hero-text {
  padding: 4rem 2rem;
}

.hero-text h3{
    text-indent: 0.4rem;
}



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

/* SECTIONS */
.section {
  padding: 6rem 2rem;
}

.grey {
  background-color: rgba(176,187,204,0.4);
}
.light-grey {
  background-color: rgba(176,187,204,0.2);
}

.white {
  background: white;
}

/* OVERLAP EFFECT */
.overlap {
  margin-top: -150px;
  padding-top: 200px;
  padding-right:100px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid rgba(176,187,204,1);;
    margin: 1em 0;
    padding: 0;
}

/* BUTTON */
.rsvp-btn {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 999px;
  background-color: rgba(176,187,204,0.4);
  color: #353a52;
  border: none;
}

.rsvp-btn:hover {
  color: white;
  background-color: #353a52;
}



/* TWO COLUMN */
.two-col {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 4rem;
  margin-top: 0rem;
  align-items: start;
}

.two-col-text{
  margin: 20px 10px 0 0;
  max-width:800px;

}

.two-col-schedule{
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: end;
}

.two-col-schedule img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills container without stretching */
  margin: 0 0 30px 0;
}



/* THIRD SECTION LAYOUT */
.three-col-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

.three-col-layout img {
  width: 100%;
  height: 100%;
  height: auto;
  object-fit: cover; /* fills container without stretching */
  border-radius: 8px; /* optional rounded corners */
}

.sub-page {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 3fr 3fr; /* two columns */
  gap: 6rem;
  align-items: start;
  margin-top: 2rem;
}

.faq-layout img{
  width: 100%;
  height:100%;
  object-fit: cover; /* fills container without stretching */
bottom:0;
}


ul li{
  font-family: Avenir light;
}


.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* Make the h2 take the left column
.faq-layout > h2 {
  grid-column: 1 / 2;
  margin: 0;
  padding-top: 0.5rem;
}

/* FAQ items go in the right column
.faq-layout > .faq-item {
  grid-column: 2 / 3;
  margin-bottom: 1rem;
}*/

.faq-item {
  max-width: 700px; /* adjust to taste */
}


.faq-question {
  width: 100%;
  display: flex;                /* make button a flex container */
  justify-content: space-between; /* text on left, icon on right */
  align-items: center;          /* vertically center text & icon */
  padding: 1rem;
  background: #f2f2f2;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.faq-question h2{
  line-height: 1.6;
  font-family: Palatino;
  font-weight: lighter;
  color: #353a52;
}

.faq-question:hover {
  background: #e0e0e0;
}

/* Plus/minus icon inside the button */
.faq-question::after {
  content: '+';
  font-weight: bold;
  transition: transform 0.3s;
}

.faq-question.active::after {
  content: '–';
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  border-left: 3px solid #353a52;
  padding: 0 1rem;          /* padding stays */
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.2s ease;
}


.faq-answer.open {
  padding: 0.75rem 1rem;
  opacity: 1;

}



/* TRAVEL */
.three-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 3rem;
}

.three-boxes img {
  width: 10vw;   /* 1/3 of the viewport width */
  max-width: 100%;  /* prevents overflow if container is smaller */
  height: auto;     /* keeps proportions */
  min-width: 100px;
}

.box{
  padding-right:1rem;
}

/* IMAGE GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* CTA */
.cta {
  text-align: center;
  background: #f2f2f2;

}

/* Image */
.cta-image {
  max-width: 500px;
  min-width: 400px;   /* optional: control size */
  width: 80%;         /* responsive */
  height: auto;
}

@media (max-width: 480px) {
  .cta-image {
    width: 100%;
    min-width: 0;
  }
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
}

.footer p{
  font-size: 1rem;
}



/*HOTEL CAROUSEL*/
.hotel-carousel {
  position: relative;       /* IMPORTANT */
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 10px 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  align-items: stretch; /* ensures cards define height */
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.hotel-card {
  min-width: 280px;
  max-width: 320px;
  flex: 0 0 auto;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}



.hotel-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
}



.hotel-info {
  padding: 16px;
}

.book-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  background-color: rgba(176,187,204,0.4);
  color: #353a52;
  border-radius: 6px;
  font-weight: bold;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 45px;
  height: 45px;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 10;              /* Ensures buttons are above cards */
}


.prev { left: 10px; }
.next { right: 10px; }





/* Tips section */
.tips {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid #f2f2f2;
}

/* Strong text inside lists */
.city-guide li strong {
  font-weight: 600;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .city-guide {
    padding: 0 1rem;
  }

  .city-guide h1 {
    font-size: 2rem;
  }
}




/* MOBILE */
@media (max-width: 768px) {
  .hero,
  .two-col,
  .two-col-schedule,
  .three-col-layout,
  .faq-layout,
  .three-boxes,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .hero-bis h2 {
  font-size: 2.2rem;
}

.hero-bis {
  grid-template-columns: 1fr; /* stack */
}

.hero-bis img {
  order: -1; /* move image before text */
  padding-left:40px;
  max-width: 200px;
  margin:0;
  padding-bottom: 0;
}

  .three-col-layout
  .two-col img {
    height: auto;
  }

  .hero-image {
    height: 50vh;
  }

  .overlap {
    margin-top: 0;
    padding-top: 6rem;
  }

  .faq-layout {
   grid-template-columns: 1fr;
 }

 .faq-layout > h2,
 .faq-layout > .faq-item {
   grid-column: 1 / 2;
 }
 .two-col-text{
   margin: 0px 0 0 0;
 }
 .footer {
   text-align: center;
   padding: 2rem;
   width:100%;
 }

 .footer p{
   font-size:0.7rem;
 }
}

  .nav nav a {
    margin-left: 1rem;
  }




}

@media (max-width: 600px) {
  .carousel-btn { display: none; }
}
