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

ul li,
a {
  list-style-type: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

button {
  padding: 1rem 2rem;
  border: none;
  color: #f8f9fa;
  background-color: goldenrod;
  border-radius: 10px;
}

button:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.header {
  display: flex;
  flex-wrap: wrap;
  padding: 2rem;
  align-items: center;
  background-color: #f8f9fa;
  justify-content: space-around;
}

.header a {
  color: goldenrod;
  letter-spacing: 0.2rem;
}

.header-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style-type: none;
}

.header-nav-list a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.main-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #f8f9fa;
  background-image: url('./img/BackgroundStore.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  z-index: 1;
}


.main-section button {
  z-index: 2;
  padding: 0.5rem 4rem;
  border: none;
  font-size: 1.5rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin-top: 1rem;
}

.main-section p {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.282);
  z-index: 1;
}

.main-section-title {
  letter-spacing: 0.2rem;
  font-size: 4rem;
  text-align: center;
  z-index: 2;
  /* Ensures the title is above the overlay */
}

.main-section p {
  font-size: 1.5rem;
  z-index: 2;
}

.main-section-one {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  justify-content: space-evenly;
  align-items: center;
  padding: 2rem;
}

.main-section-one p {
  width: 40rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.main-section-two {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #f8f9fa;
}

.main-section-three {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  height: 100vh;
  gap: 2rem;
}

.mst-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}

.mst-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 600;
}

.mst-item {
  position: relative;
  overflow: hidden;
}

.mst-item img {
  width: 20rem;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.3s ease;
  /* Smooth hover zoom */
}

.mst-item h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
  /* Text appears over the image */
}

.mst-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  /* Dark overlay */
}

.mst-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  /* Blurred background behind text */
}

.mst-item:hover img {
  transform: scale(1.05);
  /* Slight zoom on hover */
}

.mst-item:hover h1,
.mst-item:hover::before,
.mst-item:hover::after {
  opacity: 1;
  /* Show text, dark overlay, and blur background on hover */
}

.main-section-four {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  height: 100vh;
}

.msf-header {
  width: 40rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.form-container {
  background-color: #f8f9fa;
  color: var(--cl-darkBlue);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  animation: fadeIn 1s ease-out;
}

.contact-h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.contact-input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.contact-input-group input,
.contact-input-group textarea {
  padding: 0.87rem 1rem;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-size: 1rem;
}

.contact-input-group input:focus,
.contact-input-group textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.input-icon {
  position: relative;
}

.input-icon input,
.input-icon textarea {
  padding-left: 2.5rem;
  /* Space for the icon */
}

.contact-icons {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cl-darkBlue);
}

.contact-button-submit {
  width: 100%;
  background-color: #007bff;
  color: #f8f9fa;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

.contact-button-submit:disabled {
  cursor: not-allowed;
}

footer {
  margin-top: 2rem;
  background-color: #ddd;
  padding: 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.about-us-title {
  text-align: center;
  font-size: 8rem;
  margin-bottom: 2rem;
  font-weight: bold;
  border: solid 1px black;
}

.about-us-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  padding: 3rem;
}

.about-us-container img {
  width: 40vw;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 2;
}

.about-us-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 40rem;
}

.about-us-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem;
}

.about-us-section img {
  width: 70rem;
  height: 15rem;
  object-fit: cover;

}

.category-container {
  background-image: url('./img/CategoryBackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.category-title {
  font-size: 8rem;
  color: #f8f9fa;
  font-family: Arial, Helvetica, sans-serif;
  padding: 2rem 4rem;
  text-align: center;
  z-index: 1;
  background: rgba(0, 0, 0, 0.636);
  backdrop-filter: blur(1px);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  height: 100%;
}

.msc-images {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.main-section-catergory img {
  width: 20rem;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1/1;
}

.msc-tshirt {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: solid 1px #ddd;
  width: 25rem;
  padding: 2rem;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
}
