/* ==========================================================================
   PEDOGA.COM DESIGN SYSTEM & STYLE SHEET
   ========================================================================== */

/* 1. CSS VARIABLES & SYSTEM TOKENS */
:root {
  /* Colors */
  --sky: #e8f4f8;
  --deep: #1a3a4a;
  --deep-dark: #0f2535;
  --teal: #2a7f8f;
  --teal-hover: #1e5c68;
  --mint: #6fcfb0;
  --coral: #f4836c;
  --coral-hover: #e06c54;
  --cream: #fdf9f4;
  --warm: #f7efe4;
  --white: #ffffff;
  
  /* Text Colors */
  --text-primary: #1a3a4a;
  --text-muted: #5c7482;
  --text-light: #fdf9f4;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(26, 58, 74, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 58, 74, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 58, 74, 0.12);
  --shadow-glow: 0 0 20px rgba(111, 207, 176, 0.4);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. BASE STYLES & RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

/* 3. LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

.center-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* 4. BUTTONS & INTERACTIVE ELEMENTS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background-color: var(--mint);
  color: var(--deep);
  box-shadow: 0 4px 14px rgba(111, 207, 176, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 207, 176, 0.5);
  background-color: #63baa0;
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.btn-call {
  background-color: var(--teal);
  color: var(--white);
  padding: 12px 24px;
  font-size: 0.9rem;
}

.btn-call:hover {
  background-color: var(--teal-hover);
  transform: translateY(-1px);
}

/* 5. HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 249, 244, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 127, 143, 0.08);
  transition: padding var(--transition-normal);
}

.nav-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--teal);
  font-style: italic;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: var(--teal);
}

.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background-color: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background-color: var(--deep) !important;
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  justify-content: space-between;
  z-index: 1100;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--deep);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Drawer Menu Mobile */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background-color: var(--cream);
  z-index: 999;
  box-shadow: -10px 0 30px rgba(26, 58, 74, 0.15);
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px;
  transition: right var(--transition-normal);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.drawer-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--deep);
}

.drawer-cta {
  display: block;
  background-color: var(--teal);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(42, 127, 143, 0.25);
}

/* Hamburger animations */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

