/* ============================================================
   BAKUMED PHARMACY â€” Base Styles
   Global resets, typography, shared buttons, animations
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* â”€â”€â”€ SECTION BASE â”€â”€â”€ */
section { padding: 100px 5%; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--green);
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
}

.section-heading em { font-style: italic; color: var(--green); }

/* â”€â”€â”€ BUTTONS â”€â”€â”€ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(46, 139, 108, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.25s;
}

.btn-outline:hover {
  border-color: var(--green-light);
  color: var(--green-light);
}

/* â”€â”€â”€ SCROLL REVEAL â”€â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view      { opacity: 1; transform: none; }
.reveal-delay-1      { transition-delay: 0.1s; }
.reveal-delay-2      { transition-delay: 0.2s; }
.reveal-delay-3      { transition-delay: 0.3s; }

/* â”€â”€â”€ ANIMATIONS â”€â”€â”€ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}