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

body {
  width: 100%;
  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;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url("../img/service/imgbackground.png") no-repeat center/cover;
  color: #fff;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  animation: fadeIn 1s ease forwards;
}
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;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

.hero .btn {
  text-decoration: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  background: linear-gradient(45deg, #6f4e37, #d9a066);
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(111, 78, 55, 0.6);
}

/* ===== SERVICES ===== */
.services {
  padding: 60px 20px;
  text-align: center;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #6f4e37;
  animation: slideUp 1s ease forwards;
}

.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card h3 {
  color: #6f4e37;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  margin-bottom: 10px;
}

.price-star {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.price {
  color: #d9a066;
  font-weight: bold;
}

.stars i {
  color: #ffcc70;
}

.order-btn {
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background: linear-gradient(45deg, #6f4e37, #d9a066);
  color: white;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(111, 78, 55, 0.6);
}

/* ===== FEATURES ===== */
.features {
  padding: 60px 20px;
  text-align: center;
}

.features h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #6f4e37;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.feature {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature img {
  border-radius: 5px;
  width: 240px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 10px;
}

.feature h3 {
  margin-bottom: 10px;
  color: #6f4e37;
}

.feature:hover {
  transform: translateY(-8px) scale(1.03);
}

/* ===== 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);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  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;
  }
}
@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;
  }
}
