/* ===================================================== */
/* ======================= RESET ======================= */
/* ===================================================== */

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

/* ===================================================== */
/* ======================== BODY ======================= */
/* ===================================================== */

body {
  background: #fff8f8;
  color: #4a3936;

  font-family: 'Quicksand', sans-serif;

  overflow-x: hidden;

  background-image:
    radial-gradient(
      circle at top left,
      rgba(255,220,228,0.35),
      transparent 30%
    ),

    radial-gradient(
      circle at bottom right,
      rgba(255,210,220,0.25),
      transparent 30%
    );
}

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

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

.container {
  width: min(1350px, 92%);
  margin: auto;
}

/* ===================================================== */
/* ======================== NAV ======================== */
/* ===================================================== */

header {
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;

  z-index: 100;

  padding: 1.4rem 0;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.88),
      rgba(255,255,255,0.4)
    );

  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 2.5rem;

  flex-wrap: wrap;
}

.nav a {
  font-size: 0.82rem;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #6d4e52;

  position: relative;

  transition: 0.3s ease;
}

.nav a:hover {
  color: #ca8196;
}

.nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 0;
  height: 1px;

  background: #ca8196;

  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

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

.hero {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding: 40px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(255,248,248,0.15),
      rgba(255,248,248,0.4)
    ),

    url('images/hero-horse.jpg') center/cover;

  transform: scale(1.03);
}

.petals {
  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: 0.5;

  background-image: url('images/petals-overlay.png');
  background-size: cover;

  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 5;

  text-align: center;

  max-width: 900px;
}

.logo-image {
  width: min(650px, 88%);

  margin: 0 auto;

  filter:
    drop-shadow(
      0 12px 25px rgba(0,0,0,0.12)
    );
}

.hero-text-box {
  margin: 20px auto 0;

  width: fit-content;
  max-width: 90%;

  padding: 1.2rem 2rem;

  background: rgba(255,255,255,0.7);

  backdrop-filter: blur(8px);

  border-radius: 28px;

  border:
    1px solid rgba(255,255,255,0.75);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.08);
}

.hero-text {
  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(1.5rem, 3vw, 2.2rem);

  font-style: italic;

  color: #6d4e52;

  line-height: 1.3;
}

/* ===================================================== */
/* ====================== BUTTONS ====================== */
/* ===================================================== */

.btn {
  display: inline-block;

  padding: 1rem 1.8rem;

  border-radius: 999px;

  font-size: 0.9rem;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition: 0.3s ease;

  box-shadow:
    0 10px 18px rgba(0,0,0,0.08);
}

.btn-primary {
  background: #d89aa9;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);

  background: #cb8496;
}

/* ===================================================== */
/* ===================== SECTION HEAD ================== */
/* ===================================================== */

.section-heading {
  text-align: center;

  margin-bottom: 2rem;
}

.section-subtitle {
  text-transform: uppercase;

  letter-spacing: 3px;

  color: #bf8797;

  font-size: 0.78rem;

  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(3rem, 5vw, 4.5rem);

  color: #5a403d;

  line-height: 1;
}

/* ===================================================== */
/* ================= HOME FEATURED ===================== */
/* ===================================================== */

.featured-home {
  padding: 1rem 0 0.5rem;
}

/* ===================================================== */
/* ===================== PROFILE GRID ================== */
/* ===================================================== */

.profile-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(430px, 1fr));

  gap: 2.5rem;

  padding: 1rem 0 2rem;
}

/* Smaller homepage cards */

.featured-home .profile-grid {
  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  padding-bottom: 0;
}

/* Pony + fantasy smaller */

body[data-category="pony"] .profile-grid,
body[data-category="fantasy"] .profile-grid {

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));
}

/* ===================================================== */
/* ===================== PROFILE CARD ================== */
/* ===================================================== */

.profile-card {
  position: relative;

  overflow: hidden;

  background:
    rgba(255,255,255,0.82);

  backdrop-filter: blur(10px);

  border-radius: 38px;

  border:
    1px solid rgba(255,255,255,0.85);

  box-shadow:
    0 18px 35px rgba(0,0,0,0.08);

  transition: 0.35s ease;
}

