:root {
  --primary-teal: #1e3a3a;
  --secondary-teal: #2c4d4d;
  --accent-gold: #c5a059;
  --light-gold: #e5c98d;
  --soft-sage: #8b9d83;
  --cream-bg: #f9f7f2;
  --card-bg: #ffffff;
  --text-dark: #1a2525;
  --text-muted: #5a6b6b;
  --text-light: #f9f7f2;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream-bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-font {
  font-family: var(--font-heading);
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER & NAVBAR */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 24px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

header.scrolled {
  background-color: rgba(249, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.8rem;
  color: var(--primary-teal);
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.logo-image {
  width: 270px;
  height: auto;
  margin-bottom: 5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-teal);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--accent-gold);
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-teal {
  background-color: var(--primary-teal);
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--primary-teal);
  display: inline-block;
  cursor: pointer;
}

.btn-teal:hover {
  background-color: transparent;
  color: var(--primary-teal);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-teal);
  cursor: pointer;
}

.mobile-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--primary-teal);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

.mobile-close:focus {
  outline: none;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  /* padding-top: 140px; */
  /* padding-bottom: 80px; */
  padding-top: 170px;
  padding-bottom: 110px;
  display: flex;
  align-items: center;
  position: relative;
  /* background: linear-gradient(135deg, rgba(249,247,242,1) 0%, rgba(235,230,218,0.5) 100%); */
  background-color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-subtitle::before {
  content: '';
  width: 30px;
  height: 1px;
  background-color: var(--accent-gold);
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  color: var(--primary-teal);
  margin-bottom: 25px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
}

.hero-img-card {
  width: 100%;
  height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(30, 58, 58, 0.12);
  position: relative;
}

.hero-slider-track {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.8s ease;
}

.hero-slider-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
}

.hero-slider-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-teal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  transition: var(--transition);
}

.hero-slider-btn:hover {
  background: #ffffff;
  transform: scale(1.05);
}

.hero-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider-dot.active {
  background: var(--accent-gold);
  transform: scale(1.15);
}

.hero-slide {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: var(--primary-teal);
  color: var(--cream-bg);
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--accent-gold);
}

.hero-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-gold);
  line-height: 1;
}

.hero-badge .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* STATS SECTION */
.stats-section {
  background-color: var(--primary-teal);
  color: var(--cream-bg);
  padding: 60px 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  color: rgba(249, 247, 242, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ABOUT SECTION */
.about-section {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  position: relative;
}

.about-img-1 {
  grid-column: 1 / span 8;
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.about-img-2 {
  grid-column: 6 / span 7;
  margin-top: -120px;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 8px solid var(--cream-bg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-tag {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  color: var(--primary-teal);
  line-height: 1.2;
  margin-bottom: 25px;
}

.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.feature-list {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feature-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  background: rgba(197, 160, 89, 0.1);
  padding: 8px;
  border-radius: 50%;
}

.feature-item span {
  font-weight: 600;
  color: var(--primary-teal);
}

/* ==========================================
           SERVICES SECTION - FLOATING IMAGE / WRAP
           ========================================== */
.services-section {
  background-color: #f2eee5;
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-card {
  background: var(--card-bg);
  padding: 35px 30px;
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid rgba(197, 160, 89, 0.18);
  position: relative;
  box-shadow: 0 10px 30px rgba(30, 58, 58, 0.04);
  overflow: hidden;
}

/* Clearfix untuk mengatasi float */
.service-card::after {
  content: '';
  display: table;
  clear: both;
}

/* Garis Aksen Emas Atas Kartu (Animasi) */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--light-gold));
  transition: var(--transition);
  transform: translateX(-50%);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 58, 0.12);
  border-color: rgba(197, 160, 89, 0.4);
}

.service-card:hover::before {
  width: 100%;
}

/* FLOATING IMAGE ICON (LEFT WRAP) */
.service-icon {
  float: left;
  /* Mengambang di kiri */
  width: 65px;
  height: 65px;
  background-color: rgba(30, 58, 58, 0.04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  /* Jarak dengan teks di sebelah kanan */
  margin-bottom: 12px;
  /* Jarak dengan teks di bawahnya */
  /* padding: 14px; */
  padding: 4px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  transition: var(--transition);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-teal);
  border-color: var(--accent-gold);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(30, 58, 58, 0.15);
}

.service-card:hover .service-icon img {
  /* filter: brightness(0) invert(1); */
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-teal);
  margin-bottom: 10px;
  line-height: 1.25;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 15px;
}

/* Link Tambahan "Pelajari Lebih Lanjut" */
.service-link {
  clear: both;
  /* Dipaksa berada di bawah seluruh float */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  margin-top: 10px;
  transition: var(--transition);
}

.service-link i {
  font-size: 0.78rem;
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: var(--primary-teal);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* ==========================================
   PORTOFOLIO LOADER & SKELETON ANIMATION
   ========================================== */

/* Shimmer Animation Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Wrapper Loader pada Item Portofolio */
.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    /* Background Animasi Skeleton Loading */
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Sembunyikan Gambar & Overlay Saat Masih Loading */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.5s ease;
    opacity: 0; /* Mulai dari transparan (hidden) */
}

/* Tampilkan Gambar Saat Sudah Terload Sempurna */
.portfolio-item.loaded img {
    opacity: 1;
}

/* Matikan Efek Loading Skeleton Setelah Gambar Siap */
.portfolio-item.loaded {
    background: none;
    animation: none;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 58, 0.9) 0%, rgba(30, 58, 58, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

/* PORTFOLIO SECTION */
.portfolio-section {
  padding: 120px 0;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 24px;
  border: 1px solid rgba(30, 58, 58, 0.15);
  background: transparent;
  color: var(--primary-teal);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-teal);
  color: var(--cream-bg);
  border-color: var(--primary-teal);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(30, 58, 58, 0.12);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 58, 58, 0.9) 0%,
    rgba(30, 58, 58, 0.2) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  color: var(--accent-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.portfolio-title {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 10px;
  line-height: 30px;
}

/* WHY US SECTION */
.why-section {
  background-color: var(--primary-teal);
  color: var(--cream-bg);
  padding: 120px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.why-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

.why-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateX(10px) translateY(-4px);
  border-color: var(--accent-gold);
}

.why-icon {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-top: 5px;
}

.why-text h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.why-text p {
  color: rgba(249, 247, 242, 0.7);
  font-size: 0.95rem;
}

/* TESTIMONIALS SECTION */
.testimonial-section {
  padding: 120px 0;
  background-color: var(--cream-bg);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  text-align: center;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.15);
  display: none;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  opacity: 0.5;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary-teal);
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.4;
}

