/* base.css - Reset, Typography, Layout Utilities, Buttons, Blob shapes, @font-face */

/* ==========================================================================
   Rapportia Theme - Main Stylesheet
   ========================================================================== */

@font-face {
  font-family: 'Ephesis';
  src: url('../fonts/Ephesis-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   1. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-navy); }

ul, ol { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.4;
  font-weight: 600;
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--bg {
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-family: 'Georgia', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: #152d4a;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  background: #fff5f0;
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn--lg { padding: 18px 40px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Blob shapes
   -------------------------------------------------------------------------- */
.blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.14;
  will-change: transform;
}

.blob--yellow    { background: var(--color-yellow); }
.blob--teal      { background: var(--color-teal); }
.blob--coral     { background: var(--color-coral); }
.blob--pink      { background: var(--color-pink); }
.blob--lightblue { background: var(--color-lightblue); }
.blob--navy      { background: var(--color-navy); }


