/* ===============================
   BASE STYLES

   Common base styles shared across all pages.
   Includes: CSS reset, fonts, body styles, heading styles.
================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

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

/* Body Base Styles */
body {
  font-family: Inter, sans-serif;
  background: var(--color-light-blue);
  color: var(--color-orange);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Heading Styles */
h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

/* ===============================
   RESPONSIVE TYPOGRAPHY
================================ */

/* Base font size - never below 16px for accessibility */
body {
  font-size: clamp(16px, 2vw, 18px);
}

@media (max-width: 500px) {
  body {
    font-size: 16px; /* Minimum readable size */
  }
}

/* Responsive heading sizes */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
}

/* ===============================
   MOBILE-FRIENDLY BASE
================================ */

/* Ensure no horizontal scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Mobile-friendly touch targets */
button:not(.nav-menu-close):not(.swiper-pagination-bullet), 
a, 
input, 
select, 
textarea {
  min-height: 44px; /* Minimum touch target size */
}

@media (max-width: 500px) {
  button, a.button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}
