/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: beige;
  color: #333;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.navbar .nav-links {
  display: flex;
  gap: 30px;
}

.navbar .nav-links li a {
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.navbar .nav-links li a:hover {
  color: #f7c948;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url('https://static.fibre2fashion.com//articleresources/images/23/2287/SS988ebe_Small.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.hero .btn {
  background-color: #f7c948;
  color: #000;
  padding: 12px 28px;
  font-weight: bold;
  border-radius: 50px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero .btn:hover {
  background-color: #000;
  color: #fff;
}

/* Best Products Section */
.best-products {
  padding: 80px 50px;
  background-color: bisque ;
  text-align: center;
}

.best-products h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-grid-container {
  display: flex;
  gap: 30px; /* Increased gap to give more space between the images */
  overflow-x: scroll; /* Enable horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling for touch devices */
  scroll-snap-type: x mandatory; /* Enable snapping for each image */
  padding: 20px 0;
  scroll-behavior: smooth; /* Smooth scroll when swiped */
}

.product-grid-container .grid-item {
  flex: 0 0 auto;
  width: 450px; /* Increased the width of each image */
  height: 450px; /* Increased the height of each image */
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  scroll-snap-align: start; /* Ensure images align properly */
}

.product-grid-container .grid-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
}

.product-grid-container .grid-item:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.product-grid-container .grid-item:hover::after {
  opacity: 0;
}

/* Most Selling Section */
.aesthetic-gallery {
  padding: 80px 50px;
  background-color: #222;
  color: #fff;
  text-align: center;
}

.aesthetic-gallery h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-grid-container {
  display: flex;
  gap: 30px; /* Increased gap to give more space between the images */
  overflow-x: scroll; /* Enable horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling for touch devices */
  scroll-snap-type: x mandatory; /* Enable snapping for each image */
  padding: 20px 0;
  scroll-behavior: smooth; /* Smooth scroll when swiped */
}

.gallery-grid-container .gallery-item {
  flex: 0 0 auto;
  width: 450px; /* Increased the width of each image */
  height: 450px; /* Increased the height of each image */
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  scroll-snap-align: start; /* Ensure images align properly */
}

.gallery-grid-container .gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
}

.gallery-grid-container .gallery-item:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.gallery-grid-container .gallery-item:hover::after {
  opacity: 0;
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #111;
  color: #fff;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.contact-section .btn {
  background-color: #f7c948;
  color: #000;
  padding: 12px 28px;
  font-weight: bold;
  border-radius: 50px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-section .btn:hover {
  background-color: #000;
  color: #fff;
}

/* Footer */
.site-footer {
  background-color: #222;
  color: #fff;
  padding: 2rem;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  margin: 1rem;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: #fff;
}

.footer-col ul li a:hover {
  color: #fbc02d;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .terms-content {
    padding: 1rem;
  }
}

