/* ========================================
   PT. BAHTERA CIPTA ANUGRAH - MAIN STYLES
   Complete Responsive CSS for All Pages
   ======================================== */

/* === 1. CSS VARIABLES === */
:root {
  /* Colors */
  --primary: #2d357a;
  --secondary: #e8a963;
  --accent: #d4af37;
  --dark: #1a1a1a;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;

  /* Typography */
  --font-primary: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-xxl: 80px;

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 2. RESET & BASE STYLES === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* === 3. TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
h5 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}
h6 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === 4. LAYOUT UTILITIES === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

/* === 5. HEADER & NAVIGATION === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

/* Header saat di-scroll */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  min-height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

/* Navigation Menu */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav .menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
}

.site-nav .menu li {
  display: inline-block;
}

.site-nav .menu a {
  display: block;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  border-radius: 8px;
  transition: var(--transition);
}

/* Warna link saat header scrolled */
.site-header.scrolled .site-nav .menu a {
  color: var(--dark);
}

.site-nav .menu a:hover,
.site-nav .menu a.active {
  color: var(--secondary);
  background-color: rgba(232, 169, 99, 0.15);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
  padding: var(--spacing-xs);
  z-index: 1001;
  transition: var(--transition);
}

.site-header.scrolled .nav-toggle {
  color: var(--dark);
}

.nav-toggle:hover {
  color: var(--secondary);
}

.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
}

/* === 6. HERO SECTION === */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #1e5a3f 100%);
  color: var(--white);
  overflow: hidden;
}

/* Hero dengan Background Image */
.hero-home {
  background-image: url("../img/welder.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay gelap untuk readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

/* Pattern overlay opsional */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.03)"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

/* Hero Slides */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.is-active {
  position: relative;
  opacity: 1;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 10;
}

.slider-controls button {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: none;
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.slider-controls button:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* === 7. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232, 169, 99, 0.3);
}

.btn.primary:hover {
  background: #d99952;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 169, 99, 0.4);
}

.btn.secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn.secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn.outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn.outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* === 8. CHECKLIST === */
.checklist {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--spacing-sm);
  color: var(--gray);
  font-size: 15px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* === 9. STATS SECTION === */
.home-stats {
  background: linear-gradient(
    135deg,
    rgba(45, 122, 86, 0.05) 0%,
    rgba(232, 169, 99, 0.05) 100%
  );
  padding: var(--spacing-xxl) 0;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  display: block;
  font-size: 16px;
  color: var(--gray);
  font-weight: 500;
}

/* === 10. FOOTER === */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.site-footer h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: var(--spacing-md);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--secondary);
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* === 11. WHATSAPP FLOAT === */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.wa-float:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* === 12. ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === 13. RESPONSIVE BREAKPOINTS === */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  :root {
    --header-height: 70px;
    --spacing-xl: 50px;
    --spacing-xxl: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-backdrop {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
  }

  .site-nav.active {
    right: 0;
  }

  .site-nav .menu {
    flex-direction: column;
    padding: 100px var(--spacing-md) var(--spacing-lg);
    gap: 0;
  }

  .site-nav .menu li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .menu a {
    padding: var(--spacing-md);
    border-radius: 0;
    display: block;
    color: var(--dark);
  }

  .hero {
    min-height: 500px;
  }

  .home-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
  :root {
    --font-size-base: 15px;
    --header-height: 65px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-xxl: 50px;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .logo img {
    height: 40px;
  }

  .site-nav {
    width: 100%;
    right: -100%;
  }

  .hero {
    min-height: 450px;
    background-attachment: scroll;
  }

  .hero-inner {
    padding: var(--spacing-md);
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    max-width: 280px;
  }

  .home-stats-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .stat-item {
    padding: var(--spacing-md);
  }

  .wa-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }

  /* Visi Misi Grid */
  div[style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
  }

  div[style*="grid-template-columns:1fr 1fr"] > div {
    margin-bottom: var(--spacing-md);
  }

  /* Background sections padding on mobile */
  div[style*="padding:60px"] {
    padding: var(--spacing-lg) var(--spacing-md) !important;
  }
}

/* Extra Small Mobile (320px - 479px) */
@media (max-width: 479px) {
  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 15px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 14px;
  }
}