.profile-card:hover {
  transform:
    translateY(-8px)
    rotate(-0.5deg);
}

.featured {
  border:
    2px solid rgba(216,154,169,0.45);
}

.featured-badge {
  position: absolute;

  top: 20px;
  right: 20px;

  z-index: 5;

  background: #d89aa9;
  color: white;

  padding: 0.6rem 1rem;

  border-radius: 999px;

  font-size: 0.72rem;

  letter-spacing: 1px;

  text-transform: uppercase;

  box-shadow:
    0 8px 15px rgba(216,154,169,0.3);
}

/* ===================================================== */
/* ======================== IMAGE ====================== */
/* ===================================================== */

.profile-image-wrap {
  padding: 1.5rem;

  background:
    linear-gradient(
      to bottom,
      #f9eef1,
      #fff
    );
}

.profile-image {
  width: 100%;

  height: 460px;

  object-fit: contain;

  background: #fdf8f9;

  border-radius: 24px;
}

/* Smaller homepage images */

.featured-home .profile-image {
  height: 320px;
}

/* Smaller pony/fantasy images */

body[data-category="pony"] .profile-image,
body[data-category="fantasy"] .profile-image {
  height: 320px;
}

/* ===================================================== */
/* ======================= CONTENT ===================== */
/* ===================================================== */

.profile-content {
  padding: 2rem;
}

.profile-category {
  display: inline-block;

  margin-bottom: 1rem;

  padding: 0.45rem 1rem;

  background: #f5d8df;

  color: #9a6473;

  border-radius: 999px;

  font-size: 0.75rem;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.profile-content h2 {
  font-family: 'Cormorant Garamond', serif;

  font-size: 2.7rem;

  line-height: 1;

  color: #5d413e;

  margin-bottom: 0.6rem;
}

/* Smaller homepage titles */

.featured-home .profile-content h2 {
  font-size: 2.1rem;
}

/* Smaller pony/fantasy titles */

body[data-category="pony"] .profile-content h2,
body[data-category="fantasy"] .profile-content h2 {
  font-size: 2.1rem;
}

.stable-name {
  font-style: italic;

  color: #8d6b71;

  margin-bottom: 1.8rem;
}

/* ===================================================== */
/* ======================= DETAILS ===================== */
/* ===================================================== */

.detail-row {
  display: flex;

  flex-direction: column;

  gap: 0.4rem;

  padding-bottom: 1rem;

  margin-bottom: 1rem;

  border-bottom:
    1px solid rgba(0,0,0,0.06);
}

.label {
  font-size: 0.72rem;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #b07b88;
}

/* ===================================================== */
/* ===================== QUOTE SECTION ================= */
/* ===================================================== */

.quote-section {
  padding: 0 0 4rem;
}

.quote-box {
  position: relative;

  overflow: hidden;

  padding: 3rem;

  border-radius: 38px;

  text-align: center;

  background:
    linear-gradient(
      rgba(255,255,255,0.82),
      rgba(255,255,255,0.82)
    ),

    url('images/paper-texture.jpg');

  box-shadow:
    0 20px 35px rgba(0,0,0,0.06);
}

.quote-box::before,
.quote-box::after {
  content: "✿";

  position: absolute;

  font-size: 6rem;

  color: rgba(216,154,169,0.15);
}

.quote-box::before {
  top: -10px;
  left: 20px;
}

.quote-box::after {
  bottom: -20px;
  right: 20px;
}

.quote-box p {
  max-width: 700px;

  margin: auto;

  text-align: center;

  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(1.6rem, 3vw, 2.6rem);

  line-height: 1.4;

  color: #6b4c51;
}

/* ===================================================== */
/* ======================= JOURNAL ===================== */
/* ===================================================== */

.journal {
  padding-bottom: 3rem;
}

.journal-grid {
  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: 2rem;

  align-items: center;
}

.journal-card {
  position: relative;

  background: white;

  border-radius: 30px;

  padding: 2.5rem;

  box-shadow:
    0 18px 28px rgba(0,0,0,0.06);
}

.journal-card::before {
  content: "Stable Journal";

  position: absolute;

  top: -14px;
  left: 28px;

  background: #d89aa9;
  color: white;

  padding: 0.5rem 1rem;

  border-radius: 999px;

  font-size: 0.72rem;

  letter-spacing: 1px;

  text-transform: uppercase;

  box-shadow:
    0 8px 15px rgba(216,154,169,0.3);
}

.journal-card h3 {
  font-family: 'Cormorant Garamond', serif;

  font-size: 2.5rem;

  margin-bottom: 1rem;

  color: #5f4340;
}

.journal-card p {
  line-height: 1.8;

  color: #6b5a57;

  margin-bottom: 1.2rem;
}

.journal-image {
  overflow: hidden;

  border-radius: 30px;

  box-shadow:
    0 18px 28px rgba(0,0,0,0.08);

  transform: rotate(2deg);
}

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

footer {
  padding: 3rem 0;

  text-align: center;

  background:
    linear-gradient(
      to top,
      #f6dfe4,
      transparent
    );

  color: #7a5b5f;

  font-size: 0.9rem;
}

footer::before {
  content: "✿ ✿ ✿";

  display: block;

  margin-bottom: 1rem;

  color: #d49bab;

  letter-spacing: 1rem;
}

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

.page-header {
  position: relative;
}

.page-hero {
  text-align: center;

  padding: 4rem 1rem 2rem;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(4rem, 8vw, 6rem);

  color: #5b403d;

  line-height: 1;

  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 650px;

  margin: auto;

  line-height: 1.8;

  color: #6d5a58;
}
/* ===================================================== */
/* =================== JOURNAL PAGE ==================== */
/* ===================================================== */

.journal-page {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(340px, 1fr));

  gap: 2rem;

  padding-bottom: 5rem;
}

