@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:wght@400;700&family=Bona+Nova+SC:wght@400;700&family=Inter:wght@400;500&display=swap');

.mobile-only {
  display: none;
}

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

:root {
  --royal-blue: #122560;
  --parchment: #E1CFBF;
  --white: #ffffff;
  --text-dark: #2B1B12;
}

body {
  font-family: 'Bona Nova', serif;
  font-weight: 700;
  line-height: 1.6;
  color: #000000;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bona Nova', serif;
  font-weight: 700;
  line-height: 0.88;
}

h2 {
  line-height: 1.1;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 145%;
  letter-spacing: -0.5%;
  opacity: 0.5;
}

.story-label, .timeline-label, .timeline-year, .card h3, .progress-text, .bio-label, .subscribe-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
}

::-webkit-scrollbar {
  width: 0px;
  display: none;
}

::-webkit-scrollbar-track {
  background: rgba(249, 243, 231, 0.25);
  border-left: 3px solid rgba(212, 203, 184, 0.25);
}

::-webkit-scrollbar-thumb {
  background: rgba(249, 243, 231, 0.5);
  border-radius: 0;
  border: 3px solid rgba(212, 203, 184, 0.5);
  box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: #efe6d5;
}

.btn {
  background-color: #122560;
  color: #F8EDE4;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.21rem;
  font-family: 'Bona Nova', serif;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(91, 10, 20, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #5b0a14;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 10, 20, 0.4);
  color: #F8EDE4;
}

.btn-red {
  background-color: #5b0a14;
  color: #F8EDE4;
}

.btn-red:hover {
  background-color: #2B1B12;
  color: #F8EDE4;
}

body.home-page,
body.other-page {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    url('/assets/images/bg-1-table-parchment-q&b.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body.other-page {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    url('/assets/images/bg-1-table-parchment-q&b.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.main-content {
  padding-top: 190px;
  min-height: 100vh;
}

.content-section {
  max-width: 650px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
}

.book-progress-section {
  margin: 3rem auto;
  padding: 2rem 1rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-family: 'Bona Nova', serif;
  font-size: 3.65rem;
  color: var(--royal-blue);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.page-header h1.white-shadow {
  color: #2B1B12;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(248, 237, 228, 0.65);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(18, 37, 96, 0.2);
  z-index: 1000;
}

.logo {
  font-family: 'Bona Nova', serif;
  font-size: 2.3rem;
  color: var(--royal-blue);
  text-decoration: none;
  font-weight: bold;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo {
  height: 77px;
  width: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 8.5px;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
  margin-left: 10px;
}

.hamburger span {
  display: block;
  width: 42.5px;
  height: 5.1px;
  background-color: var(--royal-blue);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(8.5px, 8.5px);
}

.hamburger.menu-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(8.5px, -8.5px);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--royal-blue);
  font-weight: bold;
  font-size: 1.35rem;
  transition: all 0.3s;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: #5b0a14;
}

.nav-links a.active {
  color: #5b0a14;
  font-weight: bold;
}

.nav-links a.button {
  background-color: var(--royal-blue);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(18, 37, 96, 0.3);
  white-space: nowrap;
  margin-left: 50px;
  margin-right: 50px;
}

.nav-links a.button:hover {
  background-color: #5b0a14;
  transform: translateY(-2px);
  color: var(--white);
}

.nav-links a.button.active {
  background-color: #5b0a14;
  color: var(--white);
}

.nav-links a.button.active:hover {
  background-color: #122560;
  box-shadow: 0 4px 15px rgba(18, 37, 96, 0.3);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(225, 207, 191, 0.95);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  list-style: none;
  min-width: 140px;
  padding: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(18, 37, 96, 0.2);
  z-index: 1001;
}

.dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
  text-align: center;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  white-space: nowrap;
  text-align: center;
}

.dropdown-menu a:hover {
  background-color: rgba(18, 37, 96, 0.1);
}

.menu-toggle {
  cursor: pointer;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 927px) {
  .logo {
    order: 0;
  }

  .hamburger {
    display: flex;
    order: 1;
  }

  .nav-links {
    display: flex;
    order: 2;
    width: 100%;
    flex-direction: column;
    padding: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  
  .nav-links.active {
    max-height: 500px;
    opacity: 1;
    padding: 0.5rem 0;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    box-shadow: none;
    flex-wrap: wrap;
    background-color: rgba(248, 237, 228, 0.65);
  }

  .logo.menu-open {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 24px;
    text-align: center;
    width: 100%;
  }

  .nav-links a.button {
    display: inline-block;
    margin-left: 50px;
    margin-right: 50px;
    width: auto;
  }

  .dropdown-toggle {
    width: 100%;
    text-align: center;
  }
  
  .dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .dropdown-menu {
    display: none;
    position: relative;
    width: 100%;
    left: 0;
    transform: none;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    z-index: 1002;
  }

  .dropdown-menu li {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu a {
    display: block;
    padding: 0.6rem 0;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    background-color: transparent;
  }

  .dropdown.active > .dropdown-menu {
    display: block;
  }
}
footer {
  background-color: rgba(0, 0, 0, 0);
  color: #F8EDE4;
  padding: 2rem;
  margin-top: 3rem;
  font-weight: normal;
  font-family: 'Bona Nova', serif;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.25rem;
}

.footer-icons a {
  color: #F8EDE4;
  font-size: 32px;
  transition: opacity 0.3s;
}

.footer-icons a:hover {
  opacity: 0.7;
}

.footer-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-name {
  font-family: 'Bona Nova', serif;
  font-size: 24px;
  font-weight: 400;
  color: #F8EDE4;
}

.footer-copyright {
  font-family: 'Bona Nova', serif;
  font-size: 24px;
  color: #F8EDE4;
}

@media (max-width: 927px) {
  .footer-main {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-name,
  .footer-copyright {
    font-size: 16px;
  }
  
  .footer-icons a {
    font-size: 24px;
  }
}
@media (max-width: 927px) {
  .mobile-only {
    display: inline !important;
  }
  
  .hero h1 {
    margin-top: 150px;
  }
  
  .page-header h1 {
    font-size: 56px !important;
  }
  
  h2 {
    font-size: 48px !important;
  }
  
  .navbar {
    padding: 0.8rem 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    text-align: left;
  }
  
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  
  .nav-links {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links a {
    font-size: 24px;
    padding: 0.3rem 0.5rem;
  }
  
  .nav-links a.button {
    padding: 0.4rem 0.8rem;
    font-size: 24px;
  }
  
  .main-content {
    padding-top: 140px;
  }
  
  .short-story-banner {
    height: auto;
    overflow: visible;
    position: relative;
    padding: 0 5%;
  }

  .subscribe-banner {
    height: auto;
    overflow: visible;
    position: relative;
    padding: 0 5%;
  }

  .subscribe-row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .subscribe-content {
    text-align: center;
    padding: 1rem;
  }

  .subscribe-form {
    width: 100%;
    max-width: 300px;
    padding: 1rem;
    align-items: center;
    flex-direction: column;
  }

  .subscribe-form-inputs {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .subscribe-name,
  .subscribe-email {
    width: 100% !important;
    max-width: none !important;
  }

  .subscribe-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100% !important;
    max-width: none !important;
  }
  
  .story-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
  }
  
  .story-image {
    width: 60%;
    max-width: 300px;
    min-width: 150px;
    aspect-ratio: 1 / 1;
    background-image: url('/assets/images/obj-1-book.png');
    background-size: cover;
    background-position: center;
    order: 1;
    position: relative;
    margin: 0;
  }
  
  .story-content {
    padding: 1rem;
    text-align: center;
    order: 2;
    width: 100%;
    margin: 0 auto;
  }
  
  .story-label {
    font-size: 24px;
  }
  
  .story-title {
    font-size: 1.2rem;
  }
  
  .story-summary {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }
  
  .story-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: auto;
    display: inline-block;
  }
  
  .bio-banner {
    height: auto;
    overflow: visible;
    position: relative;
    padding: 15px 5%;
  }
  
  .bio-row {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
  }
  
  .bio-content {
    padding: 0.5rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .bio-title {
    font-size: 1.2rem;
  }
  
  .bio-text {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }
  
  .bio-image {
    width: 60%;
    aspect-ratio: 1 / 1;
    background-image: url('/assets/images/pho-1-headshot.png');
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 0;
  }
  
  .content-section {
    padding: 2rem 1rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .card h3 {
    font-size: 1.2rem;
  }
  
  .progress-section {
    width: 100%;
  }
  
  .work-content {
    flex-direction: column;
    text-align: center;
  }
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: none;
  border: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--royal-blue);
  font-weight: 700;
  font-size: 1.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid var(--parchment);
  border-radius: 5px;
  font-size: 1.3rem;
  font-family: 'Bona Nova', serif;
  background: rgba(248, 237, 228, 0.65);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-blue);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
  font-size: 1.3rem;
}

.newsletter-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: none;
  border: none;
}

.newsletter-box h2 {
  font-family: 'Bona Nova', serif;
  font-size: 3rem;
  color: var(--royal-blue);
  margin-bottom: 1rem;
  font-weight: 400;
}

.newsletter-box p {
  margin-bottom: 2rem;
  color: var(--text-dark);
  font-size: 1.3rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input,
.newsletter-form textarea {
  padding: 1.2rem;
  border: 2px solid var(--parchment);
  border-radius: 5px;
  font-size: 1.3rem;
  font-family: 'Bona Nova', serif;
  background: rgba(248, 237, 228, 0.65);
  width: 100%;
}

.newsletter-form textarea {
  min-height: 171px;
  max-height: 700px;
  resize: vertical;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--royal-blue);
}

@media (max-width: 927px) {
  .contact-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 1rem;
    font-size: 1.2rem;
  }
  
  .newsletter-box {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .newsletter-box h2 {
    font-size: 2.5rem;
  }
  
  .newsletter-box p {
    font-size: 1.2rem;
  }
  
  .newsletter-form input {
    padding: 1rem;
    font-size: 1.2rem;
  }
}