.client-info h4 {
  font-size: 1.2rem;
  color: var(--primary-teal);
  margin-bottom: 2px;
}

.client-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(30, 58, 58, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--accent-gold);
  width: 30px;
  border-radius: 10px;
}

/* CTA SECTION */
.cta-section {
  background:
    linear-gradient(rgba(30, 58, 58, 0.88), rgba(30, 58, 58, 0.88)),
    url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&q=80&w=1600');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--cream-bg);
  padding: 100px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-content p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 35px;
  color: rgba(249, 247, 242, 0.85);
}

/* CONTACT SECTION */
.contact-section {
  padding: 120px 0;
  background-color: #f2eee5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--primary-teal);
  color: var(--cream-bg);
  padding: 50px;
  border-radius: 8px;
  height: 100%;
}

.contact-info-card h3 {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin-top: 5px;
}

.info-item h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.info-item p {
  color: rgba(249, 247, 242, 0.7);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--card-bg);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background-color: #fcfbfa;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

textarea.form-control {
  resize: vertical;
  height: 120px;
}

.map-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30, 58, 58, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FOOTER */
footer {
  background-color: #142828;
  color: rgba(249, 247, 242, 0.6);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-logo {
  width: 270px;
  height: auto;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-title {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* ==========================================
   FLOATING WHATSAPP WIDGET & STICKY CTA
   ========================================== */
.wa-widget-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* Tombol Floating Mengapung */
.wa-floating-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border: none;
  outline: none;
}

.wa-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Badge Notifikasi Merah */
.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #e74c3c;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* Popup Chat Box Mini */
.wa-chat-box {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(30, 58, 58, 0.18);
  overflow: hidden;
  display: none;
  /* Disembunyikan secara default */
  transform-origin: bottom right;
  animation: popupIn 0.3s ease-out forwards;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Header Popup Chat */
.wa-chat-header {
  background-color: var(--primary-teal);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--accent-gold);
}

.wa-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}

.wa-chat-title h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.wa-chat-title p {
  font-size: 0.72rem;
  color: rgba(249, 247, 242, 0.75);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-online-dot {
  width: 8px;
  height: 8px;
  background-color: #2ecc71;
  border-radius: 50%;
  display: inline-block;
}

.wa-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.wa-close-btn:hover {
  color: #ffffff;
}

/* Body Chat Message */
.wa-chat-body {
  padding: 20px;
  background-color: #f7f9f9;
}

.wa-msg-bubble {
  background-color: #ffffff;
  padding: 12px 16px;
  border-radius: 0 12px 12px 12px;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  border-left: 3px solid var(--accent-gold);
}

.wa-msg-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 6px;
  display: block;
}

/* Footer Action Link */
.wa-chat-footer {
  padding: 15px 20px;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.wa-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wa-send-btn:hover {
  background-color: #1ebc57;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Penyesuaian Mobile */
@media (max-width: 576px) {
  .wa-widget-wrapper {
    bottom: 20px;
    right: 20px;
  }

  .wa-chat-box {
    width: 290px;
    bottom: 70px;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--cream-bg);
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 40px;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .mobile-close {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active .mobile-close {
    opacity: 1;
    visibility: visible;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    width: 92%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-img-card {
    height: 320px;
  }

  header {
    padding: 16px 0;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-text span {
    font-size: 0.68rem;
    letter-spacing: 2px;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-buttons .btn-teal,
  .hero-buttons .btn-gold {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 0.78rem;
  }

  .hero-img-card {
    height: 320px;
  }

  .hero-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 20px;
    padding: 18px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .about-section,
  .services-section,
  .portfolio-section,
  .why-section,
  .testimonial-section,
  .contact-section {
    padding: 80px 0;
  }

  .about-img-1 {
    height: 270px;
  }

  .about-img-2 {
    height: 220px;
    margin-top: -70px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .service-card,
  .contact-info-card,
  .contact-form,
  .testimonial-card {
    padding: 28px 20px;
  }

  .portfolio-item {
    /* height: 280px; */
    height: 350px;
  }

  .testimonial-text {
    font-size: 1.2rem;
  }

  .cta-section {
    padding: 80px 0;
  }

  .cta-content h2 {
    font-size: 2.15rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    width: 100%;
    max-width: none;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.7rem;
  }
}
