@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --primary-color: #991B1B; /* Legacy */
  --secondary-color: #111111; /* Legacy */
  --accent-red: #991B1B;
  --accent-light-red: #DC2626;
  --text-main: #1A1A1A;
  --text-muted: #6B7280;
  --bg-main: #FFFFFF;
  --bg-secondary: #F9FAFB;
  --card-bg: rgba(255, 255, 255, 0.85);

  /* New Volt Premium Variables */
  --volt-ink: #10131a;
  --volt-ink-soft: #1b202b;
  --volt-red: #e8412c;
  --volt-spark: #ffc145;
  --volt-line: rgba(255,255,255,0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Outfit', sans-serif;
}

/* Bootstrap Overrides untuk memastikan Merah Tua yang tampil */
.text-primary { color: var(--accent-red) !important; }
.bg-primary { background-color: var(--accent-red) !important; }
.border-primary { border-color: var(--accent-red) !important; }

/* Top Bar CSS */
.top-bar {
  background-color: var(--secondary-color);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 10px 0;
  transition: transform 0.4s ease;
  z-index: 1031;
  position: relative;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  margin-left: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--accent-red);
  transform: translateY(-2px);
}

/* Glassmorphism Navbar (Putih) */
.navbar-glass {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-glass.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* Navbar Brand Animation */
.brand-logo:hover {
  transform: scale(1.05);
}

/* Mengubah warna teks navbar light & Animasi Modern */
.navbar-light .navbar-nav .nav-link {
  color: var(--text-main) !important;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 5px;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--accent-red) !important;
}

.navbar-light .navbar-brand {
  color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Gradasi Merah Tua yang sangat tipis dan Abu-abu */
  background: radial-gradient(circle at top right, rgba(153, 27, 27, 0.08) 0%, transparent 50%),
              radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.03) 0%, transparent 40%);
  padding-top: 80px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  /* Gradasi teks Hitam ke Merah Tua */
  background: linear-gradient(to right, #000000, #4A0404);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(to right, var(--accent-red), var(--accent-light-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--accent-red), #7F1D1D);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(153, 27, 27, 0.4);
  color: white;
}

/* Glowing Button Effect */
.btn-glow {
  position: relative;
}
.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px;
  background: inherit;
  z-index: -1;
  filter: blur(10px);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.btn-glow:hover::before {
  opacity: 0.9;
}

.btn-outline-custom {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--secondary-color);
  color: white;
}

/* Section Styling */
.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.section-title span {
  color: var(--accent-red);
}

/* Glass Cards (Services) */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(153, 27, 27, 0.3);
  box-shadow: 0 20px 40px rgba(153, 27, 27, 0.1);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: rgba(153, 27, 27, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.glass-card h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Feature List */
.feature-list li {
  margin-bottom: 1rem;
  color: var(--text-main);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.feature-list li i {
  color: var(--accent-red);
  margin-right: 10px;
}

/* Footer (Disisipkan warna Hitam) */
.footer {
  background-color: var(--secondary-color);
  padding: 60px 0 30px;
  border-top: 5px solid var(--accent-red);
}

.footer-link {
  color: #A3A3A3;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: white;
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .section-padding { padding: 60px 0; }
  .hero-section { text-align: center; }
  .hero-section .d-flex { justify-content: center; }
  .hero-title-dark { font-size: 2.8rem; }
}

/* ============ DUAL-COLOR THEME (HOME PAGE) ============ */
body {
  background-color: #ffffff;
}

/* ZONA PUTIH (HERO, SERVICES, BLOG, PORTFOLIO) */
.section-dual-white {
  background-color: #ffffff;
  color: var(--volt-dark-red);
  position: relative;
  padding-top: 100px;
}
.section-dual-white .section-title {
  color: var(--volt-dark-red);
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  letter-spacing: -0.02em;
}
.section-dual-white .section-title span {
  color: var(--volt-red);
}
.hero-dual-title {
  font-family: 'Sora', sans-serif;
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--volt-dark-red);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-dual-title span {
  color: var(--volt-red);
}

/* ZONA MERAH TUA (TESTIMONIALS & KHUSUS) */
.section-dual-red {
  background-color: var(--volt-red);
  color: #ffffff;
  padding: 100px 0;
}
.section-dual-red .section-title {
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
}
.section-dual-red .section-title span {
  color: #ffcccc; /* Putih kemerahan muda */
}

/* CARDS */
.card-dual-white {
  background: #ffffff;
  border: 1px solid rgba(153, 27, 27, 0.1);
  border-radius: 20px;
  padding: 3rem 2rem;
  transition: all 0.4s ease;
  height: 100%;
  box-shadow: 0 10px 30px rgba(153, 27, 27, 0.05);
}
.card-dual-white:hover {
  transform: translateY(-8px);
  border-color: var(--volt-red);
  box-shadow: 0 20px 40px rgba(153, 27, 27, 0.15);
}
.card-dual-white h4, .card-dual-white h5 { color: var(--volt-dark-red); font-family: 'Sora', sans-serif; font-weight: 700; }
.card-dual-white p { color: rgba(59, 10, 10, 0.7); }
.icon-wrapper-dual {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(153, 27, 27, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--volt-red);
  margin-bottom: 2rem;
}

.portfolio-card-dual {
  background: #ffffff;
  border: 1px solid rgba(153, 27, 27, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
}
.portfolio-card-dual:hover {
  transform: translateY(-8px);
  border-color: var(--volt-red);
  box-shadow: 0 15px 30px rgba(153, 27, 27, 0.15);
}
.portfolio-card-dual h5 { color: var(--volt-dark-red); font-family: 'Sora', sans-serif; font-weight: 700; }
.portfolio-card-dual p { color: rgba(59, 10, 10, 0.7); }

.testi-card-dual {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.testi-card-dual i.fa-quote-left {
  color: rgba(153, 27, 27, 0.05);
  font-size: 3rem;
  position: absolute;
  top: 2rem;
  right: 2rem;
}
.testi-card-dual p.fst-italic { color: var(--volt-dark-red); font-size: 1.1rem; line-height: 1.8; }
.testi-card-dual h6 { color: var(--volt-dark-red); font-family: 'Sora', sans-serif; }
.testi-card-dual small { color: var(--volt-red); font-weight: 600; }

.badge-dual {
  background: rgba(153, 27, 27, 0.05);
  color: var(--volt-red);
  padding: 0.6em 1.2em;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: inline-block;
}
.badge-dual-red {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: inline-block;
}
