/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* ===== CSS Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Custom Properties ===== */
:root {
  --color-hero-overlay: #66615c;
  --color-beige: #d5cfbe;
  --color-dark-accent: #988976;
  --color-black: #000000;
  --color-light-gray: #ebeaeb;
  --color-white: #ffffff;
  --color-text-dark: #000000;
  --color-text-light: #ffffff;
  --font-heading: 'Source Sans Pro', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.8;
}

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

/* ===== Section base ===== */
.section {
  width: 100%;
  padding: 60px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero .lang-toggle {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
  background-color: var(--color-black);
  text-decoration: none;
  letter-spacing: 0.5px;
  padding: 10px 28px;
  border-radius: 0;
}

.hero .lang-toggle:hover {
  opacity: 0.85;
}

/* ===== Contact / WiFi ===== */
.contact-section {
  background-color: var(--color-beige);
  text-align: center;
  padding: 80px 24px;
}

.contact-section p {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.5;
  max-width: 1000px;
  margin: 0 auto;
}

.wifi-info {
  display: inline-block;
  margin-top: 50px !important;
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  font-family: var(--font-body) !important;
  font-size: 19px !important;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.wifi-info strong {
  font-family: var(--font-body) !important;
  font-size: 19px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Accordion ===== */
.accordion-section {
  background-color: var(--color-beige);
  padding: 20px 24px 80px;
}

.accordion {
  max-width: 1100px;
  margin: 0 auto;
}

.accordion-item {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.accordion-item:first-child {
  border-top: none;
}

.accordion-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--color-text-dark);
}

.accordion-header:hover {
  opacity: 0.7;
}

.accordion-icon {
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-body {
  max-height: 600px;
}

.accordion-body-inner {
  padding: 0 0 24px;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.8);
}

/* ===== Points of Interest ===== */
.poi-section {
  background-color: var(--color-dark-accent);
  color: var(--color-text-light);
  padding: 80px 24px;
}

.poi-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 40px;
  text-align: center;
}

.poi-list {
  list-style: none;
  padding-left: 0;
  max-width: 1000px;
}

.poi-list li {
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
}

.poi-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0;
}

.poi-list a {
  color: var(--color-text-light);
}

/* ===== Restaurant Grid (Local) ===== */
.restaurants-section {
  background-color: var(--color-beige);
  text-align: center;
  padding: 80px 24px;
}

.restaurants-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  font-style: normal;
  margin-bottom: 0;
}

.restaurants-section .subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  margin-top: -2px;
  margin-bottom: 60px;
  opacity: 0.7;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.restaurant-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 10px;
}

.restaurant-card .cuisine {
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 6px;
}

.restaurant-card .links {
  font-size: 0.9rem;
  font-weight: 300;
}

.restaurant-card .links a {
  margin: 0 4px;
}

/* ===== Top Places (Oaxaca) ===== */
.places-section {
  background-color: var(--color-black);
  color: var(--color-text-light);
  text-align: center;
  padding: 100px 24px;
}

.places-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0;
}

.places-section .subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  margin-top: -2px;
  margin-bottom: 70px;
  opacity: 0.7;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 50px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.place-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.place-card p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.85;
}

.place-card a {
  color: var(--color-text-light);
}

/* ===== Oaxaca City Restaurants ===== */
.oaxaca-restaurants {
  background-color: var(--color-black);
  color: var(--color-text-light);
  text-align: center;
  padding: 0 24px 100px;
}

.oaxaca-restaurants .divider {
  width: 100%;
  max-width: 1100px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 60px;
}

.oaxaca-restaurants h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0;
}

.oaxaca-restaurants h3.sub-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 8px;
}

.oaxaca-restaurants .subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.7;
  margin-top: -2px;
  margin-bottom: 60px;
}

.oaxaca-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.oaxaca-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 2px;
}

.oaxaca-card .address {
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 6px;
}

.oaxaca-card .links {
  font-size: 0.95rem;
  font-weight: 300;
}

.oaxaca-card .links a {
  color: var(--color-text-light);
}

/* ===== Instagram Gallery ===== */
.instagram-section {
  background-color: var(--color-light-gray);
  text-align: center;
  padding: 70px 24px 90px;
}

.instagram-section .cta-text {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 6px;
}

.instagram-section .tag-text {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 35px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  max-width: 900px;
  margin: 0 auto;
}

.instagram-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.instagram-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-grid a:hover img {
  transform: scale(1.05);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-black);
  color: var(--color-text-light);
  text-align: center;
  padding: 70px 24px;
}

.footer p {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.5;
}

.footer .heart {
  color: #e74c3c;
}

.mobile-break {
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
  .hero h1 {
    font-size: 2.2rem;
  }

  .contact-section {
    padding-bottom: 10px;
  }

  .contact-section p {
    font-size: 1.2rem;
  }

  .accordion-header,
  .accordion-body-inner {
    font-size: 1.1rem;
  }

  .restaurant-grid,
  .places-grid,
  .oaxaca-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .section {
    padding: 40px 20px;
  }

  .poi-section {
    padding: 50px 20px;
  }

  .poi-section h2,
  .restaurants-section h2,
  .places-section h2,
  .oaxaca-restaurants h2 {
    line-height: 1.1;
  }

  .places-section {
    text-align: left;
  }

  .places-section h2,
  .places-section .subtitle {
    text-align: center;
  }

  .restaurant-card h3 {
    margin-bottom: 2px;
  }

  .place-card h3 {
    margin-bottom: 4px;
  }

  .oaxaca-restaurants h2 {
    margin-bottom: 10px;
  }

  .oaxaca-card h3 {
    margin-bottom: 0;
    line-height: 1.1;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .restaurant-grid,
  .places-grid,
  .oaxaca-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
