/* ============================================
   TIGA KARUNIA JAYA - HOMEPAGE REDESIGN
   Premium, Modern, Corporate Design
   Brand Colors: Maroon (#B80F0A) & Gold (#D4A017)
   ============================================ */

/* Typography */
body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title-main,
.layanan-subtitle,
.fasilitas-title,
.kontak-title {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 700;
}

/* ============================================
   HERO SECTION REDESIGN
   ============================================ */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: url('../img/pages-tigakaruniajaya/Foto 1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 100px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75); /* 75% black overlay - same as footer */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  color: #D4A017; /* Gold color for branding */
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.btn-hero-primary {
  background: #B80F0A;
  color: #FFFFFF;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(184,15,10,0.4);
  border: none;
}

.btn-hero-primary:hover {
  background: #8C0C08;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(184,15,10,0.5);
}

.btn-hero-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: #FFFFFF;
  color: #B80F0A;
  transform: translateY(-3px);
  border-color: #FFFFFF;
}

/* Trust Badges */
.hero-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.trust-badge-item i {
  font-size: 2.5rem;
  color: #D4A017 !important; /* Gold color for branding */
  margin-bottom: 5px;
}

.trust-badge-item span {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

/* ============================================
   TENTANG KAMI REDESIGN
   ============================================ */
.tentang-kami-section {
  padding: 80px 0;
}

.keunggulan-item i {
  color: #D4A017 !important;
}

/* ============================================
   VISI & MISI REDESIGN
   ============================================ */
.visi-misi-section {
  background: #F2F2F2;
  padding: 80px 0;
}

.visi-misi-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 40px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.visi-misi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(184,15,10,0.1);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #D4A017, #B88A12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  color: #FFFFFF !important; /* White icon inside gold circle */
  font-size: 2rem;
}

.card-icon i {
  color: #FFFFFF !important; /* White icon inside gold circle */
}

.card-title {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #B80F0A;
  margin-bottom: 20px;
  text-align: center;
}

.card-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666666;
  text-align: center;
}

.misi-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.misi-list li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  color: #666666;
  line-height: 1.8;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.misi-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #D4A017;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ============================================
   LAYANAN REDESIGN
   ============================================ */
.layanan-kami-section {
  padding: 80px 0;
}

.layanan-item {
  margin-bottom: 80px;
}

.layanan-item:nth-child(even) .row {
  flex-direction: row-reverse;
}

.layanan-subtitle {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #B80F0A;
  margin-bottom: 20px;
}

.feature-badge {
  background: transparent;
  color: #B80F0A;
  border: 2px solid #B80F0A;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.feature-badge i {
  color: #D4A017;
}

/* ============================================
   PRODUK ARSIP REDESIGN
   ============================================ */
.produk-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.produk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(184,15,10,0.1);
}

.produk-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #D4A017, #B88A12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: #FFFFFF !important; /* White icon inside gold circle */
  font-size: 2rem;
}

.produk-icon i {
  color: #FFFFFF !important; /* White icon inside gold circle */
}

.produk-card h4 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #B80F0A;
  margin-bottom: 15px;
}

.produk-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.produk-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666666;
  line-height: 1.6;
}

.produk-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #D4A017;
  font-weight: bold;
  font-size: 1.5rem;
}

/* ============================================
   FASILITAS REDESIGN
   ============================================ */
.fasilitas-section {
  padding: 80px 0;
}

.fasilitas-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 0;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
}

.fasilitas-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #D4A017, #B88A12);
}

.fasilitas-card {
  padding-top: 30px;
}

.fasilitas-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #D4A017, #B88A12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: #FFFFFF !important; /* White icon inside gold circle */
  font-size: 1.8rem;
}

.fasilitas-icon i {
  color: #FFFFFF !important; /* White icon inside gold circle */
}

.fasilitas-title {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #B80F0A;
  margin-bottom: 20px;
  text-align: center;
}

.fasilitas-list li i {
  color: #D4A017 !important;
}

/* ============================================
   CLIENT SECTION REDESIGN
   ============================================ */
.client-section {
  background: #F2F2F2;
  padding: 80px 0;
}

.client-logo-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #E0E0E0;
}

.client-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(184,15,10,0.1);
}

/* ============================================
   LEGALITAS REDESIGN
   ============================================ */
.legalitas-section {
  padding: 80px 0;
}

.legalitas-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #D4A017, #B88A12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: #FFFFFF !important; /* White icon inside gold circle */
  font-size: 2rem;
}

.legalitas-icon i {
  color: #FFFFFF !important; /* White icon inside gold circle */
}

.legalitas-card h4 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #B80F0A;
  margin-bottom: 10px;
  text-align: center;
}

.legalitas-number {
  font-size: 1.2rem;
  color: #B80F0A;
  font-weight: 600;
  text-align: center;
}

/* ============================================
   CONTACT REDESIGN
   ============================================ */
.kontak-section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .kontak-section {
    padding: 35px 0 !important; /* Reduced padding for mobile */
  }
}

.kontak-title {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #B80F0A;
  margin-bottom: 25px;
}

.kontak-item i {
  color: #D4A017 !important;
}

.btn-primary {
  background: #B80F0A;
  border-color: #B80F0A;
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #8C0C08;
  border-color: #8C0C08;
  color: #FFFFFF;
}

.btn-outline-primary {
  border-color: #B80F0A;
  color: #B80F0A;
}

