*,
/*  RESET & BASE  */
*, ::before, ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0d0d10;
  background-image:
    linear-gradient(rgba(15, 23, 43, 0.9), rgba(15, 23, 43, 0.9)),
    url('./men clothing image/men clothing22.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/*  HEADER & NAV  */
header {
  position: relative;
  width: 100%;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  background: rgba(13, 13, 16, 0.9);
  backdrop-filter: blur(5px);

}

.logo img {
  height: 50px;
  width: auto;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 34px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  padding: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #d4af37;
}

.btn {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-radius: 50px;
  background: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #d4af37;
  color: #0d0d10;
  border-color: #d4af37;
  border-radius: 20px;
}

/* MOBILE MENU  */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 250px;
    background: #1c1c22;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 200;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 16px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }
  .btn {
    display: none;
  }
}

/* INTRO CAROUSEL SLIDESHOW */
.intro {
  min-height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  border-radius: 80px;
  margin-top: 20px;
  
  
}

.intro-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 20px;
}

.intro-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 97%;
  height: 90%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 12s infinite;
  border-radius: 200px;
  
}

.intro-slide:nth-child(1) {
  animation-delay: 0s;
  background-image: linear-gradient(to right, rgba(3, 9, 20, 0.95) 0%, rgba(3, 9, 20, 0.80) 35%, rgba(3, 9, 20, 0.40) 65%, rgba(3, 9, 20, 0.15) 100%), url('./men\ clothing\ image/men clothing41.jpg');
}

.intro-slide:nth-child(2) {
  animation-delay: 4s;
  background-image: linear-gradient(to right, rgba(3, 9, 20, 0.95) 0%, rgba(3, 9, 20, 0.80) 35%, rgba(3, 9, 20, 0.40) 65%, rgba(3, 9, 20, 0.15) 100%), url('./men\ clothing\ image/men clothing43.jpg');
}

.intro-slide:nth-child(3) {
  animation-delay: 8s;
  background-image: linear-gradient(to right, rgba(3, 9, 20, 0.95) 0%, rgba(3, 9, 20, 0.80) 35%, rgba(3, 9, 20, 0.40) 65%, rgba(3, 9, 20, 0.15) 100%), url('./men\ clothing\ image/men clothing44.jpg');
}

@keyframes slideShow {
  0% { opacity: 0; }
  8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

.intro-overlay {
  width: 55%;
  max-width: 700px;
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .intro-overlay {
    width: 80%;
    padding: 40px 30px;
  }
  
  .intro-overlay h2 {
    font-size: 2.5rem;
  }
  
  .intro-overlay p {
    font-size: 1.2rem;
  }
}
.intro-overlay {
  width: 55%;
  max-width: 900px;
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Aligns everything to the left */
  justify-content: center;
  position: relative;
  z-index: 2;
}

.intro-overlay h2 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.05;
  margin: 0 0 20px 0;
}

.intro-overlay p {
  color: #f1f1f1;
  font-size: 22px;
  line-height: 1.6;
  margin: 0 0 35px 0;
}

.intro-btn {
  display: inline-block;
  padding: 18px 30px;
  background: #d4af37;  /* Gold background */
  color: #050505;        /* Dark text */
  text-decoration: none;
  font-size: 17px;
  
  transition: 0.3s;
}

.intro-btn:hover {
  
  transform: translateY(-3px);
}
/*  PRODUCTS & SHOP (Flex Only)  */
.products {
  padding: 50px 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.products-title, .featured-heading {
  text-align: center;
  color: #f2f0eb;
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin: 40px auto 30px;
}

.product-grid, .products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.product-card {
  background: #1c1c22;
  border-radius: 12px;
  padding: 15px;
  flex: 1 1 280px; 
  /* Flex basis allows auto-sizing */
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  color: white;
  font-size: 1.2rem;
  margin-top: 5px;
}

.product-card p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-card .price {
  color: #d4af37;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: auto;
}

/*  ABOUT PAGE (Flex Only) */
.about-heading {
  text-align: center;
  color: #f2f0eb;
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin: 60px auto 20px;
  max-width: 1300px;
  width: 100%;
  padding: 0 20px;
}

.about-wrapper {
  width: 95%;
  max-width: 1300px;
  margin: 20px auto 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.about-card {
  background: #1c1c22;
  border-radius: 20px;
  padding: 30px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-card p {
  color: #e0e0e0;
  font-size: 17px;
  line-height: 1.7;
}

.about-image {
  flex: 1 1 300px;
  min-height: 300px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* CONTACT PAGE (Flex Only)  */
.contact-heading {
  text-align: center;
  color: #f2f0eb;
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin: 60px auto 20px;
}

.contact-wrapper {
  width: 95%;
  max-width: 1300px;
  margin: 20px auto 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.contact-card {
  background: #1c1c22;
  border-radius: 20px;
  padding: 30px;
  flex: 1 1 350px;
}

.contact-card h2 {
  color: white;
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.contact-card fieldset {
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 20px;
}

.contact-card legend {
  color: #d4af37;
  padding: 0 10px;
}

.contact-card label {
  display: block;
  color: white;
  margin-top: 12px;
  margin-bottom: 6px;
}

.contact-card input, .contact-card textarea {
  width: 100%;
  background: #0d0d10;
  border: 1px solid #444;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  padding: 12px;
  outline: none;
  transition: 0.3s;
}

.contact-card input:focus, .contact-card textarea:focus {
  border-color: #d4af37;
}

.contact-card button, .send-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  background-color: #d4af37;
  border: none;
  border-radius: 6px;
  color: #1a1a1a;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  padding: 14px;
  text-transform: uppercase;
  transition: 0.3s;
}

.contact-card button:hover, .send-btn:hover {
  background-color: #b8962e;
}

.contact-image {
  flex: 1 1 300px;
  min-height: 300px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.2s ease;
}
.contact-image img:hover,
.about-image img:hover {
  transform: scale(1.01);
}


/* === ORDER PAGE (Flex Only) === */
.order-section {
  padding: 80px 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease;
}
.order-section :hover{
  transform: scale(1,03);
}

.order-container {
  max-width: 600px;
  width: 100%;
  background: #1c1c22;
  padding: 40px;
  border-radius: 20px;
  margin: auto;
}

.order-container h2 {
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 20px;
}

.order-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-container label {
  color: white;
  margin-bottom: 5px;
  display: block;
}

.order-container input, .order-container textarea {
  width: 100%;
  background: #0d0d10;
  border: 1px solid #444;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  padding: 12px;
  outline: none;
}

.order-container input:focus, .order-container textarea:focus {
  border-color: #d4af37;
}

.order-container button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  background-color: #d4af37;
  color: #1a1a1a;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

.order-container button:hover {
  background-color: #b8962e;
}

/* FOOTER (Flex Only)  */
.footer {
  background: #1a1a20;
  color: white;
  width: 100%;
  padding: 40px 20px 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo {
  flex: 1 1 250px;
}

.footer-logo img {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.footer-logo p {
  color: #aaaaaa;
  line-height: 1.6;
  font-size: 15px;
}

.footer-contact, .footer-social {
  flex: 1 1 150px;
}

.footer-contact h3, .footer-social h3 {
  color: #d4af37;
  font-size: 20px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-contact p {
  margin: 8px 0;
  color: #cccccc;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #d4af37;
  color: #1a1a20;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: black;
  transform: translateY(-3px);
}

.footer-bottom {
  width: 100%;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 14px;
  color: #888;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo, .footer-contact, .footer-social {
    flex: 1 1 100%;
  }
  .social-icons {
    justify-content: center;
  }
}