/* Base styles */
body {
  margin: 0;
  background-color: #eaeaea;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Banner layout */
.hero-banner {
  display: flex;
  align-items: center;              /* Vertically center all items */
  justify-content: space-between;  /* Space between left, center, right */
  background-color: #2f6d6a;
  padding: 40px 5%;
  flex-wrap: nowrap;
}

/* Logo images */
.banner-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;                   /* Prevent logos from shrinking */
}

/* Optional spacing for balance */
.banner-logo.left {
  margin-right: 40px;
  height: 140px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
  display: block;
}

.banner-logo.right {
  margin-left: 40px;
  height: 120px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  visibility: visible;
}

/* Title text container */
.hero-text {
  flex-grow: 1;
  text-align: center;
}

/* Title text styles */
.title {
  font-family: 'Pacifico', cursive;
  font-size: 3.5em;
  color: #ffffff;
  margin: 0;
}

.subtitle {
  font-size: 1.8em;
  color: #ffcc00;
  margin: 0;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-banner {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .banner-logo {
    height: 100px;
    margin: 10px 0;
  }

  .hero-text {
    margin: 20px 0;
  }

  .title {
    font-size: 2.5em;
  }

  .subtitle {
    font-size: 1.4em;
  }
}

/* 🌿 Soft Boxed Section Styling */
.section {
  max-width: 700px;
  margin: 40px auto;
  padding: 24px;
  border: 1px solid #dcdcd2;
  background-color: #fcfcf7; /* warm ivory */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  font-family: 'Georgia', serif;
  line-height: 1.7;
  transition: box-shadow 0.3s ease;
}

.section:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08); /* gentle lift on hover */
}

/* ✨ Section Headings */
.section h2 {
  margin-top: 0;
  font-size: 2em;
  color: #2f6d6a;
  font-family: 'Pacifico', cursive; /* playful script */
  border-bottom: 1px solid #dcdcd2;
  padding-bottom: 6px;
}

/* 📖 Paragraph Styling */
.section p {
  margin-bottom: 1em;
  color: #444;
}

/* 🌱 Page Background */
body {
  background-color: #e8f0e5; /* pale sage */
}

.book-gallery {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: 2rem;
  overflow-x: auto; /* Optional: allows horizontal scroll if needed */
}

.book {
  width: 160px; /* Reduced from 220px */
  text-align: left;
  flex-shrink: 0;
}

.book img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  display: block;
}

.book p {
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

.book a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Base styles */
body {
  margin: 0;
  background-color: #eaeaea;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Banner layout */
.hero-banner {
  display: flex;
  align-items: center;              /* Vertically center all items */
  justify-content: space-between;  /* Space between left, center, right */
  background-color: #2f6d6a;
  padding: 40px 5%;
  flex-wrap: nowrap;
}

/* Logo images */
.banner-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;                   /* Prevent logos from shrinking */
}

/* Optional spacing for balance */
.banner-logo.left {
  margin-right: 40px;
  height: 140px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
  display: block;
}

.banner-logo.right {
  margin-left: 40px;
  height: 120px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  visibility: visible;
}

/* Title text container */
.hero-text {
  flex-grow: 1;
  text-align: center;
}

/* Title text styles */
.title {
  font-family: 'Pacifico', cursive;
  font-size: 3.5em;
  color: #ffffff;
  margin: 0;
}

.subtitle {
  font-size: 1.8em;
  color: #ffcc00;
  margin: 0;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-banner {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .banner-logo {
    height: 100px;
    margin: 10px 0;
  }

  .hero-text {
    margin: 20px 0;
  }

  .title {
    font-size: 2.5em;
  }

  .subtitle {
    font-size: 1.4em;
  }
}

/* 🌿 Soft Boxed Section Styling */
.section {
  max-width: 700px;
  margin: 40px auto;
  padding: 24px;
  border: 1px solid #dcdcd2;
  background-color: #fcfcf7; /* warm ivory */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  font-family: 'Georgia', serif;
  line-height: 1.7;
  transition: box-shadow 0.3s ease;
}

.section:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08); /* gentle lift on hover */
}

/* ✨ Section Headings */
.section h2 {
  margin-top: 0;
  font-size: 2em;
  color: #2f4f4f;
  font-family: 'Pacifico', cursive; /* playful script */
  border-bottom: 1px solid #dcdcd2;
  padding-bottom: 6px;
}

/* 📖 Paragraph Styling */
.section p {
  margin-bottom: 1em;
  color: #444;
}

/* 🌱 Page Background */
body {
  background-color: #e8f0e5; /* pale sage */
}

.book-gallery {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: 2rem;
  overflow-x: auto; /* Optional: allows horizontal scroll if needed */
}

.book {
  width: 160px; /* Reduced from 220px */
  text-align: left;
  flex-shrink: 0;
}

.book img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  display: block;
}

.book p {
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

.book a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* 📬 Contact Icons */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.contact-icon {
  font-size: 40px; /* Adjust size as needed */
  color: #2f4f4f;   /* Deep slate green to match your headings */
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-icon:hover {
  transform: scale(1.1);
  color: #aaba99; /* Silvery green hover tone */
}

/* 📬 Modal Styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Soft dark overlay */
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 24px;
  border-radius: 12px;
  max-width: 500px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  font-family: 'Georgia', serif;
}

/* ❌ Close Button */
.close {
  color: #999;
  float: right;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #2f6d6a;
}

/* 🧾 Modal Form Layout */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal-content label {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #444;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  box-sizing: border-box;
}

.modal-content button[type="submit"] {
  background-color: #aaba99; /* silvery green */
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Georgia', serif;
}

.modal-content button[type="submit"]:hover {
  background-color: #47325a;
}

.mobile-cartoon-icon {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cartoon-icon {
    display: block;
    height: 120px;
    margin-bottom: 1rem;
  }

    }

.poetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px;
}

.box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.link-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 30px auto;
  padding: 0 16px;
}

.link-button {
  background-color: #7a9c98; /* silvery sage */
  color: #fff;
  padding: 12px 24px;
  font-size: 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.link-button:hover {
  background-color: #607d7a;
}

.poem-subtitle {
  font-weight: bold;
  font-size: 1.1rem;
  font-family: 'Georgia', serif; /* or your chosen font */
  color: #333; /* or a soft tone from your palette */
  margin-bottom: 6px;
}

/* ✅ Hide logos on mobile */
@media screen and (max-width: 600px) {
  .main-logo,
  .updates-logo,
  .poetry-logo {
    display: none !important;
  }

  .hero-banner {
  background-color: #333; /* or your chosen background */
  padding: 20px;
}

.banner-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: white;
  text-align: center;
  flex-grow: 1;
  margin: 0 20px;
}

.banner-logo {
  width: 60px;
  height: auto;
}

/* ✅ Hide logos on mobile */
@media screen and (max-width: 600px) {
  .main-logo,
  .updates-logo,
  .poetry-logo {
    display: none !important;
  }
  .hero-banner {
  background-color: #2f6d6a; /* or your chosen shade */
  padding: 20px;
}

  .email-visible {
  font-size: 0.95em;
  color: #A3B9A5; /* soft sage green */
  margin-top: 8px;
  text-align: center;
}
.email-visible a {
  color: #A3B9A5;
  text-decoration: none;
}

  footer {
  text-align: center;
}
























