@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
}
html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* Global Styles */

h1 {
  font-size: 50px;
  line-height: 64px;
  color: #222;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: #222;
}

h4 {
  font-size: 20px;
  color: #222;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

h5 {
  font-size: 30px;
  line-height: 54px;
  color: #1a1a1a;
}

p {
  font-size: 16px;
  color: #465b52;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

body {
  width: 100%;
}

.logo {
  height: 50px;
}

.f-logo {
  height: 100px;
}

#header {
  position: fixed;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: #e3e6f3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  width: 100%;
  top: 0;
  left: 0;
}

#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 30px; */
}

#navbar li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

#navbar li a,
#mobile a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
  color: #d5241b;
}

#navbar li a.active::after,
#navbar li a:hover::after {
  content: "";
  width: 30%;
  height: 2px;
  background: #d5241b;
  position: absolute;
  bottom: -4px;
  left: 20px;
}

#mobile {
  display: none;
  align-items: center;
}

#close {
  display: none;
}

/* homepage */
#hero {
  background-image: url("img/clear-hero.jpg");
  margin-top: 90px;
  height: 90vh;
  width: 100%;
  background-size: cover;
  background-position: top 25% right 0;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#hero h4 {
  padding-bottom: 15px;
}

#hero h1 {
  color: #d5241b;
}

#hero button {
  color: #d5241b;
  font-size: 18px;
  font-weight: 700;
  background-color: transparent;
  border: 0;
  padding: 20px 0;
  cursor: pointer;
}

#hero button:hover {
  color: #b61b13;
  transform: scale(1.1);
}

#product1 {
  text-align: center;
}

#product1 .pro-container {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 20px;
  flex-wrap: wrap;
}

#product1 .pro {
  width: 23%;
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid #cce7d0;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
  margin: 15px 0;
  transition: 0.2s ease;
  position: relative;
}

#product1 .pro a {
  width: 40px;
  height: 40px;
  background-color: #e8f6ea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d5241b;
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-decoration: none;
  border: 1px solid #cce7d0;
}

#product1 .pro a i {
  font-size: 18px;
}

#product1 .pro:hover {
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}

#product1 .pro img {
  width: 100%;
  border-radius: 20px;
}

#product1 .pro .des {
  text-align: start;
  padding: 10px 0;
}

#product1 .pro .des span {
  color: #606063;
  font-size: 12px;
}

#product1 .pro .des h5 {
  padding-top: 7px;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#product1 .pro .des i {
  font-size: 12px;
  color: rgb(243, 185, 25);
}

#product1 .pro .des h4 {
  padding-top: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #d5241b;
}

.heading {
  text-align: center;
  padding-top: 40px;
  /* padding-bottom: 20px; */
}

#sm-banner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#sm-banner .banner-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-image: url("img/banner.jpg");
  height: 50vh;
  min-width: 600px;
  background-size: cover;
  background-position: center;
  padding: 20px;
}

#sm-banner .banner-box2 {
  background-image: url("img/banner2.jpg");
}

#sm-banner h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
}

#sm-banner span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 15px;
}

button.white {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  color: #fff;
  border: 1px solid #fff;
  background: transparent;
  outline: none;
  transition: 0.2s;
  cursor: pointer;
}

#sm-banner .banner-box:hover button {
  background: #d5241b;
  border: 1px solid #b61b13;
}

#banner3 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 80px;
}

#banner3 .banner-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-image: url("img/k-tote2.jpg");
  height: 30vh;
  min-width: 30%;
  background-size: cover;
  background-position: center;
  padding: 20px;
  margin-bottom: 20px;
  cursor: pointer;
}

#banner3 h2 {
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 900;
}

#banner3 h3 {
  color: #d5241b;
  font-size: 15px;
  font-weight: 900;
}

#banner3 .banner-box2 {
  background-image: url("img/k-badge-banner.jpg");
}

#banner3 .banner-box3 {
  background-image: url("img/k-bookmark-banner2.jpg");
}

#banner3 .banner-box4 {
  background-image: url("img/tshirt-banner.jpg");
}

#newsletter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  background-image: url("img/newsletter.png");
  background-repeat: no-repeat;
  background-position: 20% 30%;
  background-color: #041e42;
}

