/* ===== CSS Variables (Light + Dark) ===== */
:root {
  --bg: #fafafa;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #555;
  --accent: #0d7377;
  --accent-hover: #095c5f;
  --border: #e2e8f0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --radius: 12px;
}

[data-theme="dark"] {
  --bg: #121212;
  --bg-card: #1e1e1e;
  --text: #e8e8e8;
  --text-muted: #a0a0a0;
  --accent: #4fd1c5;
  --accent-hover: #38b2ac;
  --border: #333;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212;
    --bg-card: #1e1e1e;
    --text: #e8e8e8;
    --text-muted: #a0a0a0;
    --accent: #4fd1c5;
    --accent-hover: #38b2ac;
    --border: #333;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }
}

/* ===== Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}

.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

/* ===== Header & Logo ===== */
.header {
  margin-bottom: 2rem;
}

.logo-img {
  display: block;
  width: 100%;          /* same width as the rest of the content */
  max-width: 100%;
  height: auto;
  margin-bottom: 0.8rem;
}

/* Text + button side by side */
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo-text-area {
  text-align: left;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.15rem 0;
  line-height: 1.2;
}

.tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Theme button on the right */
.theme-toggle {
  background: #d0d0d0;
  border: 2px solid #555;
  color: #222;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;          /* prevents the button from shrinking */
}

.theme-toggle:hover {
  background: #b8b8b8;
  transform: scale(1.08);
}

[data-theme="dark"] .theme-toggle {
  background: #2a2a2a;
  border-color: #888;
  color: #f0f0f0;
}

[data-theme="dark"] .theme-toggle:hover {
  background: #3a3a3a;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
}

.hero h2 {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== Sections ===== */
.section {
  margin-bottom: 2.75rem;
}

.section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.4rem;
}

.section p {
  margin-bottom: 1rem;
  color: var(--text);
}

.note {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.highlight {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
}

/* Skills list */
.skills {
  list-style: none;
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.skills li {
  background: var(--bg-card);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  position: relative;
  padding-left: 2.2rem;
}

.skills li::before {
  content: "✓";
  position: absolute;
  left: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

/* Price list */
.price-list {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.price-item:last-child {
  border-bottom: none;
}

.price-item:nth-child(even) {
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}

.service {
  flex: 1;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  white-space: nowrap;
}

/* Contact */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.charity {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 1rem;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.testimonial p {
  margin-bottom: 0.75rem;
  font-style: italic;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .small {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.center {
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 520px) {
  .container {
    padding: 1rem 1rem 2.5rem;
  }

  .logo h1 {
    font-size: 1.35rem;
  }

  .hero h2 {
    font-size: 1.35rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .price {
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 2rem 1.5rem 4rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .section h2 {
    font-size: 1.55rem;
  }
}