/* =================================== */
/* 1. GLOBAL STYLES & VARIABLES */
/* =================================== */
:root {
  --primary: #e67e22; /* Vivid Tangelo fresh & modern */
  --bg: #0b0b0b; /* High Contrast Dark Background */
}

/* Warna Sorot Teks (Selection) Agar terlihat menarik */
::selection {
  background-color: var(--primary);
  color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
}

/* Base Styles for Sections */
.about,
.layanan,
.portfolio,
.contact {
  padding: 8rem 7% 1.4rem;
}

/* Base Styles for Headings */
.about h2,
.about h3,
.layanan h2,
.portfolio h2,
.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.about h2 span,
.about h3 span,
.layanan h2 span,
.portfolio h2 span,
.contact h2 span {
  color: var(--primary);
}

/* =================================== */
/* 2. NAVBAR (REVISI BORDER) */
/* =================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(11, 11, 11, 0.95);
  border-bottom: 1px solid rgba(230, 126, 34, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.navbar .navbar-logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}

.navbar .navbar-logo img {
  height: 45px;
  width: auto;
  margin-right: 1px;
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* =================================== */
/* 3. HERO SECTION (REVISI GLOW & GRADIENT) */
/* =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(0deg, var(--bg) 10%, rgba(11, 11, 11, 0) 100%);
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
  z-index: 1;
}

.hero .content h1 {
  font-size: 3.5em;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.hero .content h1 span {
  color: var(--primary);
}

.hero .content p {
  font-size: 1.3rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  mix-blend-mode: normal;
}

.hero .content .cta {
  margin-top: 2rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(230, 126, 34, 0.4);
  transition: 0.3s ease;
}

.hero .content .cta:hover {
  box-shadow: 0 0 25px rgba(230, 126, 34, 0.7);
  transform: translateY(-2px);
  background-color: #d35400;
}

/* =================================== */
/* 4. ABOUT SECTION */
/* =================================== */
.about .row {
  display: flex;
  align-items: center;
}

.about .row .about-img {
  flex: 1 1 45rem;
  padding: 1rem;
}

.about .row .about-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 2rem;
  text-align: left;
}

.about .row .content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about .row .content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
}

/* Visi & Misi Component */
.about .visi-misi-main-title {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.about .visi-misi-row {
  display: flex;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  gap: 2rem;
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #1a1a1a;
  text-align: left;
}

.about .visi-misi-row .visi-col {
  flex: 1 1 50%;
  padding: 0 1rem;
}

.about .visi-misi-row .visi-col:first-child {
  border-right: 1px solid #333;
}

.about .visi-misi-row .visi-misi-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-weight: 700;
  text-align: center;
}

/* =================================== */
/* 5. LAYANAN SECTION (REVISI HOVER) */
/* =================================== */
.layanan h2 {
  margin-bottom: 1rem;
}

.layanan p {
  text-align: center;
  max-width: 40rem;
  margin: auto;
  font-weight: 300;
  line-height: 1.6;
}

.layanan .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
  justify-content: center;
}

.layanan .row .layanan-card {
  text-align: center;
  flex: 1 1 20rem;
  margin: 1rem;
  padding: 2rem;
  border: 1px solid #333;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  background-color: #121212;
}

.layanan .row .layanan-card:hover {
  background-color: #1a1a1a;
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(230, 126, 34, 0.15);
}

.layanan .row .layanan-card img {
  border-radius: 8px;
  width: 70%;
  max-width: 200px;
  height: auto;
  object-fit: cover;
}

.layanan .row .layanan-card .layanan-title {
  margin: 1.5rem auto 0.5rem;
  font-size: 1.5rem;
}

.layanan .row .layanan-card .layanan-price {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.layanan .row .layanan-card .btn-detail {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  transition: 0.3s;
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

.layanan .row .layanan-card .btn-detail:hover {
  opacity: 0.9;
  box-shadow: 0 2px 15px rgba(230, 126, 34, 0.6);
}

/* =================================== */
/* 6. PORTFOLIO SECTION (REVISI HOVER) */
/* =================================== */
.portfolio p {
  text-align: center;
  max-width: 40rem;
  margin: auto;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.portfolio .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.portfolio .portfolio-card {
  flex: 1 1 calc(33% - 2rem);
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.portfolio .portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(230, 126, 34, 0.1);
}

.portfolio .portfolio-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #333;
  margin-bottom: 1rem;
}

.portfolio .portfolio-card-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.8rem;
  padding: 0 1rem;
}

.portfolio .portfolio-card-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.5;
  padding: 0 1rem;
}

/* =================================== */
/* 7. CONTACT SECTION (REVISI FORM FOCUS) */
/* =================================== */
.contact h2 {
  margin-bottom: 1rem;
}

.contact p {
  text-align: center;
  max-width: 40rem;
  margin: auto;
  font-weight: 300;
  line-height: 1.6;
}

.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #222;
  border-radius: 8px;
  overflow: hidden;
  flex-wrap: wrap;
}