/* ---------------- ENTRY ---------------- */

.journal-entry {
  position: relative;

  overflow: hidden;

  background:
    rgba(255,255,255,0.82);

  backdrop-filter: blur(10px);

  border-radius: 38px;

  border:
    1px solid rgba(255,255,255,0.85);

  box-shadow:
    0 18px 35px rgba(0,0,0,0.08);

  transition: 0.35s ease;
}

.journal-entry:hover {
  transform:
    translateY(-6px)
    rotate(-0.4deg);
}

/* ---------------- FEATURED ---------------- */

.featured-entry {
  grid-column: span 2;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: stretch;
}

/* ---------------- WIDE ENTRY ---------------- */

.wide-entry {
  grid-column: span 2;
}

/* ---------------- PHOTO ---------------- */

.journal-photo {
  background:
    linear-gradient(
      to bottom,
      #f9eef1,
      #fff
    );

  padding: 1.4rem;
}

.journal-photo img {
  width: 100%;

  height: 100%;

  min-height: 320px;

  object-fit: cover;

  border-radius: 24px;
}

.small-photo img {
  min-height: 240px;
}

/* ---------------- TEXT ---------------- */

.journal-text {
  padding: 2rem;
}

.journal-date {
  margin-bottom: 1rem;

  font-size: 0.78rem;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #b07b88;
}

.journal-text h2,
.journal-text h3 {
  font-family: 'Cormorant Garamond', serif;

  color: #5d413e;

  line-height: 1.1;

  margin-bottom: 1rem;
}

.journal-text h2 {
  font-size: 3rem;
}

.journal-text h3 {
  font-size: 2.2rem;
}

.journal-text p {
  line-height: 1.8;

  color: #6b5a57;

  margin-bottom: 1rem;
}

/* ---------------- AVAILABLE ENTRY ---------------- */

.available-entry {
  border:
    2px solid rgba(216,154,169,0.45);
}