#newsletter h4 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

#newsletter p {
  font-size: 14px;
  font-weight: 600;
  color: #818ea0;
}

#newsletter p span {
  color: #ffbd27;
}

#newsletter .form {
  display: flex;
  width: 40%;
}

#newsletter input {
  height: 3.125rem;
  padding: 0 1.25em;
  font-size: 14px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}

#newsletter button {
  background-color: #d5241b;
  color: #fff;
  white-space: nowrap;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer .logo {
  margin-bottom: 30px;
}

footer h4 {
  font-size: 14px;
  padding-bottom: 20px;
}

footer p {
  font-size: 13px;
  margin: 0 0 8px 0;
}

footer a {
  font-size: 13px;
  text-decoration: none;
  color: #222;
  margin: 0 0 12px 0;
}

footer .follow {
  margin-top: 20px;
}

footer .follow i {
  color: #465b52;
  padding-right: 4px;
  cursor: pointer;
}

footer .follow i:hover,
footer a:hover {
  color: #b61b13;
}

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

/* about.html */
.about-page {
  background-image: url("img/about.png");
}

#form-details form {
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#about-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 60px;
}

.about-images {
  display: flex;
  gap: 20px;
}

.about-images img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.about-images img:hover {
  transform: translateY(-5px);
}

.about-text h2 {
  font-size: 48px;
  margin-bottom: 15px;
}

.about-text p {
  max-width: 600px;
  line-height: 1.7;
  color: #555;
  font-size: 16px;
}

/* shop.html */

#page-header {
  margin-top: 90px; /* fixed navbar */
  width: 100%;
  height: 40vh;
  background-size: cover;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 14px;
}

.shop-page {
  background-image: url("img/shop-b1.jpg");
}

#page-header h2,
#page-header p {
  color: #fff;
}

/* single product */

#prodetails {
  display: flex;
  margin-top: 80px;
}

#prodetails .single-pro-image {
  width: 35%;
  margin-right: 50px;
  cursor: pointer;
}

#main-img {
  border: 1px solid #cce7d0;
}

.small-img {
  border: 1px solid #cce7d0;
}

.small-img-group {
  display: flex;
  justify-content: space-between;
}

.small-img-col {
  flex-basis: 24%;
  cursor: pointer;
}

#prodetails .single-pro-details {
  width: 45%;
}

#prodetails .single-pro-details h4 {
  padding: 40px 0 20px 0;
}

#prodetails .single-pro-details h2 {
  font-size: 26px;
}

#prodetails .single-pro-details select {
  display: block;
  padding: 5px 10px;
  margin-bottom: 10px;
}

#prodetails .single-pro-details input {
  height: 47px;
  width: 50px;
  padding-left: 10px;
  font-size: 16px;
  margin-right: 10px;
}

#prodetails .single-pro-details input:focus {
  outline: none;
}

#prodetails .single-pro-details button {
  background: #d5241b;
  color: #fff;
}

#prodetails .single-pro-details span {
  line-height: 25px;
}

#product-colour {
  margin-top: 30px;
}

/* contact.html */
.contact-page {
  background-image: url("img/contact.jpg");
}

#form-details {
  display: flex;
  justify-content: space-between;
  margin: 30px;
  padding: 80px;
  border: 1px solid #e1e1e1;
}

#form-details form {
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#form-details form span {
  font-size: 12px;
}

#form-details form h2 {
  font-size: 26px;
  line-height: 35px;
  padding: 20px 0;
}

#form-details form input,
#form-details form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  outline: none;
  border: 1px solid #e1e1e1;
}

#form-details form button {
  background-color: #d5241b;
  color: #fff;
}

#form-details .people div {
  padding-bottom: 25px;
  display: flex;
  align-items: flex-start;
}

#form-details .people div img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border: 1px solid #818ea0;
  margin-right: 15px;
  border-radius: 50%;
}

#form-details .people div p {
  margin: 0;
  font-size: 13px;
  line-height: 25px;
}

#form-details .people div p span {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

/* cart.html */

#cart-items {
  font-size: 26px;
  padding: 160px 100px;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* color: #d5241b; */
}

/* media query */

