/* =========================================================
   tanyatron.com — IT corporate girl · animal lover
   ========================================================= */

:root {
  --ginger: #f09343;
  --ginger-dark: #c96a24;
  --pink: #e2707a;
  --cream: #fff7ee;
  --ink: #2e1d0e;
  --green: #5f8d4e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Quicksand", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HERO — horse photo background (Unsplash)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Tanya's own horse-riding photo (drop it in assets/hero-horse.jpg).
     The Unsplash photo below is a fallback if the local file is missing. */
  background-image: url("assets/hero-horse.jpg"),
    url("https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 10, 5, 0.55) 0%,
    rgba(20, 10, 5, 0.25) 45%,
    rgba(20, 10, 5, 0.65) 100%
  );
}

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--ginger);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus {
  opacity: 1;
  color: var(--ginger);
}

/* ---------- Hero content ---------- */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 0 24px 0 8vw;
  max-width: 620px;
}

.hero-kicker {
  color: #ffe3c2;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.9rem;
  animation: fade-up 0.9s ease both;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  margin: 8px 0 16px;
  animation: fade-up 0.9s 0.15s ease both;
}

.hero-subtitle {
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  animation: fade-up 0.9s 0.3s ease both;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  animation: fade-up 0.9s 0.45s ease both;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--ginger);
  color: #fff;
  box-shadow: 0 6px 20px rgba(240, 147, 67, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--ginger-dark);
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
}

.scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  letter-spacing: 4px;
  animation: bob 2s ease-in-out infinite;
}

/* =========================================================
   BOB-INSPIRED STREET CAT — walks across the hero
   ========================================================= */
.cat-walk {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.cat {
  width: 150px;
  animation: walk-across 22s linear infinite;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.35));
}

.cat svg {
  width: 100%;
  height: auto;
  animation: bob 0.6s ease-in-out infinite; /* street-cat strut, Bob style */
}

/* tail sway */
.cat-tail {
  transform-origin: 30px 78px;
  animation: tail-sway 1.6s ease-in-out infinite;
}

/* head bobbing slightly out of phase */
.cat-head {
  transform-origin: 190px 60px;
  animation: head-bob 0.6s ease-in-out infinite;
}

/* leg stepping cycle */
.cat-leg {
  transform-origin: center 92px;
}

.leg-front-1,
.leg-back-2 {
  animation: step 0.6s ease-in-out infinite;
}

.leg-front-2,
.leg-back-1 {
  animation: step 0.6s ease-in-out 0.3s infinite;
}

/* occasional blink */
.cat-eyes {
  animation: blink 4s infinite;
  transform-origin: 197px 46px;
}

@keyframes walk-across {
  0%   { transform: translateX(-180px); }
  100% { transform: translateX(calc(100vw + 60px)); }
}

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

@keyframes tail-sway {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(10deg); }
}

@keyframes head-bob {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(-3deg); }
}

@keyframes step {
  0%, 100% { transform: rotate(14deg); }
  50%      { transform: rotate(-14deg); }
}

@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.1); }
}

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

/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .cat,
  .cat svg,
  .cat-tail,
  .cat-head,
  .cat-leg,
  .cat-eyes,
  .scroll-hint {
    animation: none !important;
  }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 90px 0;
  text-align: center;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  margin-bottom: 20px;
}

.section-title span {
  color: var(--ginger);
}

.section-title.light {
  color: #fff;
}

.about-text {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* =========================================================
   LOVES
   ========================================================= */
.loves {
  padding: 40px 0 100px;
  text-align: center;
}

.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: 0 8px 26px rgba(46, 29, 14, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(46, 29, 14, 0.14);
}

.card-emoji {
  font-size: 3rem;
  margin-bottom: 14px;
}

.card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--ginger-dark);
}

.card p {
  line-height: 1.6;
  font-size: 0.98rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: #f5e6d3;
  text-align: center;
  padding: 80px 0 40px;
}

.footer p {
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.copyright {
  margin-top: 48px;
  font-size: 0.85rem !important;
  opacity: 0.6;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 640px) {
  .nav {
    padding: 20px 24px;
    flex-direction: column;
    gap: 14px;
  }

  .hero {
    background-attachment: scroll; /* fixed bg is janky on mobile */
  }

  .cat {
    width: 110px;
  }
}
