/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Color Palette */
:root {
  --accent: #896C6C;         /* deep taupe (headings, primary accent) */
  --accent-dark: #6f5555;    /* hover/darker accent */
  --soft-rose: #E5BEB5;      /* rose beige */
  --parchment: #EEE6CA;      /* pale sand (cards) */
  --ivory: #F5FAE1;          /* soft cream (bg) */
  --charcoal: #333333;       /* body text */
  --muted: #6b6b6b;
  --paper: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.06);
}

body {
  background: var(--ivory) !important;
}
 
h1,h2,h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--accent);
}

p {
  color: var(--charcoal);
}

/* Top nav */
.top-nav {
  background-color: var(--paper);
  z-index: 2;   
  border-bottom: 2px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.nameplate{
  width: 90vw;
  margin: auto;
  height: 12vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 20%;
  background: linear-gradient(135deg,var(--accent),var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-weight: bold;
  box-shadow: var(--shadow-soft);
}

.brand a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: bold;
  transition: all 0.3s ease;
}

.brand a:hover {
  transform: translateY(-4px) scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
  padding: 2rem;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  transform: translateY(-4px) scale(1.05);
}

/* Hero */
.hero {
  height: 100vh;
  width: auto;
  position: relative;
  padding: 5rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-title {
  font-size: 350%;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.button-container {
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: fadeInUp 1s ease-out forwards;
}

.btn {
  background: var(--accent);
  color: var(--paper);
  border: none;
  padding: 1rem;
  border-radius: 15px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--accent-dark);
  box-shadow: 0 8px 20px rgba(137, 108, 108, 0.5);
  color: var(--paper);
}

/* Book Panel */
.book-panel {
  height: 72vh;
  width: 50vw;
  margin-left: 10%;
  background: linear-gradient(180deg,var(--paper), var(--parchment));
  border-radius: 7%;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  animation: fadeInUp 1s ease-out forwards;
  transition: all 0.98s ease;
}

.book-panel:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(137, 108, 108, 0.5);
}


/* Slideshow */
.slideshow {
  width: 100%;
  height: 43vh;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.book-meta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  justify-content: space-between;
  color: var(--muted);
  font-weight: bold;
}

.meta-row{
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: bold;
}

.meta-row p {
  color: var(--accent);
}

#meta-text {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 1%;
}

/* Footer */
.footer{
  height: 20vh;
  padding: 2rem;
  color: var(--paper); 
  background: var(--accent);
  text-align: center;
}

/* MOBILE */

/* For tablets and below */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 3rem 2rem;
    text-align: center;
  }

  .book-panel {
    width: 90%;
    height: auto;
    margin: 3rem auto 0 auto;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-sub {
    font-size: 1.2rem;
  }

  .button-container {
    justify-content: center;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    padding: 1rem;
  }
}

/* For phones and small screens */
@media (max-width: 600px) {
  .nameplate {
    flex-direction: column;
    height: auto;
    gap: 0.5rem;
  }

  .brand {
    gap: 0.8rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.9rem;
    gap: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .button-container {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .book-panel {
    width: 100%;
    border-radius: 10px;
    padding: 1rem;
  }

  .slideshow {
    height: 35vh;
  }

  .meta-row p {
    font-size: 0.9rem;
  }

  #meta-text {
    font-size: 0.8rem;
  }

  .footer {
    font-size: 0.9rem;
    padding: 1.5rem;
  }
}