@import url("https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");
/* https://colorhunt.co/palette/537d5d73946b9ebc8ad2d0a0 */
/* https://colorhunt.co/palette/626f47a4b465f5ecd5f0bb78 */

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

:root {
  /* color */
  --white-color: #fff;
  --dark-color: #252525;
  --primary-color: #bbd8a3;
  --secondary-color: #bf9264;
  --light-pink-color: #faf4f5;
  --medium-gray-color: #ccc;
  --nav-color: #626f47;
  --text-color: #fff;
  --card-bg: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  /* Font size */
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;

  /* Font weight */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border radius */
  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site max width */
  --site-max-width: 1300px;
}

/* Base Style */
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  width: 100%;
}

.section-content {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1300px;
}

.section-title {
  text-align: center;
  padding: 60px 0 100px;
  text-transform: uppercase;
  font-size: var(--font-size-xl);
  color: var(--nav-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.darkmode {
  --white-color: #fff;
  --dark-color: #252525;
  --primary-color: #626f47;
  --secondary-color: #f0bb78;
  --light-pink-color: #faf4f5;
  --medium-gray-color: #ccc;
  --nav-color: #f5ecd5;
  --text-color: #252525;
  --card-bg: #2a2a2a;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Navbar */
header {
  position: fixed;
  width: 100%;
  z-index: 5;
  background: var(--primary-color);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

header .navbar {
  display: flex;
  padding: 15px 20px;
  align-items: center;
  justify-content: space-between;
}

.navbar .nav-logo .logo-text {
  color: var(--nav-color);
  font-size: 2rem;
  font-weight: 600;
}
.navbar .nav-menu {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.navbar .nav-menu .nav-link {
  padding: 10px 18px;
  color: var(--nav-color);
  font-size: 1.12rem;
  border-radius: 30px;
  transition: 0.3s ease;
  font-weight: 500;
}

.navbar .nav-menu .nav-link:hover {
  color: var(--white-color);
  background: var(--secondary-color);
  transform: translateY(-2px);
}

#menu-open-button svg,
#menu-close-button svg,
#theme-switch svg {
  width: 24px;
  height: 24px;
}

#menu-open-button svg {
  fill: var(--white-color);
}
#menu-close-button svg {
  fill: var(--dark-color);
}

#menu-open-button,
#menu-close-button,
#theme-switch {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar :where(#menu-close-button, #menu-open-button) {
  display: none;
}

#theme-switch {
  height: 45px;
  width: 45px;
  border-radius: var(--border-radius-circle);
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

#theme-switch:hover {
  transform: rotate(15deg) scale(1.1);
}

#theme-switch svg {
  fill: var(--primary-color);
}

#theme-switch svg:last-child {
  display: none;
}

.darkmode #theme-switch svg:first-child {
  display: none;
}

.darkmode #theme-switch svg:last-child {
  display: block;
}

/* hero section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  position: relative;
  overflow: hidden;
}

.darkmode .hero-section {
  background: var(--primary-color);
}

.hero-section .section-content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: var(--nav-color);
  justify-content: space-between;
}

.hero-section .hero-details .title {
  font-size: var(--font-size-xxl);
  color: var(--secondary-color);
  font-family: "Miniver", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .hero-details .subtitle {
  margin-top: 8px;
  max-width: 70%;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

.hero-section .hero-details .description {
  max-width: 80%;
  margin: 24px 0 40px;
  font-size: var(--font-size-m);
  line-height: 1.6;
}

.hero-section .hero-details .buttons {
  display: flex;
  gap: 20px;
}

.hero-section .hero-details .button {
  padding: 12px 30px;
  border: 2px solid transparent;
  color: var(--primary-color);
  border-radius: var(--border-radius-m);
  background: var(--secondary-color);
  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .contact-us {
  color: var(--white-color);
  border-color: var(--white-color);
  background: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero-section .hero-details .contact-us:hover {
  color: var(--primary-color);
  border-color: var(--secondary-color);
  background: var(--secondary-color);
}

.hero-section .hero-image-wrapper {
  max-width: 500px;
  margin-right: 30px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* about section */
.about-section {
  min-height: 100vh;
  padding: 220px 0;
  color: var(--nav-color);
  background: var(--primary-color);
}

.about-section .section-content {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.about-section .about-image-wrapper .about-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-circle);
  box-shadow: var(--shadow);
  border: 5px solid var(--white-color);
}

.about-section .about-details .section-title {
  padding: 0;
  text-align: left;
}

.about-section .about-details .section-title::after {
  left: 0;
  transform: none;
}

.about-section .about-details {
  max-width: 50;
}

