/* =====================================================
   NABULINFO — HALAMAN TENTANG KUCING
   ===================================================== */

:root {
  --deep: #2f3d43;
  --terracotta: #c1704a;
  --terracotta-light: #d98f68;
  --sage: #a9bcc2;
  --cream: #e3b98d;
  --white: #ffffff;
  --dark-card: #3c464a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--deep);
  background:
    radial-gradient(circle at 10% 10%, rgba(217,143,104,.25), transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(79,102,115,.20), transparent 35%),
    var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: 'Fraunces', serif; }


/* ================= NAVBAR ================= */

.navbar {
  height: 82px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,245,239,.86);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(47,61,67,.08);
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border: 1px dashed var(--terracotta);
  font-size: 17px;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 600;
  color: var(--terracotta);
}

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
  font-size: 14px; font-weight: 500;
  position: relative; padding-bottom: 5px;
}

.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--terracotta);
  transition: .3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }

.profile-icon {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta); transition: .3s ease;
}

.profile-icon:hover { background: var(--terracotta); color: white; transform: scale(1.06); }


/* ================= HALAMAN UTAMA ================= */

.cat-page { min-height: calc(100vh - 82px); }


/* ================= HERO ================= */

.cat-hero {
  min-height: 690px;
  padding: 70px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  position: relative;
  overflow: hidden;
}

.cat-hero::before {
  content: ""; position: absolute;
  width: 500px; height: 500px; left: -250px; top: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,143,104,.30), transparent 70%);
  filter: blur(50px);
  animation: floatingLight 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.cat-hero::after {
  content: ""; position: absolute;
  width: 450px; height: 450px; right: -220px; bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,102,115,.25), transparent 70%);
  filter: blur(50px);
  animation: floatingLight2 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatingLight { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(180px,100px) scale(1.2); } }
@keyframes floatingLight2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-150px,-120px) scale(1.2); } }


/* ================= TEXT ================= */

.cat-content { position: relative; z-index: 5; max-width: 560px; animation: textIn .8s ease forwards; }

@keyframes textIn { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: #65777d; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; margin-bottom: 22px;
}

.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--terracotta); }

.cat-content h1 { font-size: clamp(45px, 5vw, 68px); line-height: 1.03; color: var(--deep); margin-bottom: 25px; }
.cat-content h1 em { color: var(--terracotta); font-style: italic; }
.cat-content p { max-width: 500px; font-size: 16px; line-height: 1.8; color: #59696e; margin-bottom: 34px; }


/* ================= BUTTON ================= */

.cat-buttons { display: flex; align-items: center; gap: 22px; }

.btn-primary {
  display: inline-block;
  padding: 14px 27px; border-radius: 100px;
  background: var(--terracotta); color: white;
  font-size: 14px; font-weight: 600; transition: .3s ease;
  box-shadow: 0 15px 35px -15px rgba(193,112,74,.8);
}

.btn-primary:hover { background: var(--terracotta-light); transform: translateY(-3px); }

.btn-back { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--deep); padding-bottom: 3px; }


/* ================= AREA FOTO 3D ================= */

.cat-visual { height: 560px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 5; }

.three-d-card {
  position: relative; width: 360px; aspect-ratio: 4 / 5;
  border-radius: 28px; overflow: hidden; cursor: grab;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1);
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  box-shadow: 0 45px 80px -30px rgba(47,61,67,.55), 0 10px 30px rgba(47,61,67,.15);
  animation: cardAppear 1s cubic-bezier(.19,1,.22,1);
}

.three-d-card:active { cursor: grabbing; }

@keyframes cardAppear {
  from { opacity: 0; transform: perspective(1000px) rotateY(-25deg) translateY(40px) scale(.92); }
  to { opacity: 1; transform: perspective(1000px) rotateY(0) translateY(0) scale(1); }
}

.three-d-card img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; pointer-events: none; }

.card-shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; transition: background .1s ease; }

.cat-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 5;
  padding: 10px 15px; border-radius: 100px;
  background: rgba(20,26,29,.65); backdrop-filter: blur(10px);
  color: white; font-size: 12px; font-weight: 600;
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
}

.cat-visual::before {
  content: ""; position: absolute;
  width: 280px; height: 80px; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: rgba(47,61,67,.25); filter: blur(30px);
  border-radius: 50%; z-index: -1;
}


/* ================= SECTION TITLE (dipakai berulang) ================= */

.cat-info { padding: 100px 8% 120px; background: rgba(255,255,255,.30); }

