/* ============================================
   Adapting Light – Dark professional theme
   ============================================ */

:root {
  /* Core palette */
  --bg: #050505;
  --bg-elevated: #0e0e0e;
  --bg-card: #121212;
  --text: #c8c8c8;
  --text-muted: #9a9a9a;
  --title: #e8d48b;          /* yellow with soft grey tint */
  --title-soft: #c9b87a;
  --accent-red: #8b1a1a;     /* dark red */
  --accent-red-hover: #a82222;
  --accent-green: #2d6a4f;
  --accent-orange: #c45c26;
  --accent-yellow: #d4a017;
  --border: #1f1f1f;
  --border-accent: #3a1a1a;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;
  --header-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--title-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--title);
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--title);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-red);
  transition: width 0.25s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 3rem) 1.5rem 4rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 26, 26, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(45, 106, 79, 0.08), transparent),
    var(--bg);
}

.hero-content {
  max-width: 780px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 700;
  color: var(--title);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 400;
  color: var(--text);
  max-width: 34em;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-primary {
  background: transparent;
  color: var(--title);
  border: 1.5px solid var(--accent-red);
}

.btn-primary:hover {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red-hover);
  transform: translateY(-1px);
}

/* ========== Sections ========== */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.1rem);
  font-weight: 600;
  color: var(--title);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-orange));
  margin-top: 0.6rem;
  border-radius: 2px;
}

/* About */
.about {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-content {
  max-width: 720px;
}

.about-content p {
  margin-bottom: 1.25rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 0.85rem;
  color: var(--text);
  font-size: 0.98rem;
}

.service-card ul {
  margin: 0.5rem 0 1rem;
}

.service-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-red);
}

.card-note {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  margin-top: 0.75rem;
  margin-bottom: 0 !important;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

/* Wellness */
.wellness {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wellness-content {
  max-width: 720px;
}

.wellness-content p {
  margin-bottom: 1.2rem;
}

.wellness-list {
  margin-top: 1.5rem;
}

.wellness-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 1.1rem;
  color: var(--text);
}

.wellness-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
}

.wellness-list strong {
  color: var(--title-soft);
  font-weight: 600;
}

/* Contact */
.contact-intro {
  margin-bottom: 2rem;
  max-width: 36em;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 240px;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.contact-item:hover {
  border-color: var(--accent-red);
  transform: translateY(-2px);
  color: inherit;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--title);
}

/* ========== Footer ========== */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: #030303;
}

.disclaimer {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.copyright {
  font-size: 0.85rem;
  color: #666;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: 85vh;
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .contact-details {
    flex-direction: column;
  }

  .contact-item {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .service-card {
    padding: 1.4rem 1.2rem;
  }
}

/* Subtle focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 3px;
}
