* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #fff;
}

/* ===== NAVBAR ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #102542;
  padding: 10px 50px;
  position: relative;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .logo img {
  width: 130px;
  border-radius: 5px;
}

/* menu icon */
.menu-icon {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* sembunyikan checkbox */
#menu-toggle {
  display: none;
}

/* menu link */
.nav-links ul {
  list-style: none;
}

.nav-links ul li {
  display: inline-block;
  margin: 0 15px;
}

.nav-links ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links ul li a:hover {
  color: #deccb8;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  width: 100%;
  /* padding-block-start: 70px; */
  background-image: linear-gradient(rgba(4,9,30,0.5), rgba(4,9,30,0.5)), url("images/background2.jpg");
  background-position: center;
  background-size: cover;
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
  flex-direction: column;
  /* text-align: center; */
  padding-top: 415px;
}

.text-box h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
}

.text-box p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 25px;
  border-radius: 25px;
  transition: 0.3s;
}

.hero-btn:hover {
  background-color: #deccb8;
  color: #102542;
  border-color: #deccb8;
}

/* ===== SECTION STYLE ===== */
section {
  padding: 60px 10%;
  text-align: center;
}

.about h1{
  padding-bottom: 50px;
} 

.service h1{
  padding-bottom: 40px;
}

.service .baris,
.katalog .baris {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.kolom-ser, .kolom-kat {
  flex-basis: 30%;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.kolom-prod:hover,
.kolom-kat:hover {
  transform: translateY(-5px);
}

/* ===== SERVICE ===== */
.kolom-ser {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.kolom-ser img {
  width: 300px;
  height: 300px;
  border-radius: 10px;
  transition: 0.5s;
}

.layer {
  background: rgba(16, 37, 66, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.5s;
  border-radius: 10px;
}

.layer h3 {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kolom-ser:hover .layer {
  opacity: 1;
}

/* ===== KATALOG ===== */
.katalog {
  background-color: #fff;
  padding: 80px 10%;
  text-align: center;
}

.katalog h1 {
  color: #102542;
  margin-bottom: 10px;
}

.katalog p {
  color: #555;
  margin-bottom: 30px;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 600px;
  margin: 0 15px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
}

.slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.slide h3 {
  padding: 10px 0;
  color: #102542;
  font-size: 1.1rem;
}

/* Tombol panah */
.slider-container button {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background-color: rgba(16,37,66,0.8);
  color: #fff;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 16px 26px;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 10;
}

.slider-container button:hover {
  background-color: #deccb8;
  color: #102542;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* Responsif */
@media (max-width: 768px) {
  .slide {
    min-width: 80%;
    margin: 0 10px;
  }
}


/* ===== FOOTER ===== */
.footer {
  background: #102542;
  color: #fff;
  padding: 60px 0;
}

.footer h1 {
  margin-bottom: 20px;
}

.footer p {
  margin-bottom: 30px;
}

.link-icons a {
  margin: 0 10px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.link-icons a :hover {
  color: #deccb8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav {
    padding: 10px 20px;
  }

  .menu-icon {
    display: block;
  }

  .menu-icon .fa-times {
    display: none;
  }

  #menu-toggle:checked + .menu-icon .fa-bars {
    display: none;
  }

  #menu-toggle:checked + .menu-icon .fa-times {
    display: inline;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: -100%;
    background: #102542;
    width: 200px;
    height: 100vh;
    transition: 0.4s ease;
    text-align: left;
    padding-top: 60px;
  }

  #menu-toggle:checked ~ .nav-links {
    right: 0;
  }

  .nav-links ul li {
    display: block;
    margin: 25px 0;
    padding-left: 20px;
  }

  .nav-links ul li a {
    display: block;
  }
}

/* ---- PAGE CONTACT----- */

.contact {
  padding: 100px 10% 60px;
  background-color: #fff;
  text-align: center;
}

.contact h2 {
  color: #102542;
  margin-bottom: 10px;
}

.contact p {
  color: #555;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info, .contact-form{
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.contact-form{
  padding-top: 50px;
}

.contact-info h3 {
  color: #102542;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #333;
}

.contact-info i {
  color: #deccb8;
  margin-right: 10px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.contact-form button {
  background: #102542;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #deccb8;
  color: #102542;
}

/* Map */
.contact-map {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsif */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-map iframe {
    height: 300px;
  }
}

/* ===== KATALOG PAGE ===== */

.katalog-full {
  display: flex;
  flex-direction: column;
}

.katalog-full h1{
  padding-bottom: 10px;
}

.katalog-full img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  padding-top: 15px;
  padding-bottom: 15px; 
  display: block;
  object-fit: cover;
  border-bottom: 3px solid #fff; 
}

.katalog-motif{
  display: flex;
  flex-direction: column;
}

.katalog-motif h2{
  padding-bottom: 10px;
}

.katalog-motif .katalog{
  width: 100%;
  height: 100vh;
  object-fit: cover;
  padding-top: 15px;
  padding-bottom: 15px; 
  display: block;
  object-fit: cover;
  border-bottom: 3px solid #fff; 
}

/* Optional: smooth scroll */
html {
  scroll-behavior: smooth;
}

.lihat-semua-kat {
  text-align: center;
  margin-top: 2rem;
}

.btn-lihat-semua {
  background-color: #102542; /* warna biru navy */
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.btn-lihat-semua:hover {
  background-color: #deccb8; /* krem */
  color: #102542;
  transform: translateY(-3px);
}

/* ----- ABOUT PAGE ----- */

.about-us {
  padding: 80px 10%;
  background-color: #fff;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #102542;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

.about-text .btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #102542;
  color: #102542;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.about-text .btn:hover {
  background-color: #102542;
  color: #fff;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* ===== Responsif ===== */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
  }
}

/* ------- Whatsapp Chat -------- */
/* Tombol melayang */
.whatsapp-float {
  position: fixed;
  width: 80px;
  height: 80px;
  bottom: 40px;
  right: 40px;
  background-color: #102542;
  color: white;
  text-align: center;
  font-size: 35px;
  padding: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  z-index: 1000;
  transition: transform 0.2s ease;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color:  #deccb8;
}

/* Popup utama */
.whatsapp-popup {
  display: none;
  position: fixed;
  bottom: 130px;
  right: 50px;
  background: white;
  border: 2px solid #102542;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1001;
  width: 280px;
  max-width: 90%;
}

/* Isi popup */
.popup-content {
  padding: 20px;
  text-align: center;
  position: relative;
}

.popup-content h3 {
  margin-bottom: 10px;
  color: #102542;
}

.popup-content p {
  font-size: 14px;
  margin-bottom: 15px;
}

/* Tombol chat */
.whatsapp-btn {
  display: block;
  background-color: #102542;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  margin-bottom: 10px;
  transition: background 0.2s;
}

.whatsapp-btn:hover {
  background-color: #deccb8;
}

/* Tombol close */
.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
  color: #102542;
}
