/* ============================================================
   VALHÖLLCATS — MAIN STYLESHEET
   ============================================================ */

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

:root {
  --bone:        #F5F0E8;
  --parchment:   #EDE6D6;
  --ash:         #C8BFA8;
  --stone:       #8C8070;
  --bark:        #4A3F35;
  --ink:         #1E1A16;
  --ink-soft:    #252118;
  --moss:        #3D5240;
  --iron:        #2E3035;
  --gold:        #B8963E;
  --gold-light:  #D4AF6A;
  --green-dim:   #7FAF84;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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


/* ============================================================
   NAVIGATION
   ============================================================ */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(30, 26, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 150, 62, 0.15);
  transition: padding var(--transition), background var(--transition);
}

#navbar.scrolled {
  padding: 0.85rem 3rem;
  background: rgba(30, 26, 22, 0.98);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  text-decoration: none;
}

.nav-logo .brand {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  line-height: 1;
}

.nav-logo .tagline {
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--stone);
  font-family: var(--font-body);
  font-weight: 300;
  margin-top: 2px;
}

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

.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--ash);
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ash);
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(61, 82, 64, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(184, 150, 62, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-runes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: serif;
  font-size: 8rem;
  line-height: 1.1;
  color: rgba(184, 150, 62, 0.04);
  overflow: hidden;
  user-select: none;
  padding: 2rem;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 4rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.63rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s ease forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--bone);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}

.hero-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-body {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--ash);
  max-width: 360px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s ease forwards;
}

.btn-gold {
  padding: 0.8rem 2rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  display: inline-block;
}

.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}

.btn-ghost::after { content: '→'; }
.btn-ghost:hover { color: var(--bone); }

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 4rem 4rem 4rem 2rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s ease forwards;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #2E3035 0%, #1E1A16 100%);
  border: 1px solid rgba(184, 150, 62, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--stone);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  overflow: hidden;
}

.hero-image-placeholder svg { opacity: 0.25; }

/* When a real image is used, replace placeholder div with <img> */
.hero-image-frame img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(184, 150, 62, 0.18);
  display: block;
}

.hero-image-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.55;
}

.corner-tl { top: -8px;    left: -8px;  border-width: 1px 0 0 1px; }
.corner-tr { top: -8px;    right: -8px; border-width: 1px 1px 0 0; }
.corner-bl { bottom: -8px; left: -8px;  border-width: 0 0 1px 1px; }
.corner-br { bottom: -8px; right: -8px; border-width: 0 1px 1px 0; }

.hero-image-badge {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  background: var(--ink);
  border: 1px solid rgba(184, 150, 62, 0.28);
  padding: 0.75rem 1.25rem;
}

.badge-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--stone);
  text-transform: uppercase;
}

.badge-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
  line-height: 1.1;
}


/* ============================================================
   RUNE DIVIDER
   ============================================================ */

.rune-divider {
  text-align: center;
  padding: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.5em;
  color: rgba(184, 150, 62, 0.28);
  border-top: 1px solid rgba(184, 150, 62, 0.1);
  border-bottom: 1px solid rgba(184, 150, 62, 0.1);
  user-select: none;
}


/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(184, 150, 62, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--bone);
}

.section-header {
  margin-bottom: 2.5rem;
}


/* ============================================================
   CATS SECTION
   ============================================================ */

.cats-section {
  padding: 5rem 4rem;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  border: 1px solid rgba(184, 150, 62, 0.12);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}

.cat-card:hover {
  border-color: rgba(184, 150, 62, 0.38);
  transform: translateY(-3px);
}

.cat-photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #2E3035, #1E1A16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.cat-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(30, 26, 22, 0.75));
  pointer-events: none;
}

.cat-photo svg { opacity: 0.2; }

.cat-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-info {
  padding: 1rem 1.25rem 1.25rem;
}

.cat-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--bone);
  line-height: 1.1;
}

.cat-meta {
  font-size: 0.68rem;
  color: var(--stone);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

.cat-tag {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border: 1px solid;
}

.tag-queen    { border-color: rgba(184, 150, 62, 0.4);  color: var(--gold-light); }
.tag-stud     { border-color: rgba(61, 82, 64, 0.7);    color: var(--green-dim); }
.tag-expecting{ border-color: rgba(200, 191, 168, 0.28); color: var(--ash); }


/* ============================================================
   INFO SECTION
   ============================================================ */

.info-section {
  padding: 5rem 4rem;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(184, 150, 62, 0.1);
  border-bottom: 1px solid rgba(184, 150, 62, 0.1);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.price-display { margin-bottom: 2rem; }

.price-label {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  color: var(--stone);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.price-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 400;
  color: var(--bone);
  line-height: 1;
}

.price-sub {
  font-size: 0.78rem;
  color: var(--stone);
  margin-top: 0.4rem;
}

.deposit-note {
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: rgba(184, 150, 62, 0.05);
  font-size: 0.82rem;
  color: var(--ash);
  line-height: 1.7;
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--stone);
  margin-top: 0.2rem;
}

.included-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bone);
  margin-bottom: 1.25rem;
}

.checklist {
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--ash);
  font-weight: 300;
  line-height: 1.5;
}

.checklist li:last-child { border-bottom: none; }

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon rect {
  fill: rgba(61, 82, 64, 0.3);
  stroke: rgba(61, 82, 64, 0.65);
  stroke-width: 1;
}

.check-icon path {
  stroke: var(--green-dim);
  stroke-width: 1.5;
  fill: none;
}


/* ============================================================
   APPLY SECTION
   ============================================================ */

.apply-section {
  padding: 6rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.apply-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--bone);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.apply-body {
  font-size: 0.85rem;
  color: var(--ash);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1rem;
}

.apply-contact {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-item {
  font-size: 0.78rem;
  color: var(--stone);
}

.contact-item a {
  color: var(--gold-light);
  transition: color var(--transition);
}

.contact-item a:hover { color: var(--gold); }

/* Form */
.form-group { margin-bottom: 1.1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 150, 62, 0.16);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  border-radius: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(184, 150, 62, 0.5);
}

input.error,
textarea.error,
select.error {
  border-color: rgba(180, 60, 60, 0.55);
}

select { cursor: pointer; }
select option { background: var(--ink); color: var(--bone); }
textarea { resize: vertical; min-height: 90px; }
::placeholder { color: var(--stone); opacity: 1; }

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--transition);
  margin-top: 0.35rem;
  border-radius: 0;
}

.submit-btn:hover { background: var(--gold-light); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.form-message {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  min-height: 1.2em;
}

.form-message.success { color: var(--green-dim); }
.form-message.error   { color: #d97070; }


/* ============================================================
   FOOTER
   ============================================================ */

footer {
  padding: 2rem 4rem;
  border-top: 1px solid rgba(184, 150, 62, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 0.07em;
}

.footer-copy {
  font-size: 0.68rem;
  color: var(--stone);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.68rem;
  color: var(--stone);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--ash); }


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  #navbar {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    order: 3;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(184,150,62,0.08);
  }

  .nav-cta { display: none; }

  .nav-hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-right { display: none; }

  .hero-left {
    padding: 3rem 1.5rem;
  }

  .cats-section,
  .info-section,
  .apply-section { padding: 3.5rem 1.5rem; }

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

  .info-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .apply-section { grid-template-columns: 1fr; gap: 2.5rem; }

  footer { padding: 1.5rem; }
}

@media (max-width: 560px) {
  .cats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; gap: 1.5rem; }
  .hero-heading { font-size: 2.4rem; }
}
