@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");


:root {
  --header-height: 3rem;

  --first-color: #e63214;
  --first-color-alt: #b8260e;
  --first-color-glow: rgba(230, 50, 20, 0.35);
  --title-color: #141414;
  --text-color: #5a5a5a;
  --text-color-light: #9a9a9a;
  --body-color: #f4f7f5;
  --container-color: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.72);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 48px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);

  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;


  --font-medium: 500;
  --font-semi-bold: 600;


  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*========== z index ==========*/

  
}

@media screen and (min-width: 768px){
  :root{
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

*,::before,::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body.dark-theme{
  --title-color: #f1f3f2;
  --text-color: #c7d1cc;
  --body-color: #1a1919;
  --container-color: #252121;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.5);
  background-image: none;
  background-color: var(--body-color);
}

.change-theme{
  position: absolute;
  right: 1rem;
  top: 1.8rem;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
}

body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(230, 50, 20, 0.06), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(20, 60, 40, 0.04), transparent 50%),
    linear-gradient(180deg, #f8faf9 0%, var(--body-color) 35%, #eef2ef 100%);
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,p,ul{
  margin: 0;
}

ul{
  padding: 0;
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}


.section{
  padding: 4.5rem 0 2.5rem;
}

.section-title, .section-subtitle{
  text-align: center;
  width: 100%;
}

.section-title{
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-3);
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-subtitle{
  display: block;
  color: var(--first-color);
  font-weight: 600;
  margin-bottom: var(--mb-1);
  text-align: center;
  font-size: var(--small-font-size);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}


.bd-container{
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.bd-grid{
  display: block;
}

.l-header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s ease;
}

.l-header.scrolled {
  background-color: rgba(248, 250, 249, 0.82) !important;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: var(--shadow-xs);
  opacity: 1 !important;
}

.l-header.scrolled .nav__link,
.l-header.scrolled .nav__logo,
.l-header.scrolled .nav__toggle {
  color: #707070;
  text-shadow: none;
}

@media screen and (max-width: 768px) {
  .nav__menu {
    background-color: transparent;
  }
  
  .l-header.scrolled .nav__menu {
    background-color: #FBFEFD !important;
    opacity: 1 !important;
    box-shadow: 0 4px 4px rgba(0,0,0,.1);
  }
  
  .l-header.scrolled .nav__item .nav__link {
    color: #707070;
  }
}

.nav{
  max-width: 1024px;
  width: calc(100% - 2rem);
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
  height: calc(var(--header-height) + 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

@media screen and (max-width: 768px){
  .nav__menu{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 0 1rem;
    text-align: center;
    background-color: transparent;
    transition: .3s;
    box-shadow: 0 4px 4px rgba(0,0,0,.1);
    border-radius: 0 0 1rem 1rem;
    z-index: var(--z-fixed);
  }
  
  .l-header.scrolled .nav__menu {
    background-color: var(--body-color);
  }
}

.nav__item{
  margin-bottom: 0;
}

.nav__link, .nav__logo, .nav__toggle{
  color: #707070;
  font-weight: var(--font-semi-bold);
  text-shadow: none;
  font-size: 1.2rem;
}

.nav__item > .nav__link {
  position: relative;
  padding: 0.35rem 0;
}

.nav__item > .nav__link:not(.active-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-out);
}

.nav__item > .nav__link:not(.active-link):hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav__item > .nav__link.active-link {
  color: var(--first-color);
}

.nav__logo:hover{
  color: var(--first-color);
}

.nav__link{
  transition: .2s;
}

.nav__link:hover{
  color: var(--first-color);
  text-shadow: none;
}

.nav__toggle{
  font-size: 1.3rem;
  cursor: pointer;
}

/* Show menu */
.show-menu{
  top: var(--header-height);
}

/* Active menu */
.active-link{
  color: var(--first-color);
}

/* Change background header */
.scroll-header{
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Scroll top */
.scrolltop{
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .55rem .65rem;
  background: linear-gradient(145deg, var(--first-color) 0%, var(--first-color-alt) 100%);
  border-radius: var(--radius-pill);
  z-index: var(--z-tooltip);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, bottom 0.3s ease, visibility 0.3s;
  visibility: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scrolltop:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--first-color-glow);
}

.scrolltop__icon{
  font-size: 1.75rem;
  color: #fff;
}


.show-scroll{
  visibility: visible;
  bottom: 1.5rem;
}


.home {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.home__container {
    width: 100vw;
    height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

.home__title {
    font-size: calc(var(--biggest-font-size) * 1.2);
    color: #fff;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 45%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.home__subtitle{
  font-size: calc(var(--h1-font-size) * 1.3);
  color: #fff;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 52%;
  z-index: 2;
  padding: 0 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.home__img{
  width: 300px;
  justify-self: center;
}


.button{
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--first-color) 0%, #c92a0c 100%);
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-pill);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), filter 0.25s ease;
  font-size: var(--normal-font-size);
  font-weight: 600;
  text-align: center;
  border: none;
  box-shadow: 0 4px 20px var(--first-color-glow);
}

.button:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(230, 50, 20, 0.4);
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(-1px);
}


.about__data{
  text-align: center;
}

.about__description{
  text-align: justify;
  line-height: 1.8;
  margin-bottom: var(--mb-4);
}

.about__description strong {
  color: var(--first-color);
  font-size: var(--h3-font-size);
  display: block;
  margin-top: 0.5rem;
}

.about__description em {
  font-style: italic;
  color: var(--text-color);
}

.about__img{
  width: 280px;
  border-radius: .5rem;
  justify-self: center;
}


.menu__container{
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
}

.menu__content{
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  border-radius: .5rem;
  box-shadow: 0 2px 4px rgba(3,74,40,.15);
  padding: .75rem;
}

.menu__img{
  align-self: center;
  margin-bottom: var(--mb-2);
}

.menu__name, .menu__preci{
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.menu__name{
  font-size: var(--normal-font-size);
}

.menu__detail, .menu__preci{
  font-size: var(--small-font-size);
}

.menu__detail{
  margin-bottom: var(--mb-1);
}

.menu__button{
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  padding: .625rem .813rem;
  border-radius: .5rem 0 .5rem 0;
}


.app__data{
  text-align: center;
}

.app__description{
  margin-bottom: var(--mb-5);
}

.app__stores{
  margin-bottom: var(--mb-4);
}

.app__store{
  width: 120px;
  margin: 0 var(--mb-1);
}

.app__img{
  width: 230px;
  justify-self: center;
}


.contact__container{
  text-align: center;
  margin-bottom: 20px;
}

.contact__description{
  margin-bottom: var(--mb-3);
}

.comment__section {
  text-align: center;
  padding: 20px;
  border-top: 2px solid #06782D;
  margin-top: 20px;
}

.comment__form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.comment__label {
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.comment__input {
  width: 80%;
  padding: 10px;
  border: 2px solid #06782D;
  border-radius: 8px;
  font-size: 16px;
  resize: none;
}

.comment__button {
  background-color: #06782D;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.comment__button:hover {
  background-color: #045A21;
}


/*========== FOOTER ==========*/
.footer {
    position: relative;
    background: linear-gradient(165deg, #1e1e1e 0%, #2a2a2a 48%, #1a1a1a 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--first-color) 45%, var(--first-color-alt) 55%, transparent 100%);
    opacity: 0.95;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo {
    margin-bottom: 1rem;
}

.footer__logo img {
    filter: brightness(0) invert(1);
}

.footer__description {
    color: #cccccc;
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer__title {
    color: #ffffff;
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
    text-align: left;
}

.footer__list {
    list-style: none;
    padding: 0;
}

.footer__list li {
    color: #cccccc;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__list i {
    color: var(--first-color);
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer__social-link {
    display: inline-flex;
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s var(--ease-out);
}

.footer__social-link:hover {
    color: var(--first-color);
    transform: translateY(-3px);
}

.footer__admin {
    color: #cccccc;
    font-size: var(--small-font-size);
    text-decoration: underline;
    transition: 0.3s;
}

.footer__admin:hover {
    color: var(--first-color);
}

.footer__copy {
    text-align: center;
    font-size: var(--small-font-size);
    color: #999999;
    margin-top: 4rem;
    border-top: 1px solid #444444;
    padding-top: 2rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 350px) {
    .footer__container {
        grid-template-columns: 1fr;
    }
}

/*========== MEDIA QUERIES ==========*/
@media screen and (min-width: 576px){
  .home__container,
  .about__container,
  .app__container{
    grid-template-columns: repeat(2,1fr);
    align-items: center;
  }

  .about__data, .about__initial,
  .app__data, .app__initial,
  .contact__container, .contact__initial{
    text-align: initial;
  }

  .about__img, .app__img{
    width: 380px;
    order: -1;
  }

  .contact__container{
    grid-template-columns: 1.75fr 1fr;
    align-items: center;
    margin-bottom: 20px;
  }
  .contact__button{
    justify-self: center;
  }
}

@media screen and (min-width: 768px){
  body{
    margin: 0;
  }

  .section{
    padding-top: 8rem;
  }

  .nav{
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list{
    display: flex;
  }
  .nav__item{
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }
  .nav__toggle{
    display: none;
  }

  .change-theme{
    position: initial;
    margin-left: var(--mb-2);
  }

  .home__container{
    height: 100vh;
    justify-items: center;
  }

  .services__container,
  .menu__container{
    margin-top: var(--mb-6);
  }

  .menu__container{
    grid-template-columns: repeat(2, 210px);
    column-gap: 4rem;
  }
  .menu__content{
    padding: 1.5rem;
  }


  .app__store{
    margin: 0 var(--mb-1) 0 0;
  }
}

@media screen and (min-width: 960px){
  .bd-container{
    margin-left: auto;
    margin-right: auto;
  }

  .home__img{
    width: 500px;
  }

  .about__container,
  .app__container{
    column-gap: 7rem;
  }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
    .home__container {
        height: 640px;
    }
}

.comments-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  border: 2px solid #06782D; /* Menggunakan warna tema */
}

.comment-container {
  display: flex;
  justify-content: center;
  padding: 15px;
  margin-bottom: 15px;
}

.comment-card {
  background-color: #fff;
  padding: 20px;
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #06782D; /* Warna tema */
}

.comment-text {
  font-size: 1em;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
}

.comment-date {
  font-size: 0.85em;
  color: #777;
  font-style: italic;
}

/* Slideshow styles */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.mySlides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Sembunyikan semua slide */
}

.mySlides.active {
    display: block; /* Tampilkan slide aktif */
}

.slideshow__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* The dots/bullets/indicators */
.dots-container {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: rgba(228, 47, 15, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer; /* Menunjukkan bahwa bisa diklik */
}

.dot:hover {
    background-color: rgba(228, 47, 15, 0.6); /* Efek hover */
}

.active {
    background-color: var(--first-color); /* Menggunakan warna tema merah */
}

/* Adjust about section margin */
.about.section {
    margin-top: 0;
    padding-top: var(--mb-6);
}

/* Adjust about section to use normal container */
.about.section.bd-container {
    max-width: 2200px;
    width: calc(100% - 2rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
}

/* Update slideshow styles */
.mySlides.first-slide .slideshow__img {
    filter: blur(4px);
    transform: scale(1.1); /* Menghindari tepi blur yang terlihat */
}

/* Update first slide styles */
.mySlides.first-slide {
    position: relative;
}

/* Pertahankan blur effect */
.mySlides.first-slide .slideshow__img {
    filter: blur(4px);
    transform: scale(1.1); /* Menghindari tepi blur yang terlihat */
}

/* Perkuat text shadow untuk keterbacaan */
.home__title, .home__subtitle {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Sedikit lebih gelap untuk kompensasi hilangnya overlay */
}

/* Update text styles */
.home__title {
    font-size: calc(var(--biggest-font-size) * 1.2); /* Perbesar ukuran font */
    color: #fff; /* Ubah ke warna putih */
    text-align: center;
    position: absolute;
    width: 100%;
    top: 45%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Perkuat bayangan untuk keterbacaan */
}

.home__subtitle {
    font-size: calc(var(--h1-font-size) * 1.3); /* Perbesar ukuran font */
    color: #fff; /* Ubah ke warna putih */
    text-align: center;
    position: absolute;
    width: 100%;
    top: 52%;
    z-index: 2;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Perkuat bayangan untuk keterbacaan */
}

/* Styling untuk container tombol */
.home__buttons {
    position: absolute;
    width: 100%;
    top: 65%;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 20px;
}

/* Style tombol primary */
.button__primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--first-color) 0%, #c92a0c 100%);
    color: #fff;
    padding: 1rem 2rem;
    margin: 0;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), filter 0.25s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.button__primary:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

/* Style tombol secondary */
.button__secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: transform 0.35s var(--ease-spring), background 0.3s ease, border-color 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.55);
    margin: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.button__secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--first-color);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .home__buttons {
        flex-direction: column;
        align-items: center;
        top: 70%;
    }

    .button__primary,
    .button__secondary {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }
}

/* Hapus styles untuk dots dan tambahkan styles untuk arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 18px 14px;
    color: white;
    font-weight: bold;
    font-size: 22px;
    transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    user-select: none;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 2;
}

.next {
    right: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background: rgba(230, 50, 20, 0.88);
    transform: translateY(-50%) scale(1.03);
}

/* Responsive styling untuk mobile */
@media screen and (max-width: 768px) {
    /* Adjust text sizes */
    .home__title {
        font-size: calc(var(--h1-font-size) * 1.2);
        top: 35%;
    }
    
    .home__subtitle {
        font-size: var(--h2-font-size);
        top: 45%;
    }
    
    /* Adjust button container */
    .home__buttons {
        top: 53%;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    /* Adjust button sizes */
    .button__primary,
    .button__secondary {
        padding: 0.8rem 1.5rem;
        width: 80%;
        max-width: 250px;
        font-size: var(--small-font-size);
    }
    
    /* Adjust navigation arrows */
    .prev, .next {
        padding: 12px;
        font-size: 20px;
    }
    
    /* Adjust slideshow height for mobile */
    .home,
    .home__container,
    .slideshow-container,
    .mySlides,
    .slideshow__img {
        height: 100vh; /* Use viewport height */
    }
    
    /* Ensure nav menu is readable on mobile */
    .nav__menu {
        width: 100%;
        padding: 1rem;
    }
    
    .nav__item {
        margin-bottom: 0.5rem;
    }
    
    .nav__link {
        font-size: var(--normal-font-size);
    }
}

/* For very small screens */
@media screen and (max-width: 350px) {
    .home__title {
        font-size: var(--h2-font-size);
        top: 30%;
    }
    
    .home__subtitle {
        font-size: var(--normal-font-size);
        top: 42%;
    }
    
    .home__buttons {
        top: 50%;
    }
    
    .button__primary,
    .button__secondary {
        padding: 0.6rem 1.2rem;
        width: 90%;
        font-size: var(--smaller-font-size);
    }
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown__menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 216px;
    padding: 0.5rem 0;
    border-radius: var(--radius-md);
    display: none;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.dropdown:hover .dropdown__menu {
    display: block;
}

.dropdown__link {
    color: #707070;
    padding: 1rem 2rem;
    display: block;
    font-weight: var(--font-medium);
    transition: 0.3s;
    font-size: 1.2rem;
}

.dropdown__link:hover {
    color: var(--first-color);
    background-color: rgba(228, 47, 15, 0.1);
}

/* Mobile dropdown */
@media screen and (max-width: 768px) {
    .dropdown__menu {
        position: static;
        background: transparent;
        padding: 0;
        margin-left: 1rem;
        box-shadow: none;
        display: none;
    }
    
    .dropdown.show .dropdown__menu {
        display: block;
    }
    
    .dropdown__link {
        padding: 1rem 2rem;
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 768px) {
    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 4rem;
    }
    
    .about__data {
        text-align: left;
    }
    
    .about__description {
        margin-right: var(--mb-4);
    }
}

/* Update about section styles */
.about__container {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about__img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 1rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.about__description {
    text-align: center !important;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about__description strong {
    color: var(--first-color);
    font-size: var(--h3-font-size);
    display: block;
    margin-top: 1rem;
}

.about__description em {
    font-style: italic;
    color: var(--text-color);
}

.about__description br {
    display: block;
    content: "";
    margin: 1rem 0;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .about__img {
        max-width: 100%;
    }
    
    .about__description {
        padding: 0 1rem;
    }
}

/* Update about section styles */
.about__initial {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.about__container {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about__data {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Global text alignment */
.section-title, 
.section-subtitle,
.about__data,
.about__description,
.services__content,
.services__description,
.menu__content,
.menu__name,
.menu__detail,
.menu__preci,
.app__data,
.app__description,
p, h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

/* About section */
.about__container {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about__description {
    text-align: center !important;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services section */
.services__container {
    text-align: center;
}

.services__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Menu section */
.menu__container {
    text-align: center;
}

.menu__content {
    align-items: center;
}

/* Responsive adjustments */
@media screen and (min-width: 768px) {
    .about__data {
        text-align: center !important;
    }
    
    .about__description {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
}

.about__button {
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Project grid styles */
.menu__container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.project__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
    aspect-ratio: 1/1;
    border: 1px solid rgba(15, 23, 42, 0.05);
    background: var(--container-color);
}

.project__item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.project__item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.project__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s var(--ease-out);
}

.project__item:hover .project__img {
    transform: scale(1.06);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .menu__container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 1rem;
    }
}

/* Update contact section styles */


.contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.map__container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.map__container iframe {
    display: block;
    vertical-align: top;
}

.contact__data {
    text-align: center;
    margin-bottom: 3rem;
}

.contact__data .contact__button {
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
}

.contact__data .contact__button .button {
    display: inline-block;
    margin: 0;
    width: auto;
}

.contact__description {
    font-size: var(--h3-font-size);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .contact.section {
        padding: 6rem 0;
    }
    
    .contact__description {
        font-size: var(--normal-font-size);
        padding: 0 1rem;
    }
}

/* Product page styles */
.product__description {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.8;
}

.product__description p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.product__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gallery__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.product__cta {
    text-align: center;
    margin: 3rem 0;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .product__gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery__item img {
        height: 250px;
    }
}

/* Contact Methods */
.contact__methods {
    margin-bottom: 2rem;
}

.contact__email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--firstcolor);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact__email-btn:hover {
    background-color: var(--firstcolor-alt);
    transform: translateY(-2px);
}

.contact__email-btn i {
    font-size: 1.2rem;
}

.contact__divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.contact__divider::before,
.contact__divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #ddd;
}

.contact__divider::before {
    left: 0;
}

.contact__divider::after {
    right: 0;
}

.contact__divider span {
    background-color: #fff;
    padding: 0 1rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .contact__email-btn {
        width: 100%;
        justify-content: center;
    }
}

.contact__button {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: default;
}

.contact__button:hover {
    background-color: transparent;
    transform: none;
}

.contact__button i {
    font-size: 1.2rem;
}

.contact__button span {
    font-family: var(--body-font);
}

.contact__form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__inputs {
    width: 100%;
    margin-bottom: 2rem;
}

/*========== SPLASH SCREEN (index) ==========*/
/* Layout + animasi utama ada di <style> di index (supaya jalan sebelum gaya.css). Di sini: exit + reduced motion. */
.splash-screen {
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen--exit {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-screen__inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
    #splash-screen .splash-screen__logo-fill {
        animation: none !important;
         -webkit-mask-position: -28% 50% !important;
        mask-position: -28% 50% !important;
    }
}

/*========== PAGE ENTER (splash: .splash-active → selesai: .page-reveal) ==========*/
body.splash-active .l-header {
    opacity: 0;
    transform: translate3d(0, -28px, 0);
    pointer-events: none;
}

body.splash-active .l-main {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.988);
    pointer-events: none;
    filter: blur(8px);
}

body.splash-active .scrolltop {
    pointer-events: none;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Keyframes (bukan transition) supaya tidak bentrok dengan .l-header { transition: all 0.3s } */
@keyframes page-reveal-header {
    from {
        opacity: 0;
        transform: translate3d(0, -28px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes page-reveal-main {
    from {
        opacity: 0;
        transform: translate3d(0, 32px, 0) scale(0.988);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

body.page-reveal .l-header {
    animation: page-reveal-header 0.95s cubic-bezier(0.18, 0.82, 0.28, 1) forwards;
    pointer-events: auto;
}

body.page-reveal .l-main {
    animation: page-reveal-main 1.15s cubic-bezier(0.14, 0.8, 0.22, 1) 0.12s forwards;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    body.splash-active .l-header,
    body.splash-active .l-main {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
    }

    body.splash-active .scrolltop {
        visibility: visible !important;
    }

    body.page-reveal .l-header,
    body.page-reveal .l-main {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    html.mms-page-out body,
    html.mms-page-enter body {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/*========== PAGE TRANSITIONS (internal links) ==========*/
html.mms-page-out body {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.985);
    filter: blur(6px);
    transition:
        opacity 0.34s var(--ease-out),
        transform 0.34s var(--ease-out),
        filter 0.28s ease;
    pointer-events: none;
}

@keyframes mms-page-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.988);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

html.mms-page-enter body {
    animation: mms-page-enter 0.52s var(--ease-out) forwards;
}

/*========== HALAMAN 404 (minimal, tanpa header/footer — mirip pola Google) ==========*/
body.page-404-standalone {
    margin: 0 !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    box-sizing: border-box;
    background: #fff;
    background-image: none;
    font-family: var(--body-font);
    -webkit-font-smoothing: antialiased;
}

.page-404__wrap {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.page-404__num {
    font-size: clamp(3.75rem, 18vw, 5.5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 1rem;
    color: #202124;
}

.page-404__title {
    font-size: 1.125rem;
    font-weight: 400;
    color: #3c4043;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.page-404__hint {
    font-size: 0.875rem;
    color: #5f6368;
    line-height: 1.55;
    margin: 0 0 1.5rem;
}

.page-404__link {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a73e8;
    text-decoration: none;
}

.page-404__link:hover {
    text-decoration: underline;
}

.page-404__link:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 3px;
    border-radius: 2px;
}

@media (prefers-color-scheme: dark) {
    body.page-404-standalone {
        background: #202124;
        background-image: none;
    }

    .page-404__num {
        color: #e8eaed;
    }

    .page-404__title {
        color: #bdc1c6;
    }

    .page-404__hint {
        color: #9aa0a6;
    }

    .page-404__link {
        color: #8ab4f8;
    }

    .page-404__link:focus-visible {
        outline-color: #8ab4f8;
    }
}
