/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  width: 100%;
  height: auto;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.header #menu-icon {
  font-size: 24px;
  color: #000;
  cursor: pointer;
  display: none;
}

.navbar {
  display: flex;
  list-style: none;
  gap: 20px;
}

.navbar li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar li a:hover {
  color: #08752e;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 5%;
  background-color: #fff;
  flex-wrap: wrap;
}

.home-content {
  flex: 1;
  padding: 20px;
}

.home-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #777;
}

.home-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #08752e;
}

.home-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
}

.home-content .btn {
  text-decoration: none;
  background-color: #08752e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.home-content .btn:hover {
  background-color: #08752e;
}

.home-img {
  flex: 1;
  text-align: center;
  margin-top: 20px;
}

.home-img img {
  width: 80%;
  max-width: 350px;
  border-radius: 10px;
  border: 5px solid #08752e;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .home-img img {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .home-img img {
    max-width: 90%;
  }
}


/* Social Media Icons */
.social.media {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social.media a {
  font-size: 24px;
  color: #333;
  transition: color 0.3s;
}

.social.media a:hover {
  color: #08752e;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header {
    padding: 20px;
  }

  .navbar {
    display: none;
  }

  .header #menu-icon {
    display: block;
  }

  .home {
    padding: 30px;
    flex-direction: column;
    text-align: center;
  }

  .home-content h1 {
    font-size: 36px;
  }

  .home-img img {
    width: 90%;
  }

  .navbar.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 50px;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 768px) {
  .home {
    flex-direction: column;
  }

  .home-content h1 {
    font-size: 32px;
  }

  .home-img img {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .home-content h1 {
    font-size: 28px;
  }

  .home-content p {
    font-size: 14px;
  }

  .home-img img {
    width: 100%;
    max-width: 250px;
  }
}


/* General Reset */
body, ul, h1, h2, h3, p {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  background-image: url('background\ kopsup.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0 0;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    animation: none;
    background-size: contain;
  }
}

@media (max-width: 480px) {
  body {
    background-size: auto 100%;
    background-position: center;
  }
}


/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.7);
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
}

.navbar .nav-links li {
  margin: 0 15px;
}

.navbar .nav-links a {
  color: white;
  transition: color 0.3s;
}


/* Menu Section */
.menu-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.menu-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  animation: fadeIn 1s ease-in-out;
}

.menu-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  opacity: 0;
  animation: slideIn 0.5s ease-in-out forwards;
  transition: transform 0.3s ease;
}

.menu-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.menu-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin: 10px 0;
}

.menu-item p {
  font-size: 1rem;
  color: #777;
  margin: 10px 0;
}

.menu-item .price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #e0a96d;
  margin-top: 10px;
  transition: color 0.3s ease;
}

/* Efek Hover */
.menu-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.menu-item:hover .price {
  color: #08752e;
}

/* Efek Klik */
.menu-item:active {
  transform: scale(0.98); /* Perkecil sedikit saat ditekan */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Animasi: Fade In dan Slide In */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .menu-section h2 {
    font-size: 1.5rem;
  }

  .menu-item h3 {
    font-size: 1.2rem;
  }

  .menu-item p {
    font-size: 0.9rem;
  }

  .menu-item .price {
    font-size: 1rem;
  }
}


/* Location Section */
#location {
  text-align: center;
  padding: 30px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 30px auto;
  border-radius: 10px;
}

#location h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

#location p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

/* Map Container */
.map-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Rasio aspek 16:9 */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



/*about*/
.about-section {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px;
    background-color: #f9f9f9;
  }
  
  .about-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: bolder;
    text-align: center;
  }
  
  .about-section p {
    font-size: 20px;
    color: #0d0d0d;
    line-height: 1.6;
    margin-top: 10px;
    text-align: center;
    width: 80%; 
  }
  
  .about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .about-section img {
    width: 25%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 1s ease;
  }
  
  .about-section img:hover {
    transform: translateX(20px);
  }
  
  @keyframes move-center {
    0% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(20px);
    }
    100% {
      transform: translateX(0);
    }
  }
  
  .about-section img.animate {
    animation: move-center 2s infinite;
  }
  
  
  @media (max-width: 768px) {
    .about-section {
      flex-direction: column;
      padding: 30px;
    }
  
    .about-section h2 {
      font-size: 24px; 
    }
  
    .about-section p {
      width: 90%; 
      font-size: 14px; 
    }
  
    .about-section img {
      width: 80%; 
    }
  }
  
  @media (max-width: 480px) {
    .about-section h2 {
      font-size: 20px;
    }
  
    .about-section p {
      width: 90%;
      font-size: 12px;
    }
  
    .about-section img {
      width: 90%;
    }
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .about {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
    background-color: #d4e485;
  }
  
  .about-btn {
    flex: 1;
    min-width: 280px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #9ba986;
    box-sizing: border-box;
  }
  
  .about-btn h2 {
    font-size: 18px;
    color: #333;
    font-weight: normal;
    text-align: center;
  }
  
  @media (max-width: 768px) {
    .about {
      flex-direction: column;
      text-align: center;
    }
  
    .about-btn {
      margin-bottom: 20px;
    }
  
    .about-btn h2 {
      font-size: 16px;
    }
  }
  

/* Copyright */
footer {
  text-align: center;
  padding: 20px 0;
  background-color: #f1eaea;
  color: #333333;
  font-size: 14px;
  border: 1px solid #ccc;
  width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
}


  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        padding: 10px 20px;
    }
  
    .menu-container {
        flex-direction: column;
        align-items: center;
    }
  
    .menu-item {
        width: 90%;
    }
  
    .hero-content h1 {
        font-size: 2.5rem;
    }
  
    .hero-content p {
        font-size: 1rem;
    }
  
    .hero-content .btn {
        font-size: 0.9rem;
    }
  }
  
  @media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
  
    .menu-item {
        width: 100%;
    }
  
    .hero-content h1 {
        font-size: 2rem;
    }
  }
  
  .container {
    color: white; 
    text-align: center; 
    padding: 20px;
  }
  