/* Header dan Navigasi */
:root {
  /* Primary & Secondary (earth tone) */
  --primary-color: #3b3a36; /* charcoal brown */
  --secondary-color: #8b5a3c; /* warm brown / leather */
  --accent-color: greenyellow;

  /* Light & Dark */
  --light-color: #f3efe9; /* warm ivory */
  --dark-color: #2f2e2b; /* dark brown */

  /* Text */
  --text-color: #3f3d3a; /* soft dark gray */
  --text-light: #7a7670; /* muted gray */

  /* Shadows (soft & vintage) */
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.18);

  /* Gradients (subtle & warm) */
  --gradient-primary: linear-gradient(135deg, #3b3a36 0%, #5a584f 100%);
  --gradient-accent: linear-gradient(135deg, #b07a4a 0%, #c49563 100%);
}

header {
  background: linear-gradient(rgba(77, 41, 0, 0.37), rgba(78, 44, 0, 0.377)),
    url("../img/background-vintage.jpg") center/cover no-repeat;
  color: white;
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  background: var(--accent-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1rem;
  display: flex;
  align-items: center;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-size: 0.85rem;
}

nav ul li a:hover {
  color: white;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li a:hover::after {
  width: 100%;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12)),
    var(--secondary-color);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  color: white;
  padding: 4px 8px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
  transform: translateY(-3px);
}

.cta-button:hover::before {
  left: 100%;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  z-index: 200;
  padding: 0;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger active animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

footer {
  background: linear-gradient(rgba(77, 41, 0, 0.37), rgba(78, 44, 0, 0.377)),
    url("../img/background-vintage.jpg") center/cover no-repeat;
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(78, 205, 196, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.footer-section ul li a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section ul li a:hover::before {
  width: 100%;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 1300px) {
  .logo {
    font-size: 1.2rem;
  }
}

@media (max-width: 1150px) {
  header {
    padding: 0.8rem 0;
  }
  .logo {
    font-size: 0.9rem;
  }
  .nav-container {
    flex-direction: row;
    align-items: center;
  }
  .hamburger {
    display: flex;
  }
  nav {
    position: absolute;
    top: 58px;
    right: 0;
    background: linear-gradient(rgba(77, 41, 0, 0.37), rgba(78, 44, 0, 0.377)),
      url("../img/background-vintage.jpg") center/cover no-repeat;
    width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 0 12px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
  }
  nav.active {
    transform: translateX(0);
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem;
    margin: 0;
    gap: 1rem;
  }
  nav ul li {
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Keyframe Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
