/* ===================================
   Service Center Wika - Styles CSS
   Matching servicewikajakarta.co.id
   =================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #ff9800;
  --orange-dark: #ff6f00;
  --orange-light: #ffa726;
  --dark-bg: #1a1a1a;
  --dark-bg2: #2b2b2b;
  --dark-card: #1e1e1e;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --text-dark: #2c3e50;
  --text-gray: #666;
  --font: 'Roboto', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); background: #fff; overflow-x: hidden; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: 70px;
  border-bottom: none;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  flex-wrap: nowrap;
}
.site-logo {
  flex-shrink: 0;
  z-index: 1001;
}
.site-logo img {
  height: 60px;
  width: auto;
}
/* Logo styling for header */
.site-logo-img img,
.custom-logo-link img {
  height: 60px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .site-logo-img img,
  .custom-logo-link img {
    height: 50px;
  }
}
@media (max-width: 480px) {
  .site-logo-img img,
  .custom-logo-link img {
    height: 40px;
  }
}
.logo-text-fallback {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
}
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.main-nav ul { display: flex; list-style: none; gap: 30px; align-items: center; }
.main-nav ul li a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav ul li a:hover { color: var(--orange-light); }
.mobile-toggle {
  display: none;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  z-index: 1001;
}

/* ===== HERO SECTION ===== */
.section-hero {
  background: 
    linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%),
    url('https://servicewikajakarta.co.id/wp-content/uploads/2021/05/WhatsApp-Image-2021-05-25-at-19.14.40.jpeg') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 30px 80px;
}
.hero-overlay { display: none; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0;
  text-align: left;
  color: #fff;
}
.hero-subtitle {
  font-size: 0.95rem;
  color: var(--orange-light);
  margin-bottom: 15px;
  font-weight: 500;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 25px;
  color: #fff;
}
.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
  max-width: 550px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
  align-items: center;
}
.btn-hero-primary {
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.btn-hero-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-hero-outline {
  background: transparent;
  color: var(--orange-light);
  padding: 14px 0;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--orange-light);
  transition: all 0.3s;
  display: inline-block;
}
.btn-hero-outline:hover { color: #fff; border-color: #fff; }
.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.hero-location i { color: var(--orange-light); }
.hero-social {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.2s;
  color: #fff;
}
.social-icon:hover { transform: scale(1.1); }
.social-icon.facebook { background: #1877f2; }
.social-icon.twitter { background: #1da1f2; }
.social-icon.youtube { background: #ff0000; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ===== ABOUT SECTION ===== */
.section-about {
  background: #fff;
  padding: 70px 0;
}
.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.section-subheading {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 700px;
}
.checklist {
  list-style: none;
  margin-bottom: 30px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--text-dark);
}
.checklist li i { color: var(--orange); font-size: 1.1rem; }
.about-text { margin-bottom: 30px; line-height: 1.8; color: var(--text-gray); }
.about-text p { margin-bottom: 10px; }
.divider { border: none; border-top: 1px solid #e0e0e0; margin: 30px 0; }
.contact-boxes { display: flex; gap: 30px; flex-wrap: wrap; }
.contact-box {
  display: flex;
  align-items: center;
  gap: 15px;
}
.contact-box-icon {
  width: 50px;
  height: 50px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-box-content h6 { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 3px; }
.contact-box-content h6 a { color: var(--orange); }
.contact-box-content p { font-size: 0.9rem; color: var(--text-gray); }

/* ===== SERVICES SECTION (4 DARK COLUMNS) ===== */
.section-services { background: #1a1a1a; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  background: var(--dark-card);
  padding: 50px 30px;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
  position: relative;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: #252d40; }
.service-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 15px;
  font-family: 'Roboto Slab', serif;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}
.service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 25px;
}
.btn-learn-more {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s;
}
.btn-learn-more:hover { background: var(--orange-dark); }

/* ===== WHY US SECTION ===== */
.section-why {
  background: #1a1a1a;
  padding: 70px 0;
}
.why-icon { margin-bottom: 15px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #252d40;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.why-icon-box {
  width: 50px;
  height: 50px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-content h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.why-content p { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ===== CTA BANNER ===== */
.section-cta-banner {
  background: var(--dark-bg);
  padding: 50px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner-text h6 {
  font-size: 0.85rem;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.cta-banner-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  max-width: 500px;
}
.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}
.btn-cta-wa:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-cta-wa i { font-size: 1.1rem; }

/* ===== TESTIMONIALS ===== */
.section-testimonials {
  background: #1a1a1a;
  padding: 70px 0;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.testi-card {
  background: #252d40;
  padding: 30px;
  border-radius: 8px;
  border-top: 3px solid var(--orange);
}
.testi-quote { color: var(--orange); font-size: 1.5rem; margin-bottom: 15px; }
.testi-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testi-author strong { display: block; font-size: 0.9rem; color: #fff; }
.testi-author span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ===== GALLERY ===== */
.section-gallery {
  background: #1a1a1a;
  padding: 70px 0;
}
.gallery-grid, #gallery-1 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 40px !important;
  margin-top: 30px !important;
}
.gallery-item {
  overflow: hidden !important;
  border-radius: 6px !important;
  padding: 30px !important;
  background: #1e1e1e !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  min-height: 250px !important;
}
.gallery-item .gallery-icon {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.gallery-item img,
.gallery-item .gallery-icon img,
#gallery-1 .gallery-item img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s !important;
  max-height: 180px !important;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ===== AUTHORIZED ===== */
.section-authorized {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}
.authorized-logo {
  margin: 0 auto 20px;
  max-height: 80px;
  width: auto;
}
.section-authorized h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.star-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 25px;
  color: #f39c12;
  font-size: 1.2rem;
}
.star-rating span { color: var(--text-gray); font-size: 0.9rem; margin-left: 5px; }

/* ===== CTA FINAL ===== */
.section-cta-final {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}
.section-cta-final .container { position: relative; z-index: 1; }
.section-cta-final h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 15px;
}
.section-cta-final p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: all 0.3s;
}
.btn-cta-phone:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ===== FOOTER ===== */
.site-footer {
  background: #eeeeee;
  padding: 20px 0;
  text-align: center;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-inner p { font-size: 0.85rem; color: #3a3a3a; }
.footer-inner a { color: var(--orange); }

/* ===== FLOATING WHATSAPP ===== */
.floating-wa {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-wa 2s infinite;
}
.floating-wa:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.6); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.7); }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1025px) {
  /* Desktop - foto gallery lebih kecil */
  .gallery-item {
    padding: 50px !important;
    min-height: 320px !important;
  }
  .gallery-item img {
    max-height: 120px !important;
    max-width: 70% !important;
    width: auto !important;
  }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 999;
    flex: none;
  }
  .main-nav.active { display: block; }
  .main-nav.active ul { flex-direction: column; gap: 15px; }
  .main-nav.active ul li a { color: #fff; }
  .mobile-toggle { display: flex; align-items: center; }
  .hero-title { font-size: 2rem; }
  .section-hero { padding: 100px 20px 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .section-heading { font-size: 1.5rem; }
  
  /* Gallery di tablet - foto lebih besar */
  .gallery-item {
    padding: 25px !important;
    min-height: 200px !important;
  }
  .gallery-item img {
    max-height: 150px !important;
    max-width: 90% !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-final-buttons { flex-direction: column; align-items: center; }
  
  /* Gallery di mobile - foto LEBIH BESAR - HIGH SPECIFICITY */
  /* Mirror inline CSS for consistency */
  body #gallery-1,
  body .gallery,
  body .wp-block-gallery,
  body .blocks-gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  body #gallery-1.gallery {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Defensive CSS for reset WordPress/Elementor overrides */
  #gallery-1 .gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px !important;
    min-height: 300px !important;
    background: #1e1e1e !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  body #gallery-1 .gallery-item,
  body .gallery-item,
  body figure.gallery-item {
    padding: 40px !important;
    min-height: 300px !important;
    background: #1e1e1e !important;
  }
  
  /* HIGH SPECIFICITY IMAGE STYLES */
  body #gallery-1 .gallery-item .gallery-icon img,
  body #gallery-1 .gallery-item img,
  #gallery-1 .gallery-item img {
    max-height: 250px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
  }
  
  /* Attribute selectors for WordPress elements */
  #gallery-1 .gallery-item[class*="gallery"] img {
    max-height: 250px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: auto !important;
    object-fit: contain !important;
  }
  
  figure.gallery-item[id*="post"] img {
    max-height: 250px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: auto !important;
    object-fit: contain !important;
  }
  
  .gallery-item img {
    max-height: 250px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: auto !important;
  }
}