.section-title { text-align: center; max-width: 650px; margin: 0 auto 50px; }

.section-title span { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; color: var(--terracotta); }
.section-title h2 { font-size: 42px; margin-top: 10px; color: var(--deep); }


/* ================= RAS KUCING ================= */

.breed-header { margin-bottom: 55px; }
.breed-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; color: var(--terracotta); }
.breed-subtitle { margin-top: 10px; color: #6b7580; font-size: 15px; }

.breed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
  justify-items: stretch;
}

.breed-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(47,61,67,.10);
  transition: transform .3s ease, box-shadow .3s ease;
}

.breed-card:hover { transform: translateY(-8px); box-shadow: 0 18px 34px rgba(47,61,67,.18); }

.breed-media { position: relative; height: 260px; overflow: hidden; flex-shrink: 0; }

.breed-card img {
  display: block;
  width: 100%;
  height: 260px;
  max-height: 260px;
  object-fit: cover;
}

.breed-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}

.breed-card:hover .breed-media img { transform: scale(1.08); }

.breed-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,26,29,.78) 0%, rgba(20,26,29,.18) 45%, transparent 70%);
}

.breed-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--terracotta);
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}

.breed-media-caption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; }
.breed-media-caption h3 { color: var(--white); font-size: 21px; margin: 0 0 3px; }
.breed-tagline { color: rgba(255,255,255,.88); font-size: 13px; }

.breed-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.breed-info > p { font-size: 14.5px; color: #55606a; line-height: 1.6; margin-bottom: 16px; }

.breed-traits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.breed-traits span {
  background: rgba(193,112,74,.10); color: var(--terracotta);
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}


/* ================= KENAPA SUKA DIELUS ================= */

.why-section { padding: 100px 8%; }

.why-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.why-text h2 { font-size: 34px; margin: 12px 0 20px; color: var(--deep); }
.why-text p { font-size: 15.5px; line-height: 1.85; color: #55606a; margin-bottom: 16px; }
.why-text em { color: var(--terracotta); font-style: normal; font-weight: 600; }

.why-points { display: flex; flex-direction: column; gap: 20px; }

.why-point {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(47,61,67,.08);
}

.why-icon { font-size: 26px; line-height: 1; }
.why-point h4 { font-size: 15px; margin-bottom: 4px; color: var(--deep); font-family: 'Fraunces', serif; }
.why-point p { font-size: 13.5px; color: #6b7580; line-height: 1.5; }


/* ================= TIPS MERAWAT ================= */

.tips-section { padding: 40px 8% 110px; }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
}

.tip-card {
  background: var(--white);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 6px 18px rgba(47,61,67,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.tip-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(47,61,67,.14); }

.tip-number {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: 14px; font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.tip-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--deep); }
.tip-card p { font-size: 14px; line-height: 1.6; color: #55606a; }


/* ================= PENUTUP ================= */

.closing-section {
  position: relative;
  text-align: center;
  padding: 110px 8% 130px;
  background:
    radial-gradient(circle at 50% 0%, rgba(217,143,104,.30), transparent 60%),
    var(--deep);
  color: var(--white);
  overflow: hidden;
}

.closing-paw {
  display: inline-block;
  font-size: 34px;
  margin-bottom: 18px;
  opacity: .9;
}

.closing-eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: .2em;
  font-weight: 700; color: var(--terracotta-light);
  margin-bottom: 18px;
}

.closing-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  max-width: 640px;
  margin: 0 auto 20px;
  color: var(--white);
}

.closing-text {
  max-width: 480px;
  margin: 0 auto 34px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
}

.closing-btn { display: inline-block; }


/* ================= TABLET ================= */

@media (max-width: 1020px) {

  .breed-grid,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* ================= MOBILE ================= */

@media (max-width: 860px) {

  .navbar { padding: 15px 22px; }
  .nav-links { display: none; }

  .cat-hero { grid-template-columns: 1fr; padding: 60px 24px; gap: 45px; }
  .cat-content { text-align: center; margin: auto; }
  .eyebrow { justify-content: center; }
  .cat-content p { margin-left: auto; margin-right: auto; }
  .cat-buttons { justify-content: center; }
  .cat-visual { height: auto; }
  .three-d-card { width: min(80vw, 340px); }

  .section-title h2 { font-size: 34px; }

  .why-grid { grid-template-columns: 1fr; gap: 36px; }

  .closing-section { padding: 80px 24px 100px; }

}


@media (max-width: 640px) {

  .breed-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

}