/* debravinh.com — shared stylesheet for the landing and About Us pages. */

:root {
  --color-bg-deep: #0a1628;
  --color-bg-mid: #16365c;
  --color-accent: #a8c5e0;
  --color-accent-ice: #dbe9f7;
  --color-text: #f4f8fc;
  --color-text-soft: rgba(244, 248, 252, 0.72);
  --glass-bg: rgba(216, 233, 250, 0.07);
  --glass-bg-hover: rgba(216, 233, 250, 0.14);
  --glass-border: rgba(216, 233, 250, 0.18);
  --font-body: "Karla", "Segoe UI", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --radius-card: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 24px 60px rgba(3, 10, 22, 0.5);
  --shadow-lift: 0 10px 24px rgba(3, 10, 22, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1.25rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(165deg, var(--color-bg-deep) 0%, var(--color-bg-mid) 70%, #2c5282 130%) fixed;
}

/* Soft ambient glow behind the card for depth. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 28rem at 18% 12%, rgba(168, 197, 224, 0.14), transparent 60%),
    radial-gradient(34rem 26rem at 85% 80%, rgba(44, 82, 130, 0.45), transparent 65%);
}

/* ── Glass card ──────────────────────────────────────────────────────────── */

.card {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-card);
  background: rgba(31, 17, 53, 0.6);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}

@supports (backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px)) {
  .card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

.avatar {
  display: inline-block;
  border-radius: 50%;
  line-height: 0;
  border: 3px solid var(--glass-border);
  box-shadow: var(--shadow-lift);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar:hover,
.avatar:focus-visible {
  transform: scale(1.04);
  border-color: var(--color-accent);
}

h1 {
  margin: 1.25rem 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.5vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Link pills ──────────────────────────────────────────────────────────── */

.links {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.link svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
}

@media (hover: hover) {
  .link:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
  }
}

.link:active {
  transform: translateY(0);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  display: flex;
  justify-content: center;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-text-soft);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-link svg {
  width: 1rem;
  height: 1rem;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--color-text);
}

/* ── Focus & motion preferences ──────────────────────────────────────────── */

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ── About Us page ───────────────────────────────────────────────────────── */

.about {
  align-items: stretch;
  text-align: left;
  gap: 0;
}

.about h1 {
  text-align: center;
}

.about .hero-photo {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: calc(var(--radius-card) - 8px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lift);
}

.about .intro {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-text);
}

.about section {
  margin-top: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.section-photo {
  width: 136px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lift);
  flex-shrink: 0;
}

.section-photo.focus-top {
  object-position: 50% 22%;
}

.section-body {
  flex: 1;
}

@media (max-width: 540px) {
  .about section {
    flex-direction: column;
    align-items: stretch;
  }

  .section-photo {
    width: 100%;
    aspect-ratio: 5 / 3;
  }
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.video-link svg {
  width: 1rem;
  height: 1rem;
}

.video-link:hover,
.video-link:focus-visible {
  color: var(--color-accent-ice);
  border-color: var(--color-accent);
}

.about h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
}

.about p {
  margin: 0;
  line-height: 1.65;
  color: var(--color-text-soft);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  align-self: center;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: var(--color-accent);
}
