/* ===================== BASE ===================== */

html {
  background-color: #CDC9A2;
}

body {
  margin: 0;
  font-family: 'IBM Plex Serif', serif;
}

h1, h2, h3, p { 
  font-weight: normal;
  margin: 0;
  padding: 0;
}
/* ===================== TOPBAR ===================== */

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  text-align: center;
  z-index: 1000;
  font-weight: 400;
  background-color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.topbar nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.topbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.topbar li {
  font-size: 1.25rem;
}

.topbar li a {
  text-decoration: none;
  color: #FEEBC9;
  transition: color 0.3s ease;
}

.topbar.scrolled li a {
  color: #fcd7a8;
}

.mobile-menu {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  display: none;
}

.burger {
  font-size: 2rem;
  border: 1px solid grey;
  background-color: #CDC9A2;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: #CDC9A2;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1200;
}

.mobile-nav.open {
  transform: translateX(0);
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: black;
  margin-bottom: 2rem;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  color: black;
  text-decoration: none;
  font-size: 1.5rem;
}
/*===================== SURFSPOTS HEADER ===================== */
.surfspots {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 1rem;
}

.surfspots h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.surfspots-underline {
  width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
}
/*===================== CROCRO ===================== */
h2 {
    padding: 1vw;
    text-align: center;
    font-size: 2.5rem;
}

p {
    padding: 2vh 15vw;
    text-align: center;
    font-size: 1.5rem;
}

.Image {
     text-align: center;
}
/* ================== MANY MORE ===================== */
.many_more {
  text-align: center;
}

.many_more img {
  width: 25vw;
}
/* ===================== FOOTER ===================== */

footer {
 
  background-color: #000;
  text-align: center;
  padding: 2rem 0;
}

footer p {
 color: #CDC9A2; 
 font-family:'IBM Plex Serif', sans-serif ;
 font-size: 16px;
}

footer img {
height: 150px;
}

/* ===================== MOBILE STYLES @ <=768px ===================== */
@media (max-width: 1024px) {

  .mobile-menu { display: block; }  
  .topbar { display: none; }  
 
/*==== ROOMS HEADER ====*/
.surfspots-underline {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
}

p {
  font-size: 1rem;
}

.Image img {
  width: 90%;
}

.many_more img {
  width: 50%;
}
}

/* ===== Landscape Mobile ===== */
@media screen and (max-width: 768px) and (orientation: landscape) {

  .mobile-nav {
    max-height: 100vh;
    overflow-y: auto;
  }
  
  .mobile-nav a {
    font-size: 1.25rem;
    padding: 0.75rem 0;
  }
}