/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    scroll-padding-top: 1rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
/* Variables */
:root {
    --main-color: #a10a0e ;
    --text-color: #020102;
    --bg-color: #fff;
}
/* Custom Scroll Bar*/
html::-webkit-scrollbar{
    width: 0.5rem;
    background: transparent;
}
html::-webkit-slider-thumb{
    border-radius: 5rem;
    background: var(--text-color);
}
section{
    padding: 4rem 0 2rem;
}
img{
    width: 100%;
}
body{
    color: var(--text-color);
}
.container{
    max-width: 1068px;
    margin-left: auto;
    margin-right: auto;
}
.header{
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
header.shadow {
    background: var(--bg-color);
    box-shadow: 2px 4px 4px rgb(15 54 55 / 10%);
    transition: 0.5s ease;
}
header.shadow #search-icon {
    color: var(--text-color);
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 35px;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
   position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-menu li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}
.nav-menu li a.active {
  color: red;
  border-bottom: 2px solid red;
}
.nav.container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
.navbar{
    display: flex;
    gap: 30px;
    margin-left: auto;
}
.nav-right {
  margin-left: auto; 
  font-size: 18px;
  cursor: pointer;
}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}
.logo{
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}
.logo span{
    color: var(--main-color);
}
.navbar{
    display: flex;
    column-gap: 2rem;
}
.navbar a{
    color: var(--text-color);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}
