@import url(./variables.css);
@import url(./reset.css);
@import url(./components.css);
@import url(./common.css);
@import url(./form.css);
@import url(./about.css);

.d-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.col-3 {
  width: 25%;
}

/* Styles for hero section */
.hero-section {
  height: calc(100vh - 81px);
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right bottom;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 40px;
}

.hero-section .hero-content {
  width: 45%;
  padding: 16px;
}

.hero-section .hero-content > h1 {
  font-size: 64px;
  color: var(--color-primary--1);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .hero-content > h1 > span {
  color: var(--color-primary--1);
  font-weight: 500;
}

.hero-section .hero-content > p {
  text-align: justify;
  margin-bottom: 16px;
  font-size: 24px;
}

.section-header > h1 {
  font-weight: 600;
}

.section-header > a {
  width: fit-content;
}

.section.vision {
  background-color: var(--color-secondary--1);
}

.vision-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.vision-inner > .header > h2 {
  font-weight: 400;
}

.vision-inner > .header > button {
  margin-top: 16px;
}

.best-seller {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-wrap: wrap;
}

.best-seller > .books {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.featured {
  background-color: #f1f1f1;
}

.featured-content {
  max-width: 900px;
  padding: 80px;
}

/* Section */
.section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* align-items: center; */
}

.books {
  justify-content: center;
}

.section-grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}

.product__grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 30px;
  column-gap: 30px;
  justify-content: center;
  justify-items: center;
}

.our-picks .books {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px;
  gap: 20px;
}

.contact-info,
.contact-form {
  flex: 1 1 40%;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.contact-info-map {
  flex: 1 1 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 5px;
}

h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

#map {
  height: 200px;
  border-radius: 5px;
}

.contact-form .form-group {
  margin-bottom: 15px;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #333;
  outline: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  height: 40px;
}

.contact-form textarea {
  height: 100px;
  resize: vertical;
}

/* .contact-form button {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.contact-form button:hover {
  background-color: #222;
} */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-list li:last-child {
  align-items: flex-start;
}

.contact-list li i {
  font-size: 20px;
  margin-right: 10px;
  color: #333; /* Adjust icon color */
}

.contact-list li span {
  font-weight: bold;
  margin-right: 5px;
}

.hours-list {
  margin-left: 20px; /* Indent nested list */
  padding: 0;
  list-style: none;
}

.contact-link {
  color: #333;
  text-decoration: none;
}

.contact-link:hover {
  color: rgb(118, 117, 117);
}

.what-we-provide {
  background-color: var(--color-secondary--1);
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service {
  width: 300px;
  margin: 0 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service p {
  font-size: 16px;
  color: #666;
}

.genres {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 24px;
}

.genre {
  padding: 16px;
  background-color: var(--color-secondary--1);
  border-radius: var(--border-radius);
  text-align: center;
}

.genre:hover {
  background-color: var(--color-secondary--2);
  cursor: pointer;
}

.genre a {
  text-decoration: none;
  color: var(--color-dark);
}

.genre a:hover {
  background: unset;
}

.vision-header {
  width: 400px;
  margin-bottom: 12px;
}

.touch {
  height: 350px;
}

.mb-4 {
  margin-bottom: 40px;
}

.pricing-container {
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.pricing table {
  border-collapse: collapse;
}

.pricing table tr:first-child {
  background-color: var(--color-primary--1);
}

.pricing th,
.pricing td {
  width: 300px;
  padding: 15px;
  text-align: center;
  white-space: wrap;
  border-bottom: 1px solid var(--color-secondary--3);
}

.pricing th {
  background-color: var(--color-secondary--1);
}

.highlight {
  background-color: var(--color-secondary--1);
}

.pricing ul {
  padding: 0;
  text-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing li {
  padding: 16px;
  margin: 0 32px;
  border-bottom: black solid 1px;
}

@media screen and (max-width: 1440px) {
  .hero-section {
    justify-content: center;
    height: calc(100vh - 51px);
  }
  .hero-section .hero-content {
    width: 80%;
    text-align: center;
  }
  .hero-section .hero-content h1 {
    font-size: 48px;
    text-align: center;
  }

  .hero-section .hero-content p {
    font-size: 20px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .vision-inner {
    align-items: center;
    flex-direction: column;
  }

  .vision-header {
    width: 100%;
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .vision-inner div button {
    display: block;
    margin: 10px auto;
  }

  .vision-inner img {
    width: 80%;
  }
  .description {
    padding-left: 8px;
    padding-right: 8px;
  }

  .pricing table {
    display: block;
  }

  .pricing th,
  .pricing td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .highlight td {
    background-color: #f9f9f9;
  }

  .pricing li {
    height: 50px;
    padding: 8px;
    margin: 0;
    border: none;
  }
}

@media screen and (max-width: 480px) {
  .best-seller > .books {
    justify-content: center;
  }

  .service__container .service__item {
    width: 100%;
  }
}