.btn-outline-primary:hover {
  background: #B80F0A;
  border-color: #B80F0A;
  color: #FFFFFF;
}

/* ============================================
   CTA SECTION REDESIGN
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(184,15,10,0.85) 0%, rgba(140,12,8,0.85) 100%), url('../img/pages-tigakaruniajaya/Foto 1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
}

.cta-button {
  background: #D4A017;
  color: #FFFFFF;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}

.cta-button:hover {
  background: #B88A12;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.4);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  /* Global Mobile Rules */
  section {
    padding: 35px 0 !important; /* Reduced from 50px to save space */
  }
  
  h1, .hero-title {
    font-size: 28px !important;
  }
  
  body {
    font-size: 15px;
  }
  
  /* Hero Mobile */
  .hero-section {
    min-height: 500px;
    padding: 60px 15px;
    background-attachment: scroll;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75) !important; /* 75% black overlay - same as desktop */
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .hero-content .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
  }
  
  .hero-title {
    font-size: 28px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }
  
  .hero-subtitle {
    font-size: 16px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }
  
  .hero-buttons {
    flex-direction: row !important;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
  
  .btn-hero-primary,
  .btn-hero-outline {
    flex: 1 !important;
    max-width: calc(50% - 5px) !important;
    padding: 12px 15px !important;
    font-size: 0.9rem !important;
    width: auto !important;
  }
  
  .hero-trust-badges {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 20px !important;
    max-width: 400px !important;
    margin: 20px auto 0 !important;
    padding: 20px 0 !important;
    justify-items: center !important;
    align-items: center !important;
    overflow: visible !important;
  }
  
  .trust-badge-item {
    flex-shrink: 0;
    width: 100% !important;
    max-width: 180px !important;
  }
  
  .trust-badge-item i {
    font-size: 2rem;
    color: #D4A017 !important; /* Gold color for branding */
  }
  
  .trust-badge-item span {
    font-size: 0.85rem;
    white-space: normal !important;
  }
  
  /* Tentang Mobile */
  .tentang-kami-section {
    padding: 35px 0 !important; /* Reduced padding for mobile */
  }
  
  .tentang-kami-section .row {
    flex-direction: column;
  }
  
  .keunggulan-item {
    margin-bottom: 12px;
  }
  
  /* Visi Misi Mobile */
  .visi-misi-section {
    padding: 35px 0 !important; /* Reduced padding for mobile */
  }
  
  .visi-misi-section .row {
    flex-direction: column;
  }
  
  .card-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  /* Layanan Mobile */
  .layanan-item .row {
    flex-direction: column !important;
  }
  
  .layanan-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
  }
  
  .feature-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
    padding: 10px 15px;
  }
  
  /* Produk Mobile */
  .produk-section {
    padding: 35px 0 !important; /* Reduced padding for mobile */
  }
  
  .produk-card {
    margin-bottom: 20px; /* Reduced margin */
  }
  
  /* Client Mobile */
  .client-section .col-lg-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  /* Legalitas Mobile - 2 columns, no slide */
  .legalitas-section {
    padding: 35px 0 !important; /* Reduced padding for mobile */
  }
  
  .legalitas-section .row {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
  }
  
  .legalitas-section .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 15px !important; /* Reduced margin */
  }
  
  .legalitas-card {
    padding: 20px 15px;
  }
  
  .legalitas-card h4 {
    font-size: 0.95rem;
  }
  
  /* Fasilitas Mobile */
  .fasilitas-section {
    padding: 35px 0 !important; /* Reduced padding for mobile */
  }
  
  /* Client Mobile */
  .client-section {
    padding: 35px 0 !important; /* Reduced padding for mobile */
  }
  
  /* Layanan Mobile - Alternating backgrounds with reduced spacing */
  .layanan-kami-section {
    padding: 35px 0 !important; /* Reduced padding for mobile */
  }
  
  .layanan-item {
    margin-bottom: 25px !important; /* Reduced from 32px */
  }
  
  .layanan-item:nth-child(1) {
    background: #FFFFFF !important;
    padding: 25px 15px !important; /* Reduced padding */
    margin-bottom: 25px !important;
  }
  
  .layanan-item:nth-child(2) {
    background: #F8F8F8 !important;
    padding: 25px 15px !important; /* Reduced padding */
    margin-bottom: 25px !important;
    border-radius: 12px !important;
  }
  
  .layanan-item:nth-child(3) {
    background: #FFFFFF !important;
    padding: 25px 15px !important; /* Reduced padding */
    margin-bottom: 25px !important;
  }
  
  /* Reduce section margins for mobile */
  section.mb-5,
  .mb-5 {
    margin-bottom: 25px !important; /* Reduced from Bootstrap's default ~3rem */
  }
  
  /* Reduce section title margins */
  .section-title-main {
    margin-bottom: 12px !important; /* Reduced spacing for mobile */
    padding-bottom: 6px !important; /* Reduced padding for mobile */
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 450px;
    padding: 50px 15px;
  }
  
  .hero-title {
    font-size: 24px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-subtitle {
    font-size: 15px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }
  
  .btn-hero-primary,
  .btn-hero-outline {
    flex: 1;
    max-width: calc(50% - 4px);
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  section {
    padding: 50px 0 !important;
  }
  
  .card-icon,
  .produk-icon,
  .legalitas-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
}