.navbar a:hover, 
.navbar .active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
#menu-icon{
    display: block;
}
.search-wrapper{
    position: relative;
    margin-left: 20px;
    display: flex;
    align-items: center;
}
.search-box{
    position: absolute;
    top: 120%;
    right: 0;
    width: 250px;
    background: var(--bg-color);
    border-radius: 0.5rem;
    box-shadow: 4px 4px 20px rgb(15 54 55 / 10%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}
.search-box.active{
    opacity: 1;
    pointer-events: auto;
}
.search-box .active{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.search-box input{
    width: 100%;
    padding: 20px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
}
.home{
    max-width: 1300px;
    margin: auto;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url(img/Background-home.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.home-text{
    padding-left: 130px;
}
.home-text h1{
    font-size: 2.4;
}
.home-text span{
    color: var(--main-color);
}
.home-text p{
    font-size: 1x;
    font-weight: 300;
    margin: 0.5rem 0 0.5rem;
}
.btn{
    padding: 10px 22px;
    background: var(--main-color);
    color: var(--bg-color);
    font-weight: 400;
}
.btn:hover{
    background: #a10a0e;
}
.heading{
    text-align: center;
}
.heading span{
    font-weight: 500;
    color: var(--main-color);
}
.warning-banner {
  background: #fff3cd;
  color: #856404;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #ffeeba;
}
.footer-warning {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 15px;
}
.popup-warning {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;

  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.popup-box {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.btn-close {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #c62828;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}
.heading p{
    font-size: 0.938;
    font-weight: 300;
}
.cars-contoiner{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}
.cars-contoiner .box{
    flex: 1 1 17rem;
    position: relative;
    height: 500px;
    border-radius: 0.5rem;
    overflow: hidden;
}
.cars-contoiner .box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}
.cars-contoiner .box img:hover{
    transform: scale(1.1);
    transition: 0.5s;
}
.cars-contoiner .box h2{
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-weight: 400;
    font-size: 1rem;
    background: var(--main-color);
    padding: 8px;
    border-radius: 0.5rem;
}
.cars-contoiner .box:hover h2{
    background: var(--main-color);
    color: var(--bg-color);
}
.steps{
    width: 100%;
    max-width: 5000px;
    padding: 60px 20px;
    background: var(--bg-color);
    text-align: center;
}
.steps h2{
    font-size: 32px;
    margin-bottom: 40px;
}
.steps-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, maximax(250px 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}
.step, 
.steps{
    text-align: center;
    background: var(--bg-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(0,0,0,0.1)
}
.step span{
    width: 100px;
    height: 48px;
    display: inline-block;
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: 50%;
    line-height: 48%;
    font-weight: bold;
    margin-bottom: 12px;
}
.step h3{
    font-size: 18px;
    margin-bottom: 8px;
}
.step p{
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}
.booking-action{
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.about{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}
.about-img{
   flex: 1 1 21rem; 
}
.about-text {
    flex: 1 1 21rem;
}
.about-text span{
    font-weight: 500;
    color: var(--main-color);
}
.about-text h2{
    font-size: 1.7rem;
}
.about-text p{
    font-size: 0.938;
    margin: 0.5rem 0 1.4rem;
}
.Parts-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}
.Parts-container .box{
    flex: 1 1 17rem;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #f6f6f6;
    border-radius: 0.5rem;
}
.Parts-container .box img{
    width: 100%;
    height: 150px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 1rem;
}
.Parts-container .box h3{
    font-size: 1.1rem;
    font-weight: 600;
}
.Parts-container .box span{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-color);
}
.Parts-container .box .bx{
  color: var(--main-color);
  margin: 0.8rem 0;
}
.Parts-container .box .btn{
  max-width: 120px;
}
.Parts-container .box .details{
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 1.8rem;
  right: 1rem;
  font-size: 1rem;
  color: var(--text-color);
}
.Parts-container .box .details:hover{
    color: var(--main-color);
    text-decoration: underline;
}
.contact{
  padding: 4rem 1rem;
  background: #f5f5f5;
}

.contact-wrapper{
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info,
.contact-cta{
  flex: 1 1 300px;
  background: #fff;
  padding: 2rem;
  border-radius: 0.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  /* animasi muncul */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.contact-cta{
  animation-delay: 0.3s;
}

.contact-info h2{
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.contact-info p{
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-info span{
  margin-right: 8px;
}

.contact-cta h3{
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-cta p{
  margin-bottom: 1.5rem;
  color: #555;
}

/* tombol WA */
.wa-btn{
  display: inline-block;
  padding: 14px 30px;
  background: #25D366;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.wa-btn:hover{
  background: #1ebe5d;
  transform: scale(1.08);
}

/* animasi */
@keyframes fadeUp{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.wa-float{
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  animation: bounce 2s infinite;
}

@keyframes bounce{
  0%,100%{transform: translateY(0);}
  50%{transform: translateY(-6px);}
}
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.blog {
    max-width: 1200%;
    margin: 0 auto;
    padding: 60px 20px;
}
.box:hover {
  transform: translateY(-5px);
}
.blog-img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* ⬅️ KOTAK */
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-content {
  padding: 18px;
}

.blog-content span {
  font-size: 13px;
  color: #c00;
  font-weight: 600;
}

.blog-content h3 {
  font-size: 18px;
  margin: 8px 0;
  color: #111;
}

.blog-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:20px;
    margin-top: 30px;
}
/* ================= BLOG SECTION ================= */
.blog {
  padding: 60px 0;
  background: #fff;
}

/* HEADING */
.blog .heading {
  text-align: center;
  margin-bottom: 40px;
}

.blog .heading span {
  color: #c00;
  font-weight: 600;
}

.blog .heading h2 {
  font-size: 32px;
  margin: 10px 0;
}

.blog .heading p {
  color: #666;
  font-size: 16px;
}

/* ================= BLOG GRID ================= */
.blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ================= BLOG CARD ================= */
.blog-container .box {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-container .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ================= BLOG IMAGE (KOTAK) ================= */
.blog-img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* ⬅️ bikin kotak */
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-container .box:hover img {
  transform: scale(1.08);
}

/* ================= BLOG CONTENT ================= */
.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
}
/* RESET PENTING */
body {
  margin: 0;
}

/* ================= FOOTER ================= */
.footer {
  background: #000;
  color: #fff;
  padding: 60px 0 0;
  width: 100%;
}

/* CONTAINER */
.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ITEM */
.footer-item h3 {
  font-size: 20px;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #ccc;
}

/* SOCIAL ICON */
.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

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

.social-icons a:hover {
  color: #c00;
  transform: translateY(-3px);
}

/* COPYRIGHT */
.footer-copy {
  background: #000;
  border-top: 1px solid #222;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #aaa;
  margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Making Responsive*/
@media(max-width:1088px){
    .container{
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
@media(max-width:991px){
    .nav{
        padding: 15px 20px;
    }
    section {
        padding: 3rem 0 1rem;
    }
    .home-text {
        padding-left: 2rem;
    }
    .home-text h1{
        font-size: 2.1rem;
    }
}
@media(max-width:920px){
    #search-icon{
        color: var(--text-color);
    }
}
@media(max-width:768px){
    .search-box input{
        padding: 15px;
    }
    .nav{
        padding: 10px 0;
    }
    #menu-icon{
        display: initial;
    }
    .navbat{
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        row-gap: 0.5rem;
        text-align: center;
        box-shadow: 4px 4px 20px rgb(15 54 55 / 20%);
        clip-path: circle(0% at 0% 0%);
        transition: 0.6s;
    }
    .navbar a{
        display: block;
        padding: 15px;
    }
    .navbar a:hover, 
    .navbar .active{
        border-bottom: none;
        background: var(--main-color);
        color: var(--bg-color);
    }
    .navbar .active{
        clip-path: circle(144% at 0% 0%);
    }
    .blog-container .box {
        padding: 4px;
    }
}
@media (max-width:727px){
    .heading span{
        font-size: 0.9rem;
    }
    .heading h2 {
        font-size: 1.4rem;
    }
    .about{
        flex-direction: column-reverse;
    }
    .about-text {
      text-align: center;  
    }
    .about-text h2 {
        font-size: 1.4rem;
    }
  }

@media (max-width: 768px) {

  .steps-container {
    grid-template-columns: 1fr;
  }

  .steps-card {
    width: 100%;
  }

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

  body {
    overflow-x: hidden;
  }
}
@media (max-width:607px){
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width:360px){
    .search-box input{
        padding: 11px;
    }
    .home {
        min-height: 500px;
    }
    .home-text h1{
        font-size: 2rem;
    }
    .home-text p br{
        display: contents;
    }
}
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
}