@media (max-width: 799px) {
  #navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 300px;
    background: #e3e6f3;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    padding: 80px 0 0 10px;
    transition: 0.3s;
  }

  #navbar.active {
    right: 0;
  }

  #navbar li {
    margin-bottom: 25px;
  }

  #mobile {
    display: flex;
    align-items: center;
  }

  #mobile i {
    color: #1a1a1a;
    font-size: 24px;
    cursor: pointer;
    padding-left: 20px;
  }

  #close {
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    color: #222;
    font-size: 24px;
  }

  #lg-bag {
    display: none;
  }

  #hero {
    height: 70vh;
    padding: 0 80px;
    background-position: top 30% right 30%;
  }

  #product1 .pro-container {
    justify-content: center;
  }

  #product1 .pro {
    width: 45%; /* extra */
    margin: 15px;
  }

  #sm-banner .banner-box {
    min-width: 100%;
    height: 30vh;
    margin-bottom: 20px;
  }

  #banner3 {
    padding: 0 80px;
  }

  #banner3 .banner-box {
    width: 28%;
  }

  #newsletter .form {
    width: 70%;
  }

  /* contact form */
  #form-details {
    padding: 40px;
  }

  #form-details form {
    width: 50%;
  }
}

@media (max-width: 477px) {
  #header {
    padding: 10px 10px;
  }

  h1 {
    font-size: 30px;
    line-height: 50px;
  }

  h2 {
    font-size: 32px;
    line-height: 40px;
  }

  #hero h4 {
    font-size: 18px;
    padding-bottom: 10px;
  }

  #hero h1 {
    font-size: 32px;
  }

  #hero p {
    padding-top: 0;
    line-height: 30px;
    font-size: 14px;
  }

  #hero {
    background-image: url("img/hero3.jpg");
    padding: 80px 30px;
    background-position: 60%;
    margin-top: 74px;
    height: 95vh;
    justify-content: start;
  }

  #hero button {
    font-size: 16px;
  }

  #product1 .pro {
    width: 100%;
  }

  #product1 .pro h5 {
    line-height: 20px;
  }

  #sm-banner {
    padding: 20px 20px;
  }

  #sm-banner .banner-box {
    height: 40vh;
  }

  #sm-banner .banner-box2 {
    margin-top: 20px;
  }

  #banner3 {
    padding: 0 20px;
  }

  #banner3 h5 {
    font-size: 26px;
  }

  #banner3 .banner-box {
    width: 100%;
  }

  #newsletter {
    padding: 40px 20px;
  }

  #newsletter input,
  #newsletter .form {
    width: 100%;
  }

  /* shop */

  .section-p1 {
    padding: 40px 20px;
  }

  .section-m1 {
    margin: 10px 0;
  }

  #product1 .pro-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
  }

  #product1 .pro {
    width: 10%;
    min-width: 150px;
  }

  #product1 .pro a {
    width: 30px;
    height: 30px;
    bottom: 15px;
    right: 15px;
  }

  #product1 .pro a i {
    font-size: 14px;
  }

  #product1 .pro .des span {
    font-size: 9px;
  }

  #product1 .pro .des h5 {
    font-size: 12px;
  }

  #product1 .pro .des h4 {
    font-size: 12px;
  }

  /* single product view */

  #prodetails {
    display: flex;
    flex-direction: column;
  }

  #prodetails .single-pro-image {
    width: 100%;
    margin-right: 0;
  }

  #prodetails .single-pro-details {
    width: 100%;
  }

  #prodetails .single-pro-details h2 {
    font-size: 22px;
  }

  /* about */

  #about-head {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-images {
    /* flex-direction: column; */
    align-items: center;
  }

  .about-images img {
    width: 30%;
    height: 10%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
  }

  .about-text {
    text-align: center;
    padding: 0 10px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 14px;
    max-width: 100%;
  }

  /* contact */

  #form-details {
    margin: 10px;
    padding: 30px 10px;
    flex-wrap: wrap;
  }

  #form-details form {
    width: 100%;
    margin-bottom: 30px;
  }

  /* cart */

  #cart-items {
    font-size: 18px;
    padding: 100px 60px;
  }

  #newsletter input {
    width: 100%;
    padding: 12px;
  }

  #newsletter button {
    width: 150px;
    padding-left: 7px;
  }
}
