/* ==========================================================================
   Jambo Hotels — shared stylesheet
   Recreated from the original Wix site. Palette: yellow #E8BA05, teal #6AA3A2,
   nav grey #868686.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,600;1,700&family=Raleway:wght@400;500;600;700;800&family=Baloo+2:wght@600;700;800&display=swap');

:root{
  --yellow: #E8BA05;
  --teal: #6AA3A2;
  --teal-dark: #588d8c;
  --nav-grey: #868686;
  --dark-text: #2b2b2b;
  --muted-text: #55707a;
  --white: #ffffff;
  --max-width: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  color: var(--dark-text);
  background: var(--yellow);
  line-height: 1.6;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Header / Nav ---------------- */

.site-header{
  background: var(--nav-grey);
  position: relative;
  z-index: 50;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 18px 20px;
  flex-wrap: wrap;
}

.nav a{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: opacity .2s ease;
}

.nav a:hover,
.nav a.active{
  opacity: .75;
  border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 2px;
}

.nav-toggle{
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 12px;
}

/* ---------------- Hero ---------------- */

.hero{
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 25, 0.32);
}

.hero-inner{
  position: relative;
  z-index: 2;
  padding: 48px 20px 40px;
  color: #fff;
}

.logo-lockup{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.logo-lockup img{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.85);
}

.logo-text{
  font-family: 'Baloo 2', 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: 2px;
  line-height: 1;
}

.logo-text small{
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 6px;
  margin-top: 4px;
}

.hero h1{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 5vw, 46px);
  text-decoration: underline;
  text-underline-offset: 8px;
  margin: 10px 0 14px;
}

.hero .tagline{
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .4px;
  margin: 0;
}

.hero.small{ min-height: 220px; }
.hero.small h1{ text-decoration: none; }

/* ---------------- Yellow content area ---------------- */

main{ background: var(--yellow); }

.section{
  padding: 60px 0;
}

.intro-box{
  background: #fff;
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 34px 40px;
  text-align: center;
  border-radius: 2px;
  position: relative;
}

.intro-box::before{
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  background: var(--teal);
  margin: 0 auto 18px;
}

.intro-box p{
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark-text);
}

/* Hotel showcase card (used on home page) */

.hotel-card{
  max-width: 900px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.hotel-card.reverse .hc-teal{ order: 2; }
.hotel-card.reverse .hc-image{ order: 1; }

.hc-teal{
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 24px;
  min-height: 220px;
}

.hc-teal h2{
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 12px;
}

.hc-teal h2 a{ text-decoration: underline; text-underline-offset: 5px; }

.hc-teal .rule{
  width: 32px;
  height: 2px;
  background: #e0a800;
  margin: 0 auto;
}

.hc-image{ min-height: 220px; overflow: hidden; }
.hc-image img{ width: 100%; height: 100%; object-fit: cover; }

.hc-text{
  grid-column: 1 / -1;
  background: #fff;
  padding: 30px 34px;
}

.hc-text p{ margin: 0 0 12px; font-size: 14px; color: #4a4a4a; }
.hc-text p:last-child{ margin-bottom: 0; }

.hc-text .read-more{
  font-weight: 700;
  text-decoration: underline;
  color: var(--dark-text);
}

.hotel-card.grid2{
  grid-template-columns: 1fr 1fr;
}
.hotel-card.grid2 .hc-image.small{ min-height: 190px; }
.hotel-card.grid2 .hc-text-inline{
  background: #fff;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hotel-card.grid2 .hc-text-inline p{ margin: 0 0 10px; font-size: 14px; color: #4a4a4a; }

/* ---------------- Generic content sections (sub pages) ---------------- */

.page-lead{
  max-width: 880px;
  margin: 0 auto 10px;
  background: #fff;
  padding: 34px 40px;
  text-align: center;
  font-size: 15px;
  color: #3f3f3f;
}

.feature{
  max-width: 1000px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.feature.reverse{ direction: rtl; }
.feature.reverse > *{ direction: ltr; }

.feature img{ width: 100%; border-radius: 2px; }

.feature .two-up{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature h2{
  font-size: 24px;
  color: var(--teal-dark);
  margin: 0 0 14px;
  font-weight: 700;
}

.feature p{ font-size: 14px; color: #4a4a4a; margin: 0 0 10px; }

.rate-image{
  max-width: 640px;
  margin: 50px auto;
  text-align: center;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.rate-image h3{
  color: var(--teal-dark);
  margin: 0 0 16px;
  font-size: 20px;
}

.gallery{
  max-width: 1000px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery img{ width: 100%; height: 210px; object-fit: cover; border-radius: 2px; }

.facilities-box{
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 36px 44px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.facilities-box h2{
  color: var(--teal-dark);
  font-size: 22px;
  margin-top: 0;
}
.facilities-box ul{
  columns: 2;
  padding-left: 20px;
  margin: 16px 0;
}
.facilities-box li{ margin-bottom: 8px; font-size: 14px; }

.booking-box{
  max-width: 900px;
  margin: 0 auto 60px;
  background: var(--teal);
  color: #fff;
  padding: 32px 44px;
  text-align: center;
}
.booking-box h2{ margin-top: 0; font-size: 20px; letter-spacing: .5px; }
.booking-box p{ margin: 6px 0; font-size: 14.5px; }
.booking-box a{ text-decoration: underline; }

/* ---------------- Footer ---------------- */

.site-footer{
  background: var(--nav-grey);
  color: #fff;
  padding: 50px 0 24px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-grid h3{
  font-size: 16px;
  letter-spacing: .5px;
  margin: 0 0 14px;
  font-weight: 700;
}

.footer-grid p{ font-size: 13.5px; margin: 4px 0; opacity: .9; }

.subscribe-form{
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.subscribe-form input[type="email"]{
  flex: 1;
  min-width: 180px;
  padding: 10px 12px;
  border: none;
  border-radius: 2px;
  font-family: inherit;
}
.subscribe-form button{
  background: var(--yellow);
  color: #2b2b2b;
  border: none;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 2px;
  cursor: pointer;
}
.subscribe-form button:hover{ opacity: .9; }

.social-row{ display: flex; gap: 14px; margin-top: 14px; }
.social-row img{ width: 30px; height: 30px; border-radius: 50%; }

.footer-bottom{
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 18px;
  font-size: 12.5px;
  opacity: .85;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 760px){
  .nav{ display: none; flex-direction: column; gap: 16px; text-align: center; padding: 60px 20px 24px; }
  .nav.open{ display: flex; }
  .nav-toggle{ display: block; }

  .hotel-card,
  .hotel-card.reverse,
  .hotel-card.grid2{ grid-template-columns: 1fr; }
  .hotel-card.reverse .hc-teal,
  .hotel-card.reverse .hc-image{ order: initial; }

  .feature,
  .feature.reverse{ grid-template-columns: 1fr; direction: ltr; }
  .feature .two-up{ grid-template-columns: 1fr; }

  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .facilities-box ul{ columns: 1; }
  .footer-grid{ grid-template-columns: 1fr; }
}
