/* Makassar Kaligrafer Theme - Replika */

:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --header-bg: #8c5d26; /* Light brown for header */
  --header-text: #ffffff;
  --nav-bg: #4a2c14; /* Dark brown for nav */
  --nav-text: #ffffff;
  --red-banner: #cc0000;
  --yellow-highlight: #ffff00;
  --footer-bg: #4a2c14;
  --btn-orange: #ff5500;
  --gold-text: #ffe072;
  --bg-keunggulan: #5a3c24;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Header --- */
.site-header {
  background-color: var(--header-bg);
  color: var(--header-text);
  text-align: center;
  padding: 30px 0;
}

.site-title {
  font-size: 38px;
  font-weight: bold;
}

.site-title a {
  color: #fff;
}

.site-subtitle {
  font-size: 22px;
  color: #fff;
  margin-top: 5px;
}

/* --- Navigation --- */
.site-nav {
  background-color: var(--nav-bg);
}

.site-nav .container {
  display: flex;
  flex-direction: column;
}

.mobile-menu-toggle {
  display: none;
  color: var(--nav-text);
  font-size: 18px;
  font-weight: bold;
  padding: 15px 0;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  padding: 15px 0;
  margin: 0;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  color: var(--nav-text);
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  padding: 5px 0;
}

.nav-menu a:hover {
  color: var(--gold-text);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    padding: 0 0 15px 0;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    margin: 0;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-menu a {
    padding: 12px 0;
  }
}

/* --- Main Content --- */
.site-content {
  padding: 40px 0;
}

/* --- Image Gallery (Vertical Stack) --- */
.image-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.gallery-item img {
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin-bottom: 15px;
  width: 100%;
  max-width: 1000px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* --- Portfolio Grid (3 cols) --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.portfolio-grid .gallery-item img {
  max-width: 100%;
}

.gallery-label {
  background-color: var(--yellow-highlight);
  color: #000;
  padding: 5px 15px;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
  border-radius: 3px;
}

.gallery-sublabel {
  color: #1a56db; /* Blue text under label */
  font-size: 14px;
  margin-top: 5px;
  text-decoration: underline;
}

/* --- Red Banner --- */
.red-banner {
  background-color: var(--red-banner);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 40px;
}

.red-banner h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* --- Videos Section --- */
.video-section {
  background-color: var(--nav-bg);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.video-section h2 {
  color: var(--gold-text);
  margin-bottom: 30px;
  font-size: 28px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.video-item {
  position: relative;
  border: 2px solid #fff;
}

.video-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: red;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.video-play-icon::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}

/* --- Keunggulan Section --- */
.keunggulan-section {
  background-color: var(--bg-keunggulan);
  padding: 50px 20px;
  text-align: center;
  color: #fff;
}

.keunggulan-section h2 {
  margin-bottom: 40px;
  font-size: 28px;
}

.keunggulan-section h2 span {
  color: var(--gold-text);
}

.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.keunggulan-card {
  background-color: #fff;
  color: #333;
  padding: 30px 20px;
  border-radius: 5px;
  text-align: center;
}

.keunggulan-icon {
  font-size: 40px;
  color: #333;
  margin-bottom: 15px;
}

.keunggulan-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.keunggulan-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.keunggulan-stars {
  color: #ffb800; /* gold stars */
  font-size: 18px;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--footer-bg);
  color: rgba(255,255,255,0.8);
  text-align: left;
  padding: 50px 20px;
  font-size: 15px;
  border-top: 5px solid #3a1c04;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-col h4 {
  color: var(--gold-text);
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-col p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
}

.footer-soc {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer-soc a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  font-size: 18px;
  margin-right: 0;
}

.footer-soc a:hover {
  background-color: var(--gold-text);
  color: #000;
  transform: translateY(-3px);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  color: #fff !important;
  font-weight: bold;
  border-radius: 5px;
  margin: 5px;
  text-decoration: none;
}

.btn-orange {
  background-color: var(--btn-orange);
}

/* --- WhatsApp Float (optional) --- */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
  text-align: center;
}
.stat-box h3 {
  font-size: 32px;
  color: var(--nav-bg);
  margin-bottom: 5px;
}
.stat-box p {
  font-weight: bold;
  color: #666;
}

/* --- Reason List --- */
.reason-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.reason-icon {
  font-size: 24px;
  color: var(--nav-bg);
  min-width: 40px;
  text-align: center;
}
.reason-content h4 {
  color: var(--nav-bg);
  margin-bottom: 5px;
}

/* --- Dokumentasi Pengerjaan Section --- */
.dokumentasi-section {
  background-color: #f9f6f0; /* Soft warm background */
  padding: 60px 0;
  text-align: center;
}

.dokumentasi-section h2 {
  color: var(--nav-bg);
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dokumentasi-section h2 span {
  color: var(--btn-orange);
}

.dokumentasi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 images per row */
  gap: 30px;
  align-items: start; /* Prevent cards from stretching and creating empty space */
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .dokumentasi-grid {
    grid-template-columns: 1fr; /* 1 image per row on mobile */
    gap: 20px;
  }
}

.dokumentasi-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.dokumentasi-item:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 12px 25px rgba(74, 44, 20, 0.25);
  border-color: var(--btn-orange);
}

.dokumentasi-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.dokumentasi-item:hover img {
  transform: scale(1.03);
}

.dokumentasi-caption {
  padding: 15px;
  background-color: #fff;
  color: var(--nav-bg);
  font-weight: bold;
  font-size: 16px;
  border-top: 1px solid #eee;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dokumentasi-item:hover .dokumentasi-caption {
  background-color: var(--nav-bg);
  color: var(--gold-text);
}

/* --- Lightbox Modal --- */
.sinart-lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10, 22, 40, 0.95); /* Deep dark background */
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 85%;
  max-width: 950px;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid var(--gold-text);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-radius: 4px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 45px;
  font-weight: bold;
  transition: color 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--gold-text);
  text-decoration: none;
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  text-align: center;
  color: var(--gold-text);
  padding: 15px 0;
  font-size: 18px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

/* --- Video Testimoni Section (Dynamic) --- */
.video-section {
  background-color: var(--nav-bg); /* Dark brown background */
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.video-section h2 {
  color: #fff;
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.video-section h2 span {
  color: var(--gold-text);
}

.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (max-width: 768px) {
  .testimoni-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Override generated HTML from content-loader.js for Makassar Theme */
.testimoni-item {
  background-color: #5a3c24 !important; /* Warm brown card */
  border: 1px solid rgba(255, 224, 114, 0.2) !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimoni-item:hover {
  transform: translateY(-5px);
  border-color: var(--gold-text) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.45);
}

.testimoni-item .video-wrapper,
.testimoni-item .yt-wrapper {
  background-color: #000 !important;
  border-bottom: 1px solid rgba(255, 224, 114, 0.1) !important;
  width: 100%;
}

.testimoni-item h3 {
  color: var(--gold-text) !important;
  font-family: inherit !important;
  font-size: 18px !important;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.testimoni-item p {
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.6;
  font-size: 14px !important;
  font-style: italic !important;
}