/* === 14. UTILITY CLASSES === */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: var(--spacing-xs);
}
.mt-2 {
  margin-top: var(--spacing-sm);
}
.mt-3 {
  margin-top: var(--spacing-md);
}
.mt-4 {
  margin-top: var(--spacing-lg);
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}
.mb-2 {
  margin-bottom: var(--spacing-sm);
}
.mb-3 {
  margin-bottom: var(--spacing-md);
}
.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.pt-1 {
  padding-top: var(--spacing-xs);
}
.pt-2 {
  padding-top: var(--spacing-sm);
}
.pt-3 {
  padding-top: var(--spacing-md);
}
.pt-4 {
  padding-top: var(--spacing-lg);
}

.pb-1 {
  padding-bottom: var(--spacing-xs);
}
.pb-2 {
  padding-bottom: var(--spacing-sm);
}
.pb-3 {
  padding-bottom: var(--spacing-md);
}
.pb-4 {
  padding-bottom: var(--spacing-lg);
}

/* === 15. ACCESSIBILITY === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* === 16. PRINT STYLES === */
@media print {
  .site-header,
  .wa-float,
  .slider-controls,
  .nav-toggle,
  .nav-backdrop {
    display: none !important;
  }

  body {
    background: var(--white);
  }

  .section {
    page-break-inside: avoid;
  }
}

/* === 10. FACILITIES SLIDER === */
.facilities-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.facilities-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.facility-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.facility-slide.is-active {
  opacity: 1;
  position: relative;
}

.facility-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: var(--spacing-lg) var(--spacing-md);
  color: var(--white);
}

.facility-caption h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: var(--spacing-xs);
}

.facility-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin: 0;
}

/* Facilities Controls */
.facilities-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--spacing-sm);
  pointer-events: none;
  z-index: 10;
}

.facilities-controls button {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: none;
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.facilities-controls button:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Facilities Dots */
.facilities-dots {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-xs);
  z-index: 10;
}

.facilities-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.facilities-dots .dot.is-active {
  background: var(--white);
  width: 30px;
  border-radius: 6px;
}

.facilities-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Responsive Facilities */
@media (max-width: 767px) {
  .facilities-slider {
    border-radius: 8px;
  }

  .facility-caption {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .facility-caption h3 {
    font-size: 20px;
  }

  .facility-caption p {
    font-size: 14px;
  }

  .facilities-controls button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .facilities-dots .dot {
    width: 10px;
    height: 10px;
  }

  .facilities-dots .dot.is-active {
    width: 24px;
  }
}

/* === 11. GALLERY GRID (Projects) === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.g-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background: var(--white);
}

.g-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.g-item figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.g-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.g-item:hover img {
  transform: scale(1.05);
}

.g-item figcaption {
  padding: var(--spacing-md);
  background: var(--white);
}

.g-item figcaption h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.g-item .meta {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* Responsive Gallery */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
  }

  .g-item img {
    height: 240px;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .g-item img {
    height: 220px;
  }

  .g-item figcaption {
    padding: var(--spacing-sm);
  }

  .g-item figcaption h4 {
    font-size: 16px;
  }

  .g-item .meta {
    font-size: 13px;
  }
}

/* === 12. CONTACT PAGE === */

/* Grid 2 Columns */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

/* Contact Cards */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-cards .card {
  padding: var(--spacing-md);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.contact-cards .card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(45, 122, 86, 0.1);
}

.contact-cards .card h4 {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
}

.contact-cards .card h4 i {
  font-size: 18px;
  color: var(--secondary);
}

.contact-cards .card p {
  margin: 0;
  line-height: 1.6;
}

.contact-cards .card a {
  color: var(--primary);
  font-weight: 500;
}

.contact-cards .card a:hover {
  color: var(--secondary);
}

/* Contact Form */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 15px;
  transition: var(--transition);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 122, 86, 0.1);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.form button[type="submit"] {
  width: 100%;
  margin-top: var(--spacing-xs);
}

/* Form Status Messages */
.form-status {
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm);
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Map Container */
.map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map iframe {
  display: block;
  width: 100%;
}

/* Feature Cards (Kenapa Memilih Kami) */
.card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Responsive Contact */
@media (max-width: 991px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 767px) {
  .contact-cards {
    gap: var(--spacing-sm);
  }

  .contact-cards .card {
    padding: var(--spacing-sm);
  }

  .contact-cards .card h4 {
    font-size: 15px;
  }

  .form input,
  .form textarea {
    padding: 12px 16px;
    font-size: 14px;
  }

  .map iframe {
    height: 350px;
  }

  .card {
    padding: var(--spacing-md) var(--spacing-sm);
  }
}

/* === 13. SERVICE CARDS === */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.service-card h2 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
  text-align: left;
}

