/* Kirua Fansite — Main Stylesheet */

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --brown-deep: #2C1810;
  --brown-mid: #5C3317;
  --tan-warm: #C8873A;
  --tan-light: #E8B96A;
  --orange-hot: #E85D04;
  --orange-bright: #F48C06;
  --cream: #FAF0DC;
  --off-white: #FDF6EC;
  --charcoal: #1A1A1A;
  --text-dark: #2C1810;
  --text-mid: #5C3317;
  --white: #FFFFFF;

  --font-display: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
  --font-heading: 'Oswald', 'Arial Black', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --shadow-card: 0 8px 32px rgba(44, 24, 16, 0.25);
  --shadow-hover: 0 16px 48px rgba(232, 93, 4, 0.4);
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--orange-hot);
  transition: background var(--transition);
}

.nav--scrolled {
  background: rgba(26, 26, 26, 0.98);
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--orange-hot);
  text-transform: uppercase;
}

.nav__brand span {
  color: var(--tan-light);
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover {
  color: var(--orange-hot);
  border-bottom-color: var(--orange-hot);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brown-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-swiss-shepherd-pet-portrait_1024x1536.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero__bg--loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.1) 0%,
    rgba(26, 26, 26, 0.15) 40%,
    rgba(44, 24, 16, 0.7) 70%,
    rgba(26, 26, 26, 0.97) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 4rem;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange-hot);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 4px 32px rgba(232, 93, 4, 0.3);
}

.hero__title .accent {
  color: var(--orange-hot);
  display: block;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--tan-light);
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--orange-hot);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border-radius: var(--radius);
}

.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--tan-warm);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.btn-secondary:hover {
  background: var(--tan-warm);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tan-warm);
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--tan-warm);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--orange-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--orange-hot);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

.section-title .accent {
  color: var(--orange-hot);
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section {
  padding: 6rem 2rem;
  background: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--brown-deep);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item--large .gallery-item__img {
  min-height: 560px;
}

.gallery-item--tall .gallery-item__img {
  min-height: 560px;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(26, 26, 26, 0.9) 100%
  );
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.06);
}

.gallery-item__caption {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.gallery-item__tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--orange-hot);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-item__border {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  transition: border-color var(--transition);
  pointer-events: none;
  border-radius: var(--radius);
}

.gallery-item:hover .gallery-item__border {
  border-color: var(--orange-hot);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 6rem 2rem;
  background: var(--brown-deep);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: 'KIRUA';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 20vw;
  color: rgba(200, 135, 58, 0.04);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  max-height: 600px;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 100px;
  height: 100px;
  background: var(--orange-hot);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232, 93, 4, 0.5);
}

.about-badge span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.about-content {
  padding-left: 1rem;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.about-content .section-label {
  justify-content: flex-start;
}

.about-content .section-label::after {
  display: none;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--tan-light);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(200, 135, 58, 0.2);
}

.stat {
  text-align: center;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--orange-hot);
  margin-bottom: 0.25rem;
}

.stat__label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tan-warm);
}

/* ============================================================
   FEATURED MOMENTS SECTION
   ============================================================ */
.moments-section {
  padding: 6rem 2rem;
  background: var(--charcoal);
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.moment-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brown-deep);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.moment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.moment-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.moment-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.moment-card:hover .moment-card__img-wrap img {
  transform: scale(1.08);
}

.moment-card__number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  user-select: none;
}

.moment-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--orange-hot);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.moment-card__body {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--brown-deep), rgba(44, 24, 16, 0.95));
}

.moment-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.moment-card__desc {
  font-size: 0.9rem;
  color: var(--tan-light);
  line-height: 1.6;
}

/* ============================================================
   CONTACT / FOLLOW SECTION
   ============================================================ */
.contact-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown-mid) 50%, var(--brown-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--tan-light);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 135, 58, 0.3);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--orange-hot);
  border-color: var(--orange-hot);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.4);
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-divider {
  width: 60px;
  height: 3px;
  background: var(--orange-hot);
  margin: 3rem auto;
}

.contact-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.contact-tagline .accent {
  color: var(--orange-hot);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 2rem;
  background: var(--charcoal);
  border-top: 1px solid rgba(200, 135, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-hot);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(250, 240, 220, 0.4);
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 240, 220, 0.5);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--orange-hot);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.lightbox--open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--orange-hot);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.lightbox__close:hover {
  background: var(--orange-bright);
  transform: rotate(90deg);
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

/* ============================================================
   ANIMATE ON SCROLL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up--visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up--delay-1 { transition-delay: 0.1s; }
.fade-up--delay-2 { transition-delay: 0.2s; }
.fade-up--delay-3 { transition-delay: 0.3s; }
.fade-up--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }

  .nav__links--open {
    display: flex;
  }

  .nav__links a {
    font-size: 1.4rem;
  }

  .nav__burger {
    display: flex;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content {
    padding-left: 0;
  }

  .about-badge {
    right: 0.5rem;
    bottom: -0.75rem;
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }

  .moments-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--large {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  .hero__content {
    padding: 0 1.25rem 3rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--large {
    grid-column: span 1;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .about-stats {
    gap: 0.75rem;
  }

  .stat__num {
    font-size: 2rem;
  }
}

/* ============================================================
   BREED TAG STRIP
   ============================================================ */
.breed-strip {
  padding: 1.25rem 0;
  background: var(--orange-hot);
  overflow: hidden;
  white-space: nowrap;
}

.breed-strip__track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 20s linear infinite;
}

.breed-strip__item {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
  flex-shrink: 0;
}

.breed-strip__sep {
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