.available-badge {
  position: absolute;

  top: 18px;
  right: 18px;

  z-index: 5;

  background: #d89aa9;

  color: white;

  padding: 0.6rem 1rem;

  border-radius: 999px;

  font-size: 0.72rem;

  letter-spacing: 1px;

  text-transform: uppercase;

  box-shadow:
    0 8px 15px rgba(216,154,169,0.3);
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {

  .featured-entry,
  .wide-entry {
    grid-column: span 1;
  }

  .featured-entry {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 700px) {

  .journal-page {
    grid-template-columns: 1fr;
  }

  .journal-text h2 {
    font-size: 2.3rem;
  }

  .journal-text h3 {
    font-size: 1.9rem;
  }

  .journal-entry:hover {
    transform: none;
  }

}

/* ===================================================== */
/* ===================== LINKS PAGE ==================== */
/* ===================================================== */

/* ---------------- DECOR ---------------- */

.sakura-decor {
  position: fixed;

  inset: 0;

  pointer-events: none;

  z-index: 1;
}

.decor {
  position: absolute;

  color: rgba(216,154,169,0.25);

  font-size: 2rem;

  animation: floaty 7s ease-in-out infinite;
}

.decor1 {
  top: 120px;
  left: 5%;
}

.decor2 {
  top: 340px;
  right: 8%;
}

.decor3 {
  top: 70%;
  left: 12%;
}

.decor4 {
  top: 60%;
  right: 15%;
}

.decor5 {
  top: 220px;
  left: 75%;
}

@keyframes floaty {

  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }

}

/* ---------------- LAYOUT ---------------- */

.links-layout {
  position: relative;

  z-index: 5;

  display: flex;
  flex-direction: column;

  gap: 2rem;

  padding-bottom: 5rem;
}

/* ---------------- BOXES ---------------- */

.links-box {
  background:
    rgba(255,255,255,0.82);

  backdrop-filter: blur(10px);

  border-radius: 34px;

  padding: 2.5rem;

  border:
    1px solid rgba(255,255,255,0.85);

  box-shadow:
    0 18px 35px rgba(0,0,0,0.08);

  position: relative;

  overflow: hidden;
}

.links-box::before {
  content: "✿";

  position: absolute;

  top: 14px;
  right: 20px;

  font-size: 1.6rem;

  color: rgba(216,154,169,0.35);
}

/* ---------------- TITLES ---------------- */

.links-title {
  font-family: 'Cormorant Garamond', serif;

  font-size: 2.7rem;

  color: #5d413e;

  margin-bottom: 2rem;

  text-align: center;
}

/* ---------------- BANNERS ---------------- */

.banner-grid {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 1.5rem;
}

.banner-link {
  transition: 0.3s ease;
}

.banner-link:hover {
  transform:
    translateY(-4px)
    rotate(-1deg);
}

.mini-banner {
  width: 88px;
  height: 31px;

  object-fit: cover;

  border-radius: 10px;

  box-shadow:
    0 6px 14px rgba(0,0,0,0.12);
}

/* ---------------- TEXT LINKS ---------------- */

.text-links {
  text-align: center;
}

.text-links p {
  margin-bottom: 1rem;
}

.text-links a {
  color: #7a5960;

  font-size: 1rem;

  transition: 0.3s ease;
}

.text-links a:hover {
  color: #ca8196;
}

/* ---------------- LINK BACK ---------------- */

.linkback-text {
  text-align: center;

  margin-bottom: 2rem;

  color: #7a5c61;
}

.linkback-wrap {
  display: flex;

  justify-content: center;
}

.site-button {
  width: 96px;
  height: 31px;
}
  

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 700px) {

  .links-box {
    padding: 2rem 1.5rem;
  }

  .links-title {
    font-size: 2.2rem;
  }

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

@media (max-width: 950px) {

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

  .hero {
    min-height: 620px;
  }

  .nav {
    gap: 1.2rem;
  }

  .nav a {
    font-size: 0.75rem;
  }

  .profile-card:hover,
  .journal-image {
    transform: none;
  }

  .quote-box {
    padding: 3rem 2rem;
  }

}

@media (max-width: 700px) {

  .profile-grid,
  .featured-home .profile-grid,
  body[data-category="pony"] .profile-grid,
  body[data-category="fantasy"] .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-image,
  .featured-home .profile-image,
  body[data-category="pony"] .profile-image,
  body[data-category="fantasy"] .profile-image {
    height: 320px;
  }

  .profile-content h2,
  .featured-home .profile-content h2,
  body[data-category="pony"] .profile-content h2,
  body[data-category="fantasy"] .profile-content h2 {
    font-size: 2.1rem;
  }

}