/* FILE: style.css */

/* General Reset & Body */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Poppins', sans-serif;}
body { background:#b7bfc1; color:#111; }

/* === Global Font Styles (for all pages) === */
body {
  font-family: 'Poppins', sans-serif;
  color: #111;
  line-height: 1.6;
  background-color: #b7bfc1;
}

/* Headings use elegant serif font */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

/* Normal text and links */
p, a, li, span {
  font-family: 'Poppins', sans-serif;
}

/* --- Existing CSS below --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* === End Global Font Styles (for all pages) === */

/* HEADER */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background-color: #000;
  color: rgb(255, 2, 2);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.navbar .logo img {
  height: 60px;
  width: auto;
}

/* Navbar links (Home / Men / Women / Login) */
.navbar nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;   /* normal weight */
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: #bbb;
}


.navbar nav a.active {
  border-bottom: 2px solid #007aff;
}

.navbar nav a.back-btn-link {
  color: #1e6ec5;
  margin-right: 15px;
}

.navbar nav a.back-btn-link:hover {
  text-decoration: underline;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

@media(max-width: 768px){
  .navbar nav {
    display: none;
    flex-direction: column;
    background: #000;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 10px 0;
  }
  .navbar nav a {
    margin: 10px 0;
    text-align: center;
    font-size: 18px;
  }
  .navbar nav.active {
    display: flex;
  }
  .hamburger { display: block; }
}

/* HERO SECTION */ 
/* Background images for men and women sections */
.hero {
  text-align: center;
  padding: 120px 20px;
  background:#111;
  color:#fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

/* End for background images */

.hero-content { max-width: 700px; z-index: 2; }

.hero-buttons {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  background:#0f73dd;
  color:#fff;
  padding:10px 25px;
  border-radius:25px;
  text-decoration:none;
  transition:0.3s;
}
.btn:hover { background:#005fca; }

/* COLLECTIONS */
.collections h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin: 50px 0 30px 0;
  color: #111;
}

.collection-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 20px 50px 20px;
}

.collection-card {
  width: 300px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s;
}
.collection-card:hover { transform: translateY(-8px); }

.collection-card img {
  width: 100%;
  height: 75%;
  object-fit: cover;
}

.collection-card h3 {
  padding: 10px;
  color: #111;
  font-size: 20px;
  font-weight: 600;
}


/* PRODUCT GRID */
.product-grid {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:30px;
  padding:50px;
}
.product-card {
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  width:260px;
  text-align:center;
  transition:0.3s;
}
.product-card:hover { transform:scale(1.03); }
.product-card img { width:100%; border-bottom:1px solid #eee; }
.product-card h3 { margin:10px 0 5px; }
.product-card p { margin-bottom:15px; color:#007aff; font-weight:600; }

/* FOOTER */
html, body { height: 100%; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

.footer {
  background: #111;
  color: #fff;
  padding: 60px 
  0px;
  font-size: 14px;
  flex-shrink: 0;
}
.footer-about p { max-width: 300px; line-height: 1.6; margin:0; white-space: normal; }
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.footer h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; }
.footer p { line-height: 1.6; }
.footer ul { list-style: none; padding:0; margin:0; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: #fff; text-decoration: none; }
.footer ul li a:hover { text-decoration: underline; }
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid #ffffff;
  padding-top: 20px;
  font-size: 13px;
}

/* Mobile footer */
@media(max-width:768px){
  .footer-container{ flex-direction: column; gap: 20px; }
}

/* BACK BUTTON */
.back-btn { margin: 20px 40px; }
.back-btn a { text-decoration: none; color: #007aff; font-weight: 600; }
.back-btn a:hover { text-decoration: underline; }

/* ACCOUNT SECTION */
.account-section {
  max-width: 1000px;
  margin: 50px auto;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}
.account-section h1 { width: 100%; text-align: center; font-size: 32px; margin-bottom: 40px; color: #111; }
.account-form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 400px;
}
.account-form h2 { font-size: 24px; margin-bottom: 20px; color: #007aff; }
.account-form label { display: block; margin-bottom: 5px; font-weight: 600; }
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.account-form .btn {
  width: 100%;
  padding: 12px;
  background: #007aff;
  color: #fff;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.account-form .btn:hover { background: #005fca; }
.remember-me { margin-bottom: 20px; }
.forgot-password, .privacy-note { font-size: 13px; margin-top: 10px; }
.account-form p a { color: #007aff; text-decoration: none; }
.account-form p a:hover { text-decoration: underline; }

/* MEDIA QUERIES */
@media(max-width:900px){
  .account-section { flex-direction: column; align-items: center; }
  .account-form { width: 90%; }
}
@media (max-width: 768px) {
  .collection-grid { gap: 20px; padding: 0 10px 30px 10px; }
  .collection-card { width: 48%; height: auto; }
  .collections h2 { font-size: 24px; margin: 40px 0 20px 0; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 16px; }
  .hero-buttons a.btn { padding: 8px 20px; font-size: 14px; }
}
@media (max-width: 480px) {
  .collection-card { width: 100%; margin-bottom: 20px; }
  .hero-content h1 { font-size: 24px; }
  .hero-content p { font-size: 14px; }
}
 /* STYLE.CSS END */

 /* MOBILE ONLY STYLING */
@media (max-width: 768px) {

  /* Logo center in navbar */
  .navbar {
    justify-content: center;  /* logo horizontally center */
    position: relative;
  }

  .navbar .logo {
    order: 1;  /* logo pehle aaye */
  }

  /* Hamburger on right side */
  .hamburger {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
  }

  /* Nav links dropdown styling */
  .navbar nav {
    display: none;               /* initially hidden */
    flex-direction: column;
    position: absolute;
    top: 60px;                   /* below navbar */
    right: 0;                     /* align to right */
    background: #111;             /* black dropdown background */
    width: 200px;                 /* dropdown width */
    border-radius: 5px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    font-size: 14px;             /* text smaller */
  }

  .navbar nav.active {
    display: flex;               /* show on toggle */
  }

  .navbar nav a {
    padding: 8px 15px;           /* link padding */
    font-size: 14px;             /* text smaller */
    text-align: left;            /* text left aligned */
    color: #fff;
  }

  .navbar nav a:hover {
    background: #222;            /* hover effect */
  }
}
/* MOBILE ONLY STYLING END */


footer {
  background-color: #000;
  color: #fff;
  padding: 70px 60px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.9;
}

footer h3 {
  font-family: 'Playfair Display', serif; /* elegant and clean */
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

footer p, footer a {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid #333;
  padding-top: 30px;
  font-size: 17px;
  color: #ddd;
  font-weight: 500;
  letter-spacing: 0.8px;
  font-family: 'Playfair Display', serif;
}
/* Footer End*/

