/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

/* HEADER */
header {
  background: #111;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 55px;
  transition: transform .3s;
}
.logo-img:hover{
  transform: scale(1.05);
}

h1 a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  letter-spacing: 1px;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease;
}

nav a:hover {
  color: #ffbf00;
}

/* MOBILE MENU */
.menu-btn {
  display: none;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(
      rgba(0,0,0,0.2),
      rgba(0,0,0,0.2)
    ),
    url('https://images.unsplash.com/photo-1607082349566-1873428d7c53') center/cover no-repeat;
  text-align: center;
  padding: 5rem 2rem;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 10px black;
}

.hero p {
  color: #ffe9a1;
  font-size: 1.3rem;
  margin-top: .5rem;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  background: #ffbf00;
  padding: .8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  color: #111;
  text-decoration: none;
  transition: .3s;
}

.btn:hover {
  background: #222;
  color: #ffbf00;
}

/* CATEGORIES */
.categories {
  padding: 3rem 2rem;
  text-align: center;
}

.categories h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #111;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card-body p {
  font-size: 1.1rem;
  font-weight: 700;
}

/* OFFERS */
.offers {
  background: #ffbf00;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  margin: 2rem;
  color: #111;
}

.offers a {
  background: #111;
  color: #fff;
}
.offers a:hover {
  color: #ffbf00;
}

/* WHY US */
.why-us {
  padding: 3rem 2rem;
  text-align: center;
}

.feature {
  background: white;
  padding: 1.5rem;
  margin: 1rem auto;
  width: 90%;
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
  background: #111;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  margin-top: 3rem;
  border-top: 4px solid #ffbf00;
}

/* MOBILE */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #111;
    width: 220px;
    position: absolute;
    right: 0;
    top: 70px;
    padding: 1rem 0;
    border-left: 1px solid #333;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}
