/* BASE CONFIGURATION OVERRIDES */

p {
  font-family: 'Vinila Bold', sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Basic', sans-serif;
}

body {
  margin: 0;
  background-color: #f8fafc;
  font-family: 'Lato', sans-serif;
  color: #1e293b;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  /* Fluid gutter: ~22px on a small phone, growing to 40px on desktop.
     The old flat 20px left text almost touching the screen edge. */
  padding: 0 clamp(1.375rem, 5vw, 2.5rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@font-face {
  font-family: 'Vinila Bold';
  src: url('/fonts/VinilaTest-Bold.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/GeistMono-Thin.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}


.libre-caslon-text-regular {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: normal;
}

/* Longhand on purpose. .section-gap is applied to the SAME element as
   .container in places, and the `padding` shorthand would reset that
   element's horizontal gutter to zero — which is exactly what made the
   profile section sit flush against both screen edges. */
.section-gap {
  padding-top: clamp(2rem, 6vw, 3.75rem);
  padding-bottom: clamp(2rem, 6vw, 3.75rem);
}
.alt-bg-section { background-color: #f1f5f9; padding: clamp(2rem, 6vw, 3.75rem) 0; }
/* Fluid across the whole range so 768–1366px screens aren't stuck with
   either the phone size or the 1080p size. */
h2 { font-size: clamp(1.4rem, 3.2vw, 2.1rem); color: #0f172a; margin: 0 0 30px 0; text-align: center; }
.section-sub { text-align: center; color: #64748b; margin: 0 0 25px 0; font-size: 0.95rem; }

.btn-read-more {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #16a34a;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-read-more:hover {
  color: #15803d;
  text-decoration: underline;
}

.btn-text { background-color: transparent;
  color: #16a34a;
  border: 2px solid #16a34a;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  gap: 8px;
  transition: all 0.2s ease; }


/* =========================================
   DESKTOP VIEWPORTS LAYOUT CONFIG (768px+)
   ========================================= */
@media (min-width: 768px) {

  .btn-read-more {
  align-self: flex-start; /* Keeps the button left-aligned matching standard layouts */
  font-weight: 700;
  color: #16a34a;
  font-size: 0.9rem;
  text-decoration: none;
  
  transition: color 0.2s;
}
.btn-read-more:hover {
  color: #15803d;
  text-decoration: underline;
}

/* 6. MINI PHOTO GALLERY GRID DISPLAY */
.btn-text { background-color: transparent;
  color: #16a34a;
  border: 2px solid #16a34a;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease; }

  
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; }
}

/* =========================================
   RESPONSIVE SAFETY NET
   Guards against the fixed-width leftovers from designing at 1080p.
   ========================================= */

/* Nothing should be able to force a horizontal scrollbar */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Media and embeds stay inside their column on narrow screens */
img, video, iframe, canvas, svg, table {
  max-width: 100%;
}

/* Long words / URLs shouldn't push a container wider than the screen */
h1, h2, h3, h4, h5, h6, p, li, dt, dd, a {
  overflow-wrap: break-word;
}
