/* css/style.css */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.nav-link {
  font-size: 1.1rem;
  margin-left: 10px;
}

#nav {
  background-color: coral;
}
.nav-link:hover {
  color: #f8d210 !important;
}

.logo {
  width: 60px;
  /* Set width */
  height: 60px;
  /* Set height */
  object-fit: cover;
  /* Ensures image fills the circle */
  border-radius: 50%;
  /* Makes it a perfect circle */
  display: inline-block;
}

/* Styling for the new Hero Section based on your UI */
.hero-style-two {
  background-color: #6fa7e7;
  /* Light pinkish background from the image */
}

.hero-style-two .hero-title {
  color: #8a243a;
  /* Maroon color sampled from the jacket in the image */
}

/* Optional: To make the image in the right column look cleaner on mobile */
@media (max-width: 991.98px) {
  .hero-style-two img {
    /* This can prevent the image from looking too large on tablets/phones */
    max-height: 500px;
    width: auto;
    margin: auto;
    display: block;
  }
}

/* Styling for the Brands Section */
.brand-logos {
  gap: 1.5rem;
  /* Creates space between logos, especially when they wrap on small screens */
}

.brand-logo img {
  max-height: 40px;
  /* Controls the height of the logos */
  width: auto;
  /* Maintains the aspect ratio */
  opacity: 0.6;
  /* Makes the logos more subtle and less distracting */
  transition: opacity 0.3s ease-in-out;
}

.brand-logo img:hover {
  opacity: 1;
  /* Brings the logo to full color on hover */
  cursor: pointer;
}


/* Styling for the Product Categories Section */
#product-categories .col-md-4 {
  padding: 0 0.5rem;
  /* Adjust for spacing between columns */
}

#product-categories .position-relative {
  border-radius: 0.5rem;
  /* Optional: for rounded corners */
  overflow: hidden;
}

#product-categories .position-absolute {
  background: rgba(199, 10, 10, 0.4);
  /* Dark overlay for text readability */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#product-categories .position-relative:hover .position-absolute {
  opacity: 1;
}

#product-categories h3 {
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

#product-categories .btn-outline-light {
  border-color: #f8f9fa;
  color: #f8f9fa;
}

#product-categories .btn-outline-light:hover {
  background-color: #f8f9fa;
  color: #212529;
}

/* --- Featured Products Section Styling --- */
.featured-products-section {
  padding: 80px 0;
}

/* --- Section Title Styling (Unchanged) --- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 400;
  color: #343a40;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title .subtitle {
  font-size: 16px;
  color: #6c757d;
  position: relative;
  display: inline-block;
  padding: 0 20px;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background-color: #dee2e6;
}

.section-title .subtitle::before {
  left: -80px;
}

.section-title .subtitle::after {
  right: -80px;
}

/* --- Product Card Styling (UPDATED DESIGN) --- */
.product-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  /* Lighter border */
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  /* Needed for positioning the button */
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-card .product-image {
  /* This div wraps the image to help with alignment */
  margin-bottom: 20px;
}

.product-card .product-image img {
  max-width: 100%;
  height: auto;
}

.product-card .star-rating {
  color: #f8b80b;
  /* Gold color for stars */
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.product-card .product-name {
  font-size: 1rem;
  color: #555;
  /* Lighter text color */
  margin-bottom: 5px;
}

.product-card .product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #777;
  /* Lighter text color */
  margin-bottom: 20px;
  /* Increased margin to make space for button */
}

/* --- "Buy Now" Button Styling (UPDATED DESIGN) --- */
.product-card .btn-buy {
  background-color: #E84A27;
  /* Orange-red color from image */
  color: #ffffff;
  border: none;
  border-radius: 2px;
  padding: 10px 30px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;

  /* --- The Hide/Show Magic --- */
  opacity: 0;
  /* Hidden by default */
  transform: translateY(10px);
  /* Start slightly lower */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- Hover Effect to Show the Button --- */
.product-card:hover .btn-buy {
  opacity: 1;
  /* Make it visible on hover */
  transform: translateY(0);
  /* Move it to its final position */
}

#banner{
  background-image: url('../images/back.jpg');
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position-x: center;
  background-position-y: 80px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#banner h1 {
  color: #ff8052;
}
#banner a {
  background-color: coral;
}
#banner a:hover {
  background-color: #212529;
}

footer {
  background-color: #212529;

}

footer h5 {
  color: #d8d8d8;
  font-weight: 700;
  font-size: 1.2rem;

}
footer li a {
  font-size: 0.8rem;
  color: #999;
  text-decoration: none;
}
footer li a:hover {
  color: #d8d8d8;
}
footer .copyright a{
  color: #000;
  height: 40px;
  width: 40px;
  background-color: #fff;
  display: inline-block;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
  transition: 0.3 ease;
  margin: 0 5px;
}
footer .copyright a:hover{
  color: #fff;
  background-color: #fb774b;
}
footer p{
  color: #fff;
}