/* Global Styles */
:root {
  --primary-color: #c62828; /* Merah utama (mirip merah darah/dark red) */
  --primary-dark: #8e0000; /* Versi gelap */
  --primary-light: #ef5350; /* Versi terang */
  --text-color: #333;
  --light-text: #666;
  --bg-color: #f9f9f9;
  --white: #fff;
  --black: #000;
  --gray: #e0e0e0;
  --dark-gray: #757575;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

.container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
  position: relative;
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.nav-link:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

.hero {
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-content h2 {
  color: grey;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("Upload/Background/Background1.webp");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.divider {
  width: 100px;
  height: 3px;
  background-color: var(--white);
  margin: 25px 0;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #000;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.cta-button:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.cta-button i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 100px 0;
    text-align: center;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero h3 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .divider {
    margin: 20px auto;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 20px 0;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero h3 {
    font-size: 20px;
  }
}

/* About Section Layout */
.about-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.about-section .container {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content {
  flex: 0 0 55%; /* Lebar konten dikurangi */
  padding-left: 0; /* Pastikan rata kiri */
  margin-right: auto; /* Paksa ke kiri */
}

.hero h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--primary-color);
}
section.about-section .about-content h2 {
  color: var(--primary-color);
}

section.about-section .about-content p strong {
  font-weight: 600;
  padding: 0 2px;
  border-radius: 3px;
  background-color: rgba(76, 175, 80, 0.1);
}

section.about-section .mission h3,
section.about-section .vision h3 {
  text-decoration: underline;
  text-decoration-color: var(--primary-light);
  text-underline-offset: 5px;
}

/* Slider Styles */
.image-slider {
  flex: 0 0 40%; /* Lebar gambar diperbesar */
  margin-left: auto; /* Paksa ke kanan */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-container {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

.slide {
  width: 33.3333%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Slider Indicators */
.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.indicator.active {
  background-color: #c62828;
}

/* Content Styles */
.about-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

.about-section p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.mission-vision {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.mission,
.vision {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-info {
  display: flex;
  gap: 20px;
}

.info-box {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.whatsapp-link {
  background-color: #ef5350;
  color: white !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-section .container {
    flex-direction: column;
  }

  .image-slider {
    width: 100%;
    order: -1;
  }

  .mission-vision {
    flex-direction: column;
  }

  .contact-info {
    flex-direction: column;
  }
}
/* whatsapp css */
/* Info Box Styles */
.info-box {
  padding: 25px;
  background-color: var(--bg-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: block;
  text-decoration: none;
  color: var(--text-color);
}

.info-box h4 {
  color: var(--primary-dark);
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-box p {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 16px;
  margin: 0;
}

.whatsapp-link.info-box:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.whatsapp-link.info-box:hover h4,
.whatsapp-link.info-box:hover i {
  color: var(--white);
}

.info-box i {
  margin-left: 8px;
  transition: all 0.3s ease;
  color: var(--primary-color);
}
.clients-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--white);
}
.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}
.section-description {
  color: #6b7280;
  margin-bottom: 2rem;
}

.clients-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.clients-slider {
  width: 100%;
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.client-logo {
  flex: 0 0 auto;
  width: 200px;
  margin: 0 20px;
}

.client-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Animasi */
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* project css */
/* Projects Section Style */
.projects-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 180px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
}

.project-name {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.project-client {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.project-location {
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.project-location i {
  margin-right: 5px;
  color: #3498db;
}

.view-more {
  text-align: center;
  margin-top: 40px;
}

.view-more-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.view-more-btn:hover {
  background-color: #2980b9;
}

/* About Hero Section */
.about-hero {
  display: flex;
  align-items: center;
  padding: 60px 0;
  gap: 40px;
}

.about-hero img {
  width: 45%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
  width: 55%;
}

.company-name {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.section-title {
  color: var(--primary-dark);
  font-size: 1.8rem;
  margin: 40px 0 20px;
  position: relative;
  padding-bottom: 10px;
}

.section-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

/* Visi Misi Section */
.vision-mission {
  display: flex;
  gap: 30px;
  margin: 40px 0;
}

.vision,
.mission {
  flex: 1;
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Logo Philosophy */
.logo-philosophy {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 40px 0;
}

.logo-philosophy img {
  width: 200px;
  height: auto;
}

/* Partners Section */
.partners {
  margin: 60px 0;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.partner-logos img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-logos img:hover {
  filter: grayscale(0%);
}

/* Services Section */
.services {
  margin: 60px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero,
  .logo-philosophy,
  .vision-mission {
    flex-direction: column;
  }

  .about-hero img,
  .about-content {
    width: 100%;
  }

  .partner-logos img {
    height: 60px;
  }
}
/* Transisi umum */
img,
a,
button,
.card,
.project-card,
.client-logo {
  transition: all 0.3s ease;
}

/* Hover efek gambar */
.project-card img:hover,
.client-logo:hover {
  transform: scale(1.05);
}

/* Tombol CTA */
.cta-button {
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-dark); /* #8e0000 */
  transform: scale(1.05);
}
