/* General Styles */
body {
  background-color: #f5f2eb; 
  margin: 0;
  padding: 0;
  font-family: Poppins, sans-serif;
}

/* Header */
.top-header {
  display: flex;
  justify-content: center;
  background-color: black;
  color: white;
  font-size: 12px;
  padding: 3px;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  align-items: center;
}

.header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.middle-header h2 {
  margin: 0;
  font-size: 24px;
  text-align: center;
}

/* Hero Section */
.hero {
  display: flex;
  height: 900px;
}

.image-container {
  flex: 1;
  position: relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-overlay {
  position: absolute;
  top: 60%;
  left: 10%;
  color: white;
  font-size: 80px;
  font-weight: bold;
}

/* Items Section */
.Eitem-header {
  text-align: right;
  font-size: 40px;
  margin-right: 16px;
}

/* Keep Eitems-container scrolling horizontally */
.Eitems-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px;
  max-width: 100vw;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.Eitems-container::-webkit-scrollbar {
  display: none;
}

.Eitem {
  flex: 0 0 auto;
  width: 350px;
  text-align: left;
}

.image-wrapper {
  width: 350px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-title {
  padding-left: 16px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
}

/* Baggu Section (Keep in Row on Mobile) */
.baggu-section {
  margin-top: 30px;
}

.baggu-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Adds space between images */
  flex-wrap: nowrap; /* Ensures they stay in a row */
  overflow-x: auto; /* Allows scrolling on smaller screens */
}

.baggu-container::-webkit-scrollbar {
  display: none;
}

.baggu-item {
  flex: 0 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.baggu-item img {
  width: 510px;
  height: 600px;
  object-fit: cover;
}

.caption {
  font-size: 14px;
  font-weight: 400;
  margin-top: 5px;
  margin-left: 10px;
}

/* Keep social-section scrolling horizontally */
.social-section {
  padding: 20px;
  overflow: hidden;
  margin-top: 30px;
}

.social-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.social-container::-webkit-scrollbar {
  display: none;
}

.social-item {
  flex: 0 0 auto;
  min-width: 200px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-item.text {
  font-size: 20px;
  font-weight: bold;
  color: black;
  min-width: 150px;
}

.social-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

/* Footer (No Changes) */
footer {
  background-color: #f5f2eb;
  padding: 40px 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.newsletter {
  flex: 1;
}

.newsletter p {
  font-size: 16px;
  margin-bottom: 10px;
}

.newsletter input {
  width: 200px;
  padding: 8px;
  border: 1px #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
  display: block;
}

.newsletter button {
  background-color: black;
  color: white;
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 2;
}

.links-grid {
  display: grid;
  grid-template-columns: auto;
  gap: 10px;
  text-align: left;
}

.links-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-grid ul li {
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 5px;
}

.contact {
  grid-column: 1 / -1;
  font-size: 14px;
  margin-top: 10px;
  text-align: left;
}

.contact a {
  color: black;
  text-decoration: none;
}

/* Name Section */
.name-container {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

.name {
  display: block;
  width: 100vw;
  height: auto;
}

.bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: auto;
  transform: translateY(150px);
}

/* 🚀 Responsive Styles (Only for Mobile) */
@media (max-width: 768px) {
  /* Adjust Header */
  .header {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
  }

  .left-header, .right-header {
    display: none; /* Hide extra buttons on mobile */
  }

  .middle-header h2 {
    font-size: 20px;
  }

  /* Adjust Hero Section */
  .hero {
    flex-direction: column;
    height: auto;
  }

  .image-container {
    width: 100%;
    height: auto;
  }

  .text-overlay {
    font-size: 40px;
    top: 50%;
    left: 5%;
  }

  /* Keep Eitems-container scrolling horizontally */
  .Eitems-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .Eitem {
    flex: 0 0 auto;
    width: 300px;
  }

  /* Keep Baggu-section in a row */
  .baggu-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }

  /* Keep social-section scrolling horizontally */
  .social-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }
}