.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  min-height: 400px;
  object-fit: cover;
  border: 0;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 3rem 2rem;
  text-align: center;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  background-color: var(--bg);
  border: 1px solid #4a4a4a;
  padding-left: 1rem;
  border-radius: 4px;
  transition: 0.3s;
}

.contact .row form .input-group.wrapper-pesan {
  align-items: flex-start;
}

.contact .row form .input-group.wrapper-pesan i,
.contact .row form .input-group.wrapper-pesan svg {
  transform: translateY(1.7rem);
}

.contact .row form .input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(230, 126, 34, 0.3);
}

.contact .row form .input-group i {
  margin-right: 0.8rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.contact .row form .input-group input,
.contact .row form .input-group textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.2rem;
  background-color: var(--bg);
  color: #fff;
  font-family: "Poppins", sans-serif;
  border: none;
}

.contact .row form .input-group textarea {
  resize: vertical;
  height: auto;
  min-height: 120px;
}

.contact .row form .btn {
  margin-top: 2rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  cursor: pointer;
  border-radius: 0.5rem;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.4);
}

.contact .row form .btn:hover {
  background-color: #d35400;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.7);
}

/* =================================== */
/* 8. FLOATING WHATSAPP BUTTON */
/* =================================== */
.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  background-color: #25d366;
  color: #fff;
  padding: 10px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.whatsapp-button i {
  margin-right: 8px;
  font-size: 1.5rem;
}

/* =================================== */
/* 9. FOOTER */
/* =================================== */
footer {
  background-color: #0b0b0b;
  border-top: 3px solid var(--primary);
  padding: 4rem 7% 2rem;
  margin-top: 5rem;
  color: #fff;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  text-align: left;
}

.footer-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-box h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--primary);
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer-box.brand-box h3 {
  text-transform: none;
  font-size: 1.8rem;
  border: none;
  letter-spacing: normal;
}
.footer-box.brand-box h3::after {
  display: none;
}
.footer-box.brand-box h3 span {
  color: var(--primary);
  font-style: italic;
}

.footer-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 1rem;
}

/* --- Social Media --- */
.footer-box .socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-box .socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  transition: 0.3s;
}

.footer-box .socials a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.5);
}

.footer-box .socials a i {
  width: 18px;
  height: 18px;
}

/* --- List Menu --- */
.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.8rem;
}

.footer-list li a {
  color: #b0b0b0;
  font-size: 1rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
}

.footer-list li a i {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  color: var(--primary);
}

.footer-list li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* --- Contact Info --- */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.contact-item i {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item p {
  margin: 0;
  color: #fff;
}

.service-area {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #888;
}

.service-area span {
  color: var(--primary);
  font-weight: bold;
}

/* --- Credit --- */
.credit {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.credit p {
  font-size: 0.9rem;
  color: #888;
}

.credit a {
  color: var(--primary);
  font-weight: 700;
}

/* =================================== */
/* 10. MODAL BOX STYLING */
/* =================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-container {
  position: relative;
  background-color: var(--bg);
  color: #fff;
  margin: auto;
  padding: 1.5rem;
  border: 1px solid var(--primary);
  width: 80%;
  max-width: 900px;
  border-radius: 12px;
  animation: openModal 0.5s;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
}

@keyframes openModal {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.modal-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
}

/* Penampung Galeri */
.modal-content .modal-gallery {
  position: relative;
  width: 45%;
  margin-right: 1.5rem;
  overflow: hidden;
  border-radius: 8px;
}

.modal-content .modal-gallery .slider-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}

.modal-content .modal-gallery .gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: 8px;
}

.modal-content .modal-gallery .gallery-img.active-slide {
  opacity: 1;
}

.modal-content .modal-gallery .prev-slide,
.modal-content .modal-gallery .next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 10;
  transition: background-color 0.3s;
  cursor: pointer;
}

.modal-content .modal-gallery .prev-slide:hover,
.modal-content .modal-gallery .next-slide:hover {
  background-color: var(--primary);
}

.modal-content .modal-gallery .prev-slide {
  left: 10px;
}

.modal-content .modal-gallery .next-slide {
  right: 10px;
}

.modal-content .product-content {
  width: 50%;
}

.modal-content .product-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.modal-content .product-content p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-align: left;
  max-width: none;
}

.modal-content .product-content .product-price {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.modal-content .product-content .modal-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary);
  color: #fff;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.4);
}

.modal-content .product-content .modal-cta-btn i {
  margin-right: 0.5rem;
}

.close-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1;
}

/* =================================== */
/* 11. SEARCH FORM STYLING */
/* =================================== */
.search-form {
  position: absolute;
  top: 100%;
  right: -100%;
  background-color: #fff;
  width: 50rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.2s linear;
}

.search-form.active {
  right: 0;
  transform: scaleY(1);
}

.search-form input {
  height: 100%;
  width: 100%;
  font-size: 1.7rem;
  color: var(--bg);
  padding: 1rem;
}

.search-form label {
  cursor: pointer;
  font-size: 2rem;
  margin-right: 1.5rem;
  color: var(--bg);
}

