/* ========================================
   SUNNY VIBES BY ESTIA — DESIGN TOKENS
   ======================================== */

:root {
  /* Colors */
  --cream:     #F5F0E8;
  --sand:      #E8DDD0;
  --warm-gray: #8C8478;
  --charcoal:  #2C2824;
  --gold:      #B8966E;
  --gold-dark: #8A6A45;
  --white:     #FDFCFA;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad-y: 140px;
  --section-pad-y-sm: 80px;
  --container-max: 1280px;
  --container-pad: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;
  --duration-fast: 0.3s;

  /* Nav */
  --nav-height: 80px;
  --nav-height-scrolled: 64px;
}

/* ========================================
   RESET & BASE
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--gold);
}

ul, ol {
  list-style: none;
}

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

input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad-y) 0;
}

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.section-title em,
.section-title i {
  font-style: italic;
  font-weight: 300;
}

.section-hr {
  width: 48px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin-bottom: 32px;
}

.body-text {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.body-text:last-child {
  margin-bottom: 0;
}
