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

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  --color1: #fff;
  --color2: #623e2a;
}

.wrapper-main {
  max-width: 1000px;
  margin: 0 auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--color2);
  color: var(--color1);
}

.logo img {
  height: 100px;
}

/* Navigation */
.nav-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  position: relative;
  background-color: var(--color2);
  padding: 12px 20px;
}

.menu {
  display: flex;
  list-style-type: none;
}

.menu li {
  padding-left: 30px;
}

.menu li a {
  text-decoration: none;
  color: var(--color1);
  text-transform: uppercase;
  position: relative;
  transition: 0.15s ease-in-out;
}

.menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color1);
  transition: 0.15s ease-in-out;
}

.menu li a:hover::after {
  width: 100%;
}

.open-menu,
.close-menu {
  position: absolute;
  color: var(--color1);
  cursor: pointer;
  font-size: 1.5rem;
  display: none;
}

.open-menu {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.close-menu {
  top: 20px;
  right: 20px;
}

#check {
  display: none;
}

/* Hero Video */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Intro Section */
.intro {
  padding: 40px 20px;
  text-align: center;
  background-color: #efebe5;
}

.intro h1,
.intro h2,
.intro h3 {
  color: #6a4e42;
  margin-bottom: 20px;
}

.intro h1 {
  font-size: 28px;
}

.intro h3 {
  font-style: italic;
  text-align: right;
}

.intro p {
  font-size: 16px;
  margin-bottom: 30px;
}

/* CTA Button */
.btn.signin {
  background-color: #1f5909;
  color: white;
  float: right;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn.signin:hover {
  background-color: #28760c;
}

/* Featured Poems */
.featured {
  padding: 40px 20px;
  background-color: #efebe5;
  text-align: left;
}

.featured h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.featured p {
  font-size: 16px;
  margin-bottom: 20px;
}
/* Search bar */
.search-container {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1em;
}
.search-container input {
  padding: 0.5em;
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-container button {
  background-color: #6a4e42;
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
}
.search-container button:hover {
  background-color: #98705f;
}
/* Poem Card */
.poem-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  border: 1px solid #ddd;
  box-shadow: 0 0 10px #00000020;
  border-radius: 8px;
  margin-top: 20px;
  padding: 20px;
  background-color: #fff;
}

.poem-card img {
  border-radius: 4px;
  max-width: 50%;
  height: auto;
  margin-bottom: 10px;
}

.poem-info h3 {
  font-size: 20px;
  margin-bottom: 5px;
  cursor: pointer;
}

.poem-info p {
  color: #777;
  font-size: 16px;
  cursor: pointer;
}

* Poem card interactivity */
.poem-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.poem-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/*Index Outro*/
.index-outro {
  width: 100%;
  padding: 40px 20px;
  background-color: #efebe5;
  text-align: center;
}

.index-outro p {
  font-size: 16px;
  margin: 10px 0;
}

.index-outro a {
  color: #1f5909;
  text-decoration: none;
  font-weight: bold;
}

.index-outro a:hover {
  text-decoration: underline;
}


/* About Section Container */
.intro-about {
  background-color: #efebe5;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Image Container */
.about-image {
  width: 100%;
  max-width: 600px;
  margin-bottom: 30px;
}

/* Image Styling */
.about-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
}

/* About Page Message */
.about-message {
  padding: 40px 20px;
  margin-bottom: 20px;
  text-align: center;
}

.about-message h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #000;
}

.about-message p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #000;
}

.about-message a {
  color: #1f5909;
  text-decoration: none;
  font-weight: bold;
}

.about-message a:hover {
  text-decoration: underline;
}

/* Collection Page */
.collection {
  width: 100%;
  padding: 60px 20px;
  background-color: #efebe5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.collection-message {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.collection-message h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #623e2a;
}