/* =================================== */
/* 12. SEARCH HIGHLIGHT EFFECT */
/* =================================== */
/* Kelas untuk menandai elemen yang ditemukan */
.search-highlight {
  animation: flashHighlight 2s ease-out;
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.6);
  position: relative;
  z-index: 10;
  background-color: rgba(230, 126, 34, 0.1);
  border-radius: 8px;
  transition: all 0.3s;
}

@keyframes flashHighlight {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    background-color: rgba(230, 126, 34, 0.3);
  }
  100% {
    transform: scale(1);
  }
}

/* =================================== */
/* 13. PRICE LIST TOGGLE SECTION */
/* =================================== */
.price-list-container {
  text-align: center;
  margin-top: 4rem;
  width: 100%;
}

/* Tombol Toggle */
.btn-price-toggle {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.btn-price-toggle:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-price-toggle i {
  transition: transform 0.3s ease;
}

/* Rotasi panah saat aktif */
.btn-price-toggle.active i {
  transform: rotate(180deg);
}

/* Area Tabel (Default: Tersembunyi) */
.price-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  margin-top: 0;
  opacity: 0;
}

/* Saat kelas 'open' ditambahkan via JS */
.price-content.open {
  max-height: 3000px;
  margin-top: 2rem;
  opacity: 1;
  transition: max-height 0.5s ease-in, opacity 0.5s ease-in;
}

/* Styling Tabel */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid #333;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1a1a1a;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 1.2rem;
  border-bottom: 1px solid #333;
}

.price-table th {
  background-color: #222;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
}

.price-table td {
  color: #ccc;
  font-size: 1rem;
}

.price-table tr:hover {
  background-color: #252525;
}

.price-note {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  margin-top: 1rem;
  text-align: left;
  padding: 1rem;
}

.price-table .category-header td {
  background-color: #333;
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  padding: 0.8rem;
  letter-spacing: 1px;
  border-top: 2px solid #444;
}

/* =================================== */
/* 14. MEDIA QUERIES (RESPONSIVE) */
/* =================================== */
/* Laptop Standard */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
    display: block;
    box-shadow: -6px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 20rem;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0 1rem;
    text-align: center;
  }

  .about .row .content h3 {
    margin-top: 1.5rem;
    font-size: 2.2rem;
  }

  .about .row .content p {
    font-size: 1.4rem;
  }

  .layanan p,
  .portfolio p {
    font-size: 1.2rem;
  }

  .layanan .row .layanan-card {
    flex: 1 1 calc(50% - 2rem);
  }

  .portfolio .portfolio-card {
    flex: 1 1 calc(50% - 1.5rem);
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 2rem;
  }

  .modal-container {
    width: 90%;
  }

  .modal-content {
    flex-direction: column;
    text-align: center;
  }

  .modal-content .modal-gallery {
    width: 85%;
    margin: 0 auto 1.5rem auto;
  }

  .modal-content .product-content {
    width: 100%;
  }

  .modal-content .product-content p {
    text-align: center;
  }

  .whatsapp-button {
    padding: 10px 15px;
    bottom: 20px;
    right: 20px;
    font-size: 1.1rem;
  }

  .about .visi-misi-row {
    flex-direction: column;
    gap: 0;
    max-width: 90%;
    padding: 1rem;
  }

  .about .visi-misi-row .visi-col {
    padding: 1rem 0;
  }

  .about .visi-misi-row .visi-col:first-child {
    border-right: none;
    border-bottom: 1px solid #333;
  }

  .search-form {
    width: 90%;
    right: -90%;
  }

  .portfolio .row {
    gap: 1.5rem;
  }
}

/* Mobile Phone */
@media (max-width: 576px) {
  html {
    font-size: 55%;
  }

  .navbar {
    padding: 1.2rem 3%;
  }

  .hero .content h1 {
    font-size: 3em;
  }

  .layanan .row .layanan-card {
    flex: 1 1 100%;
    margin: 1rem 0;
  }

  .about .visi-misi-row {
    max-width: 95%;
  }

  .modal-container {
    width: 95%;
    padding: 1rem;
  }

  .modal-content .modal-gallery {
    width: 100%;
    margin-right: 0;
  }

  .modal-content .product-content h3 {
    font-size: 2rem;
  }

  .modal-content .product-content p {
    font-size: 1.2rem;
  }

  .close-icon {
    font-size: 1.5rem;
  }

  .whatsapp-button span {
    display: none;
  }

  .whatsapp-button {
    padding: 12px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
  }

  .whatsapp-button i {
    margin-right: 0;
    font-size: 1.7rem;
  }

  .portfolio .row {
    gap: 1rem;
  }

  .portfolio .portfolio-card {
    flex: 1 1 100%;
  }

  .portfolio .portfolio-card-image {
    height: 200px;
  }

  /* Khusus Mobile Footer */
  footer {
    padding: 3rem 5% 2rem;
  }

  .footer-container {
    text-align: left;
  }

  .footer-box {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
  }

  .footer-box:last-child {
    border-bottom: none;
  }
}