.service-card ul {
  margin-left: 18px;
  padding-left: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.service-card ul li {
  margin-bottom: 8px;
}

.service-card ul li:last-child {
  margin-bottom: 0;
}

/* Responsive Service Cards */
@media (max-width: 767px) {
  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .service-card {
    padding: var(--spacing-md);
  }

  .service-card h2 {
    font-size: 16px;
  }

  .service-card ul {
    font-size: 13px;
  }
}
/* BACKGROUND HERO BERGANTIAN */
.hero-home {
  animation: bgGanti 15s infinite;
}

@keyframes bgGanti {
  0%,
  33% {
    background-image: url("../img/welder.jpg");
  }
  34%,
  66% {
    background-image: url("../img/bg_profil_bca.jpg");
  }
  67%,
  100% {
    background-image: url("../img/bg_klien_bca.jpg");
  }
}
/* =========================================================
   FIX BLOG: konten (judul) tidak ketiban header fixed
   - Berlaku untuk halaman NON-home (yang tidak punya .hero-home)
   ========================================================= */

/* 1) Kasih ruang di atas konten */
main,
.page-content,
.blog-content,
.article,
.section {
  padding-top: calc(var(--header-height) + var(--spacing-md));
}

/* 2) Khusus halaman HOME (ada .hero-home), jangan dikasih padding (biar hero tetap nempel atas) */
body:has(.hero-home) main,
body:has(.hero-home) .page-content,
body:has(.hero-home) .blog-content,
body:has(.hero-home) .article,
body:has(.hero-home) .section {
  padding-top: 0;
}

/* 3) Biar header blog rapi (background putih + teks gelap) */
body:not(:has(.hero-home)) .site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body:not(:has(.hero-home)) .site-nav .menu a {
  color: var(--dark);
}

body:not(:has(.hero-home)) .nav-toggle {
  color: var(--dark);
}
/* =========================
   CONTACT FINAL (NO JS)
   ========================= */

/* Biar teks hero lebih kebaca */
.page-kontak .hero::before {
  background: rgba(0, 0, 0, 0.45);
}

/* Background section kontak biar ga flat */
.contact-section {
  background: linear-gradient(
    135deg,
    rgba(45, 53, 122, 0.05) 0%,
    rgba(232, 169, 99, 0.06) 100%
  );
}

/* Fix: kamu punya rule :has(.hero-home) yang bikin padding-top .section jadi 0 */
.page-kontak .section {
  padding-top: var(--spacing-xxl);
}

.contact-grid {
  align-items: flex-start;
  gap: 40px;
}

/* Judul & deskripsi */
.contact-title {
  margin-bottom: 10px;
}

.contact-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  max-width: 560px;
}

/* Card kiri */
.contact-card p {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
  line-height: 1.7;
}

.contact-label {
  color: #777;
  font-weight: 600;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 13px;
}

/* Panel kanan */
.contact-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: var(--spacing-lg);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions .btn {
  width: 100%;
  max-width: none;
}

.contact-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

/* Tombol WA + Email */
.btn-wa {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.btn-wa:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}

.btn-email {
  background: var(--white);
  color: var(--primary);
  border: 2px solid rgba(45, 53, 122, 0.45);
}

.btn-email:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Quick info */
.contact-quick {
  display: grid;
  gap: 12px;
}

.quick-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(45, 53, 122, 0.02);
}

.quick-item i {
  color: var(--secondary);
  font-size: 18px;
  margin-top: 2px;
}

.quick-title {
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  font-size: 14px;
}

.quick-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.quick-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 800;
  font-size: 13px;
}

/* Steps */
.contact-steps {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(232, 169, 99, 0.12) 0%,
    rgba(45, 53, 122, 0.06) 100%
  );
  border: 1px solid rgba(45, 53, 122, 0.12);
}

.steps-title {
  margin: 0 0 8px;
  font-weight: 900;
  color: var(--dark);
  font-size: 14px;
}

.steps-list {
  margin: 0;
  padding-left: 18px;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}

/* FAQ (native, tanpa JS) */
.contact-faq {
  margin-top: 16px;
}

.faq-title {
  margin: 0 0 10px;
  font-weight: 900;
  color: var(--dark);
  font-size: 14px;
}

.contact-faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  margin-bottom: 10px;
}

.contact-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--primary);
  list-style: none;
}

.contact-faq summary::-webkit-details-marker {
  display: none;
}

.contact-faq details p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* Sticky off di tablet/mobile */
@media (max-width: 991px) {
  .contact-panel {
    position: static;
  }
}
