*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif}
body{
  color:#fff;
  background:
    linear-gradient(rgba(0,0,0,.85),rgba(0,0,0,.85)),
    url('images/cafebackgroumd4.jpeg');
  background-size:cover;
  background-position:center;
  background-attachment:fixed;   /* makes it stay while scrolling */
}




/* NAVBAR */
header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:25px 60px;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(10px);
}
.logo{
  font-family:'Orbitron',sans-serif;
  font-size:26px;
  font-weight:800;
}
.logo span{color:#c97c5d;text-shadow:0 0 15px #c97c5d}

nav a{
  margin:0 10px;
  text-decoration:none;
  color:#ccc;
  padding:10px 18px;
  border-radius:25px;
  transition:.3s;
}
nav a:hover{
  background:#c97c5d;
  color:#000;
  box-shadow:0 0 20px rgba(201,124,93,.9);
}

/* HERO */
.hero{
  min-height:90vh;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  align-items:center;
  padding:60px;
  position:relative;

  animation: heroSlide 10s infinite;
  background-size:cover;
  background-position:center;
}
@keyframes heroSlide{

  0%{
    background:
      linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
      url('images/cafebackground1.jpeg');
  }

  50%{
    background:
      linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
      url('images/cafebackground2.jpeg');
  }

  100%{
    background:
      linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
      url('images/cafebackgroumd3.jpeg');
  }
}

.hero-content,.hero-img{position:relative;z-index:1}

.hero h1{
  font-size:64px;
  line-height:1.1;
}
.hero h1 span{
  color:#c97c5d;
  text-shadow:0 0 25px #c97c5d;
}

.hero p{margin:20px 0;color:#ddd;max-width:420px}

.price{
  font-size:40px;
  color:#ff9f68;
  margin-bottom:30px;
  text-shadow:0 0 25px #ff9f68;
}

.btn{
  background:#c97c5d;
  padding:14px 34px;
  border-radius:30px;
  text-decoration:none;
  color:#000;
  font-weight:600;
  transition:.3s;
}
.btn:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 35px rgba(201,124,93,.8);
}

.hero-img img{
  width:100%;
  max-width:420px;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.8));
}

footer{
  text-align:center;
  padding:30px;
  color:#777;
}
.category-nav{
  position:sticky;
  top:0;
  z-index:999;
  display:flex;
  justify-content:center;
  gap:20px;
  padding:18px;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(10px);
}

.category-nav a{
  text-decoration:none;
  color:#fff;
  padding:10px 22px;
  border-radius:25px;
  background:#140f0a;
  transition:.3s;
  box-shadow:0 0 15px rgba(201,124,93,.3);
}

.category-nav a:hover{
  background:#c97c5d;
  color:#000;
  box-shadow:0 0 30px rgba(201,124,93,.9);
}
.coffee-section{
  padding:90px 60px;
  background:#0b0a08;
  text-align:center;
}

.coffee-section h2{
  font-size:38px;
  margin-bottom:50px;
  color:#c97c5d;
  text-shadow:0 0 25px #c97c5d;
}

.coffee-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:35px;
}

.coffee-card{
  background:#140f0a;
  padding:22px;
  border-radius:20px;
  transition:.35s;
  box-shadow:0 0 20px rgba(0,0,0,.8);
}

.coffee-card:hover{
  transform:translateY(-10px);
  box-shadow:0 0 40px rgba(201,124,93,.8);
}

.coffee-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:15px;
  margin-bottom:15px;
}

.coffee-card h4{
  margin-bottom:6px;
}

.coffee-card span{
  color:#ff9f68;
  font-weight:600;
  text-shadow:0 0 15px #ff9f68;
}

.promo-section{
  min-height:80vh;
  background:
    linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.75)),
    url('PASTE-BACKGROUND-IMAGE-LINK-HERE');
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.promo-overlay h2{
  font-size:48px;
  color:#c97c5d;
  text-shadow:0 0 30px #c97c5d;
}

.promo-overlay p{
  margin-top:15px;
  color:#ddd;
  font-size:18px;
}

a, button{
  -webkit-tap-highlight-color:transparent;
}  
html{
  scroll-behavior:smooth;
}
 img{
  max-width:100%;
  display:block;
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 900px){

  header{
    padding:18px 25px;
    flex-wrap:wrap;
  }

  nav{
    width:100%;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:12px;
  }

  nav a{
    margin:6px;
    padding:8px 16px;
    font-size:14px;
  }

  .hero{
    grid-template-columns:1fr;
    text-align:center;
    padding:80px 25px 60px;
  }

  .hero h1{
    font-size:42px;
  }

  .hero p{
    max-width:100%;
    font-size:15px;
  }

  .price{
    font-size:30px;
  }

  .hero-img{
    margin-top:30px;
  }

  .hero-img img{
    max-width:280px;
    margin:auto;
  }

  .category-nav{
    gap:10px;
    flex-wrap:wrap;
    padding:12px;
  }

  .category-nav a{
    padding:8px 16px;
    font-size:14px;
  }

  .coffee-section{
    padding:70px 25px;
  }

  .coffee-section h2{
    font-size:28px;
  }

  .coffee-grid{
    gap:22px;
  }

  .coffee-card img{
    height:180px;
  }

  .promo-overlay h2{
    font-size:32px;
  }

  .promo-overlay p{
    font-size:15px;
  }

}

/* EXTRA SMALL PHONES */

@media (max-width: 480px){

  .hero h1{
    font-size:34px;
  }

  .price{
    font-size:26px;
  }

  .btn{
    padding:12px 26px;
    font-size:14px;
  }

  header{
    padding:15px 18px;
  }

  .logo{
    font-size:22px;
  }

}