.collection-message p {
  color: #000;
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* Collection Boxes */

.collection-grid{
  width: 100%;
  padding: 60px 20px;
  background-color: #efebe5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.collection-box {
  width: 220px;
  height: 220px;
  background-color: #777;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.collection-box:hover {
  transform: scale(1.05);
}

.collection-box:nth-of-type(1) {
  background-image: url("images/Collection/narrative.jpg");
}
.collection-box:nth-of-type(2) {
  background-image: url("images/Collection/drama.jpg");
}
.collection-box:nth-of-type(3) {
  background-image: url("images/Collection/lyrical.jpg");
}
.collection-box:nth-of-type(4) {
  background-image: url("images/Collection/mountain_view.jpg");
}

.dark-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #623e2a;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.collection-box:hover .dark-overlay {
  opacity: 0;
}

.collection-box h2 {
  font-size: 22px;
  line-height: 28px;
  text-align: center;
  color: #fff;
  text-shadow: -2px 2px 4px #000;
  z-index: 2;
  position: relative;
}

/* Collection Outro */
.collection-outro {
  width: 100%;
  padding: 40px 20px;
  background-color: #efebe5;
  text-align: center;
}

.collection-outro p {
  font-size: 16px;
  margin: 10px 0;
}

.collection-outro a {
  color: #1f5909;
  text-decoration: none;
  font-weight: bold;
}

.collection-outro a:hover {
  text-decoration: underline;
}

/* Contact Page */

.section {
  position: relative;
  z-index: 3;
  padding: 50px 0px;
  background-color: #efebe5;
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 50px;
}

.section-header h2 {
  color: #000;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}

.section-header p {
  color: #623e2a;
  font-size: 1rem;
  line-height: 1.6;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.contact-info {
  flex: 1 1 45%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-info-icon {
  height: 70px;
  width: 70px;
  background-color: #623e2a;
  text-align: center;
  border-radius: 50%;
  color: #fff;
}

.contact-info-icon i {
  font-size: 30px;
  line-height: 70px;
}

.contact-info-content {
  margin-left: 20px;
}

.contact-info-content h4 {
  color: #444;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.contact-info-content p {
  color: #000;
  font-size: 1em;
}

/* Contact Form */

.contact-form {
  flex: 1 1 45%;
  background-color: #444;
  padding: 30px 40px;
  color: #efebe5;
  border-radius: 8px;
}

.contact-form h2 {
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 20px;
}

.input-box {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  resize: none;
  background: transparent;
  color: #fff;
}

.input-box span {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 16px;
  color: #ccc;
  pointer-events: none;
  transition: 0.3s ease;
}

.input-box input:valid ~ span,
.input-box textarea:valid ~ span {
  color: #000;
  font-size: 12px;
  transform: translateY(-20px);
}

.input-box input[type="submit"] {
  background: #623e2a;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.input-box input[type="submit"]:hover {
  background: #efebe5;
  color: #000;
}
/*Contact Outro*/
.contact-outro{
  width: 100%;
  padding: 40px 20px;
  background-color: #efebe5;
  text-align: center;
}

.contact-outro p {
  font-size: 16px;
  margin: 10px 0;
}

.contact-outro a {
  color: #1f5909;
  text-decoration: none;
  font-weight: bold;
}

.contact-outro a:hover {
  text-decoration: underline;
}


/* Footer */

.footer-main {
  width: 100%;
  padding: 20px 40px;
  background-color: #623e2a;
  color: #fff;
  text-align: center;
}

.footer-main-flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-getintouch {
  padding: 10px 20px;
  margin: 10px 0 90px;
  border: 2px solid #fff;
  font-weight: 600;
  transition: border 0.3s ease;
}

.footer-getintouch:hover {
  border-color: #000;
}

.footer-sitemap {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-sitemap ul {
  list-style-type: none;
  padding: 0;
}

.footer-sitemap ul:nth-child(1) {
  border-left: 2px solid #fff;
  padding-left: 10px;
}

.footer-sitemap a {
  line-height: 30px;
  color: #fff;
  text-decoration: none;
}

.footer-sitemap a:hover {
  opacity: 0.8;
}

.footer-sitemap p {
  text-transform: uppercase;
}

.footer-trademark {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