.about-section .about-details .text {
  line-height: 30px;
  margin: 30px 0 30px;
  text-align: left;
  font-size: var(--font-size-m);
}

.about-section .social-link-list {
  display: flex;
  gap: 25px;
  justify-content: flex-start;
}

.about-section .social-link-list .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  background: var(--white-color);
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-section .social-link-list .social-link svg {
  width: 24px;
  height: 24px;
  fill: var(--nav-color);
  transition: 0.2 ease;
}

.about-section .social-link-list .social-link:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
}

.about-section .social-link-list .social-link:hover svg {
  fill: var(--white-color);
}

/* menu section */

.menu-section {
  min-height: 100vh;
  color: var(--nav-color);
  background: var(--primary-color);
  padding: 80px 0 100px;
}

.menu-section .menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  justify-content: center;
}

.menu-section .menu-list .menu-item {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: space-between;
  width: calc(100% / 2 - 40px);
  max-width: 400px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.menu-section .menu-list .menu-item:hover {
  transform: translateY(-10px);
}

.menu-section .menu-list .menu-item .menu-image {
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.1));
}

.menu-section .menu-list .menu-item .name {
  margin: 12px 0;
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-color);
}

.darkmode .menu-section .menu-list .menu-item .name {
  color: var(--white-color);
}

.menu-section .menu-list .menu-item .text {
  font-size: var(--font-size-n);
  color: #666;
  line-height: 1.6;
}

.darkmode .menu-section .menu-list .menu-item .text {
  color: #aaa;
}

/* contact section */

.contact-section {
  min-height: 100vh;
  color: var(--nav-color);
  background: var(--primary-color);
  padding: 80px 0 100px;
}

.contact-section .contact-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.contact-section .contact-info-list .contact-info {
  width: calc(33.33% - 20px);
  min-width: 250px;
  padding: 40px 25px;
  box-sizing: border-box;
  text-align: center;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.contact-section .contact-info-list .contact-info:hover {
  transform: translateY(-5px);
}

.contact-section .contact-info-list .contact-info p {
  padding-top: 20px;
  font-weight: 500;
  color: var(--dark-color);
}

.darkmode .contact-section .contact-info-list .contact-info p {
  color: var(--white-color);
}

.contact-section .contact-info-list .contact-info svg {
  width: 40px;
  height: 40px;
  fill: var(--secondary-color);
  margin-bottom: 10px;
}

/* Footer section styling */
.footer-section {
  padding: 30px 0;
  background: var(--dark-color);
}

.footer-section .section-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-section .copyright-text {
  color: var(--white-color);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* responsive styling */

@media screen and (max-width: 1024px) {
  .menu-section .menu-list {
    gap: 30px;
  }

  .menu-section .menu-list .menu-item {
    width: calc(50% - 30px);
  }
}

@media screen and (max-width: 900px) {
  :root {
    --font-size-m: 1rem;
    --font-size-l: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
  }

  .navbar :where(#menu-close-button, #menu-open-button) {
    display: block;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .navbar #menu-close-button {
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .navbar .nav-menu {
    display: block;
    position: fixed;
    left: -1000px;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    background: var(--white-color);
    transition: left 0.2s ease;
    z-index: 10;
  }

  body.show-mobile-menu .navbar .nav-menu {
    left: 0;
  }

  .navbar .nav-menu .nav-link {
    color: var(--dark-color);
    display: block;
    margin-top: 17px;
    font-size: var(--font-size-l);
  }

  .nav-right {
    margin-left: auto;
  }

  #theme-switch {
    margin-right: 20px;
    width: 40px;
    height: 40px;
  }

  .hero-section .section-content {
    gap: 50px;
    text-align: center;
    padding: 120px 20px 20px;
    flex-direction: column-reverse;
    justify-content: center;
  }

  .hero-section .hero-details :is(.subtitle, .description) {
    max-width: 100%;
  }

  .hero-section .hero-details .buttons {
    justify-content: center;
  }
  .hero-section .hero-image-wrapper {
    max-width: 270px;
    margin-right: 0;
  }

  .about-section .section-content {
    gap: 50px;
    flex-direction: column;
    text-align: center;
  }

  .about-section .about-details .section-title {
    text-align: center;
  }

  .about-section .about-details .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-section .about-details .text {
    text-align: center;
  }

  .about-section .social-link-list {
    justify-content: center;
  }

  .about-section .about-image-wrapper .about-image {
    width: 250px;
    height: 250px;
  }

  .contact-section .contact-info-list .contact-info {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .menu-section .menu-list .menu-item {
    width: 100%;
  }
}
