/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 70px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 60px;
  border-radius: 50%;
}

.logo h2 {
  margin-left: 10px;
  color: #6f4e37;
  font-size: 24px;
  font-weight: bold;
}

.navbar {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #6f4e37;
  font-weight: bold;
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #d9a066;
}

.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(to right, #6f4e37, #d9a066);
  transition: width 0.4s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* ===== NAV ICONS ===== */
.nav-icons {
  display: flex;
  gap: 20px;
}

.nav-icons a {
  position: relative;
  text-decoration: none;
  color: #5d4037;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-icons a:hover {
  color: #d9a066;
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px) scale(1.2); }
}

.nav-icons .badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #aca09c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.profile-icon:hover {
  background: #8d6e63;
  transform: rotate(10deg) scale(1.1);
}

/* ===== MENU ICON ===== */
.menu-icon {
  display: none;
  font-size: 30px;
  color: #6f4e37;
  cursor: pointer;
}

/* ===== SECTION HEADINGS ===== */
section h2 {
  font-size: 2.5rem;
  color: #6f4e37;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
  position: relative;
  transition: transform 0.3s ease;
}

section h2:hover {
  transform: scale(1.02);
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #6f4e37, #d9a066);
  border-radius: 2px;
  transition: width 0.3s ease;
}

section h2:hover::after {
  width: 100px;
}

/* ===== ABOUT / BENEFIT CONTENT ===== */
.about-content,
.benefit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-content img,
.benefit-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.about-content img:hover,
.benefit-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-text,
.benefit-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.about-text p,
.benefit-text p {
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.about-text p:hover,
.benefit-text p:hover {
  color: #6f4e37;
}

/* ===== COFFEE GRID ===== */
.coffee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.coffee-item {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.coffee-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.coffee-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.coffee-item:hover img {
  transform: scale(1.05);
}

.coffee-item h3 {
  font-size: 1.3rem;
  color: #6f4e37;
  margin-bottom: 10px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.coffee-item:hover h3 {
  color: #d9a066;
}

.coffee-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.coffee-item:hover p {
  color: #555;
}

/* ===== BENEFITS LIST ===== */
.coffee-benefits ul,
.promotions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coffee-benefits li,
.promotions li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding: 12px 15px;
  background: rgba(111, 79, 55, 0.05);
  border-radius: 10px;
  font-size: 16px;
  color: #555;
  transition: all 0.3s ease;
}

.coffee-benefits li:hover,
.promotions li:hover {
  background: rgba(111, 79, 55, 0.1);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.coffee-benefits li i,
.promotions li i {
  font-size: 20px;
  color: #6f4e37;
  width: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.coffee-benefits li:hover i,
.promotions li:hover i {
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
  background: #6f4e37;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-out forwards;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

footer ul li a {
  color: white;
  font-size: 24px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

footer ul li a:hover {
  transform: scale(1.3) rotate(-10deg);
  color: #ffcc70;
  text-shadow: 0 0 10px rgba(255, 204, 112, 0.8);
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .navbar.show {
    display: flex;
  }

  .menu-icon { 
    display: block;
  }

  .nav-icons {
    display: none;
  }

  .about-content,
  .benefit-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }

  footer ul {
    justify-content: center;
    flex-wrap: wrap; /* allow icons wrap */
  }

  footer .left,
  footer .right {
    font-size: 0.9rem;
  }
}
