/* -------------------------------------------------------- */
/* FONTS                                                    */
/* -------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Serif+Display&display=swap');

/* -------------------------------------------------------- */
/* BASICS                                                   */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  color: #5C3D1A;
  background: #FFF8F0;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: #C4823A;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #9A5F24;
}

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

/* -------------------------------------------------------- */
/* HEADER                                                   */
/* -------------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: rgba(255, 248, 240, 0.85);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid #DBBF99;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3em;
  color: #5C3D1A;
  text-decoration: none;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(-8deg) scale(1.1);
}

.logo span {
  letter-spacing: 0.02em;
}

.menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a {
  display: block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9em;
  font-weight: 500;
  color: #8B6440;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.menu a:hover,
.menu a.active {
  background: #FFF1E0;
  color: #9A5F24;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 200;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #5C3D1A;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  background: rgba(92, 61, 26, 0.3);
  z-index: 90;
}

.mobile-overlay.show {
  display: block;
}

/* -------------------------------------------------------- */
/* PAGE WRAPPER                                             */
/* -------------------------------------------------------- */

.page-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* -------------------------------------------------------- */
/* HERO SECTION                                             */
/* -------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 52px 20px 40px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(196, 130, 58, 0.2));
}

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

.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.6em;
  color: #5C3D1A;
  margin-bottom: 8px;
}

.hero p {
  font-size: 1.1em;
  color: #8B6440;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* -------------------------------------------------------- */
/* SECTION SHARED                                           */
/* -------------------------------------------------------- */

.section {
  margin-bottom: 40px;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.6em;
  color: #5C3D1A;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #DBBF99;
}

/* -------------------------------------------------------- */
/* ABOUT GRID                                               */
/* -------------------------------------------------------- */

.about-grid {
  display: flex;
  gap: 24px;
}

.about-main {
  flex: 1;
  background: #FFFFFF;
  border: 2px solid #DBBF99;
  border-radius: 16px;
  padding: 24px;
  line-height: 1.7;
}

.about-main p + p {
  margin-top: 12px;
}

.about-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-card {
  background: #FFFFFF;
  border: 2px solid #DBBF99;
  border-radius: 16px;
  padding: 18px;
}


.status-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1em;
  color: #9A5F24;
  margin-bottom: 10px;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-item {
  display: flex;
  gap: 8px;
  font-size: 0.88em;
  line-height: 1.4;
}

.status-item .label {
  color: #8B6440;
  white-space: nowrap;
  min-width: 56px;
}

.status-item .value {
  color: #5C3D1A;
}


/* -------------------------------------------------------- */
/* JOURNAL ENTRIES                                          */
/* -------------------------------------------------------- */

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.journal-entry {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 2px solid #DBBF99;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.journal-entry:hover {
  border-color: #E8B97A;
  transform: translateX(6px);
  box-shadow: 0 2px 12px rgba(196, 130, 58, 0.12);
}

.journal-date {
  font-size: 0.82em;
  color: #8B6440;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 80px;
}

.journal-title {
  font-weight: 600;
  color: #5C3D1A;
  font-size: 0.95em;
}

.journal-entry:hover .journal-title {
  color: #9A5F24;
}


/* -------------------------------------------------------- */
/* SOCIALS GRID                                             */
/* -------------------------------------------------------- */

.socials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #FFFFFF;
  border: 2px solid #DBBF99;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.92em;
  color: #5C3D1A;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  border-color: #C4823A;
  background: #FFF1E0;
  color: #9A5F24;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 130, 58, 0.15);
}

.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* -------------------------------------------------------- */
/* FOOTER                                                   */
/* -------------------------------------------------------- */

footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 2px solid #DBBF99;
  margin-top: 20px;
}

footer .footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 10px;
  opacity: 0.7;
}

footer p {
  font-size: 0.82em;
  color: #8B6440;
  line-height: 1.6;
}

footer a {
  color: #C4823A;
}

/* -------------------------------------------------------- */
/* PAGE CONTENT (about, journal, contact)                   */
/* -------------------------------------------------------- */

.page-header {
  text-align: center;
  padding: 44px 20px 32px;
}

.page-header h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.2em;
  color: #5C3D1A;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 1em;
  color: #8B6440;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Content card */
.content-card {
  background: #FFFFFF;
  border: 2px solid #DBBF99;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.content-card h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3em;
  color: #5C3D1A;
  margin-bottom: 12px;
}

.content-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1em;
  color: #9A5F24;
  margin-top: 16px;
  margin-bottom: 8px;
}

.content-card p + p {
  margin-top: 12px;
}

.content-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.content-card ul li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 0.94em;
}

.content-card ul li::before {
  content: "~";
  position: absolute;
  left: 0;
  color: #C4823A;
  font-weight: 600;
}

/* Favorites grid */
.favorites-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.fav-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #FFF1E0;
  border: 1.5px solid #DBBF99;
  border-radius: 999px;
  font-size: 0.85em;
  color: #5C3D1A;
  font-weight: 500;
}

/* Journal full entries */
.journal-full-entry {
  background: #FFFFFF;
  border: 2px solid #DBBF99;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.journal-full-entry .journal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #F0E0CC;
}

.journal-full-entry .journal-meta .journal-date {
  font-size: 0.82em;
  color: #8B6440;
  font-variant-numeric: tabular-nums;
}

.journal-full-entry .journal-meta .journal-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15em;
  color: #5C3D1A;
  font-weight: normal;
}

.journal-full-entry .journal-body {
  line-height: 1.7;
  color: #5C3D1A;
}

.journal-full-entry .journal-body p + p {
  margin-top: 12px;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88em;
  font-weight: 600;
  color: #5C3D1A;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #DBBF99;
  border-radius: 10px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.92em;
  color: #5C3D1A;
  background: #FFFFFF;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #C4823A;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  align-self: flex-start;
  padding: 12px 32px;
  background: #C4823A;
  color: #FFF8F0;
  border: 2px solid #9A5F24;
  border-radius: 999px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.92em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.form-submit:hover {
  background: #9A5F24;
  border-color: #5C3D1A;
  transform: translateY(-1px);
}

/* Contact socials section */
.contact-socials {
  margin-top: 8px;
}

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

@media (max-width: 700px) {
  .menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 240px;
    height: 100vh;
    background: #FFF8F0;
    border-left: 2px solid #DBBF99;
    padding: 80px 24px 24px;
    z-index: 95;
    box-shadow: -4px 0 24px rgba(92, 61, 26, 0.1);
  }

  .menu.open {
    display: block;
  }

  .menu ul {
    flex-direction: column;
    gap: 4px;
  }

  .menu a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1em;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero-logo {
    width: 110px;
    height: 110px;
  }

  .about-grid {
    flex-direction: column;
  }

  .about-sidebar {
    width: 100%;
  }

  .page-wrapper {
    padding: 28px 16px;
  }

  .journal-entry {
    flex-direction: column;
    gap: 4px;
  }

  .journal-date {
    min-width: unset;
  }

  .socials-grid {
    flex-direction: column;
  }
}


