/* =========================
   Base Styles
========================= */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: 'Albert Sans', sans-serif;
  color: #4c4637;
}

p {
  line-height: 1.6;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =========================
   Header & Navigation
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #4a5d23;
  color: #daded8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-sizing: border-box;
  padding: 0 4rem;
}

.site-logo {
  max-width: 120px;
}

nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  padding-left: 10rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 18px;
}

nav ul li a {
  color: #daded8;
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Desktop-only nav */
.desktop-nav {
  display: flex;
}

/* Mobile menu toggle */
.menu {
  display: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: white;
  text-decoration: underline;
}

/* Dropdown menu (mobile) */
.dropdown {
  display: none;
  flex-direction: column;
  text-align: center;
  position: absolute;
  left: 0;
  width: 100%;
  gap: 2rem;
  background-color: #4a5d23;
  padding: 2rem 0;
  z-index: 2000;
}

.dropdown a {
  color: #daded8;
  text-decoration: none;
  font-size: 1rem;
}

.dropdown.show {
  display: flex;
}

/* =========================
   Buttons
========================= */
.book-btn, .book-btn-home, .giftvoucher-btn {
  color: #daded8;
  font-weight: bolder;
  background: #4c4637;
  border: none;
  border-radius: 115px;
  cursor: pointer;
  text-decoration: none;
}

.book-btn {
  font-size: 18px;
  padding: 0.75rem 1.5rem;
  margin-left: 10rem;
}

.book-btn-home, .giftvoucher-btn {
  font-size: 18px;
  padding: 1rem 3rem;
  margin-left: 0;
}

.book-btn:hover, .book-btn-home:hover, .giftvoucher-btn:hover {
  background: #807966;
  text-decoration: underline;
}

/* =========================
   Footer
========================= */
footer {
  background-color: #4a5d23;
  color: #daded8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem;
}

.footer-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.footer-text {
  padding-top: 1rem;
}

.map-link, .phone-number, .policy-link a {
  text-decoration: none;
  color: #daded8;
}

.map-link:hover, .phone-number:hover, .policy-link a:hover {
  text-decoration: underline;
}

.facebook-logo, .instagram-logo {
  height: 50px;
}

/* =========================
   Booking Modal
========================= */
.booking-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.booking-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  height: 80%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.close-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #2b361c;
  color: #fefae3;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  z-index: 10;

/*====================
  MAIN (about page)
  ====================*/

}.text-container1 {
    margin: 0 auto;
    font-size: 24px;
    padding-top: 8rem;
    max-width: 1200px;
    padding-left: 20%;
    padding-right: 20%;
    max-width: fit-content;
}

.image-container {
    margin-top: -40px;
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center;     /* centers vertically (if container has height) */
    flex-wrap: wrap;         /* keeps images responsive on smaller screens */
    
} 
.room {
    max-width: 350px;
    border-radius: 50%;
}

.local {
    max-width: 450px;
    border-radius: 50%;
    border: 15px solid #FFFFFF; /* optional border to make overlap look clean */
    margin: 0 -3rem; /* pulls it inward, overlapping the side images */
    z-index: 2; /* ensures it sits on top */
    position: relative;
}

.reception {
    max-width: 350px;
    border-radius: 50%;
}

.text-container2{
    font-size: 24px;
    padding-left: 20%;
    padding-right: 20%;
    max-width: 1200px;
    max-width: fit-content;
    width: 100%;
    background-color: #98a281;
}


.about-heading{
    text-align: center;
}

.description-container{
    text-align: center;
    margin-bottom: 4rem;
}

.silvia-heading {
    padding-top: 3rem;
    text-align: center;
}

.silvia {
    max-width: 450px;
    display: block;   /* <img> is inline by default, needs block */
    margin: 0 auto;   /* auto margins push it to the center */
    border-radius: 50%;
    border: 5px solid #FFFFFF;
}

.about-list{
    padding-bottom: 10%;
}


/*=========================
    tablet specific styling
=========================== */
@media (max-width: 1024px) {
  .site-logo {
    max-width: 100px;
  }

  nav {
    padding-left: 2rem;
  }

  nav ul {
    font-size: 12px;
  }

  .book-btn {
    font-size: 16px;
    padding: 0.6rem 1.2rem;
    margin-left: 2rem;
    display: block;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .image-container {
      flex-direction: row;   /* stay horizontal */
      justify-content: center;
      align-items: center;
      gap: 0.5rem;           /* smaller spacing */
  }

  .room, .local, .reception {
      max-width: 200px;      /* shrink images */
  }

  .local {
      max-width: 250px;      /* keep the middle one slightly larger */
      margin: 0 -1rem;       /* smaller overlap than desktop */
  }
}

/*=========================
    mobile specific styling
=========================== */

@media (max-width: 768px) {

  /* Header */
    header {
    position: relative;
    flex-direction: column;
    height: 100px;
  }

    .book-btn {
    display: none;
    margin: 0;
    width: auto;
  }

  .site-logo {
    max-width: 100px;
    margin-top: 1rem;
    padding-bottom: 1rem;
  }

  /* Hide desktop nav, show menu */
  .desktop-nav {
    display: none;
  }
  .menu {
    display: block;
  }

  nav {
    padding-left: 2rem;
    width: 100%;
    position: relative;
  }

  .dropdown {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: absolute; /* Change to absolute to make it non-sticky */
    left: 0;
    background-color: #4a5d23;
    width: 100%;
    z-index: 2000;
    padding: 0;
    margin: 0;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }


  .dropdown.show {
    display: flex;
  }

  /* MAIN (about page) */
  .silvia {
    max-width: 300px;
  }    

  .text-container1, .text-container2 {
      padding-top: 0;
      padding-left: 1rem;
      padding-right: 1rem;
      max-width: fit-content;
  }

  .image-container {
      flex-direction: column;   /* stack vertically */
      align-items: center;      /* center horizontally */
      gap: 0;                   /* no gap since we'll overlap instead */
  }
  .room, .reception {
      max-width: 250px;
  }

  .local {
      margin-top: -3rem;   /* pulls upward to overlap the top image */
      margin-bottom: -3rem;/* pulls downward to overlap the bottom image */
      z-index: 2;          /* keeps it on top */
      position: relative;
      max-width: 300px;
      border: 7px solid #FFFFFF;
  }

     /* Footer mobile */
  footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    font-size: 1.5vh;
  }

  .footer-icons {
    justify-content: center;
  }

  .container {
    min-height: auto;
  }

}