* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #fafafa;
  color: #333;
}

/* ================= NAVBAR ================= */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: #c97a7a;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
}

.nav-links a:hover {
  color: #c97a7a;
}

.nav-icons span {
  margin-left: 15px;
  cursor: pointer;
}

/* Hamburger */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #333;
  margin: 4px 0;
}
.cart-icon {
  position: relative;
  font-size: 22px;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  display: none;
}

/* ================= HERO ================= */
.hero-exact {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-exact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center; /* ← shifts image left */
  animation: fadeUp 1.2s ease forwards;
}

.hero-text {
  position: absolute;
    top: 10%;
    left: 0%;
  transform: translateY(-50%);
  max-width: 520px;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-text h1 {
  font-size: 56px;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: #4a5a6a;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 20px;
  color: #6a7a88;
  margin-bottom: 28px;
}

.hero-text button {
  padding: 14px 36px;
  background: #b97474;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

/* ================= CATEGORIES ================= */
.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 60px;
  padding-top: 10px;
}

.category-card {
  background: #f3e6e6;
  padding: 60px;
  border-radius: 20px;
}

.category-card.shoes {
  background: #e6f0f3;
}

/* ================= PRODUCTS ================= */
.products {
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 0px;
  padding-top: 30px;
}

.products h2 {
  text-align: center;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.product-card p {
  color: #c97a7a;
  font-weight: bold;
}

/* ================= PROMO ================= */
.promo {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  background: #fff;
  padding: 30px;
  text-align: center;
  font-weight: bold;
}

/* FOOTER */
.footer {
  background: #0b1b67;
  color: #ccc;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 8px;
}

copyright {
  text-align: center;
}

/* ================= ANIMATION ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  .navbar {
    padding: 16px 20px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }

  .hamburger {
    display: flex;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }
}

@media (max-width: 600px) {

  .categories {
    display: none;
  }

  .hero-text {

    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
    
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 15px;
  }

    .hero-exact img {
    object-position: 60% center;
    
  }
  .hero-exact {
    position: relative;
    width: 100%;
    height: 68vh;
    overflow: hidden;
  }
}


