/* ============================================
   Kreativ Web Solutions - Custom Styles
   Colors: Signal Red #D42B2B | Dark #1a1a1a | White
   ============================================ */

:root {
  --red: #D42B2B;
  --red-hover: #B91F1F;
  --red-light: #F44336;
  --dark: #1a1a1a;
  --dark-deep: #111111;
  --light-bg: #f8f9fa;
  --text-dark: #333;
  --text-muted: #666;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ---- Navbar ---- */
.navbar {
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.navbar-brand img {
  transition: transform 0.3s;
}
.navbar-brand:hover img {
  transform: scale(1.05);
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--red) !important;
}
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
}
.dropdown-item:hover {
  background-color: var(--red);
  color: #fff;
}

/* ---- Hero Section ---- */
.hero-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-deep) 100%);
  color: #fff;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,43,43,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero-section p {
  font-size: 1.15rem;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
}

/* ---- Buttons ---- */
.btn-red,
.btn-warning {
  background-color: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 28px;
  transition: all 0.3s;
}
.btn-red:hover,
.btn-warning:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212,43,43,0.4);
}
.btn-outline-red,
.btn-outline-warning {
  border-color: var(--red);
  color: var(--red);
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 28px;
  transition: all 0.3s;
}
.btn-outline-red:hover,
.btn-outline-warning:hover {
  background-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.btn-dark-custom {
  background-color: var(--dark);
  color: #fff;
  border-radius: 30px;
  padding: 10px 28px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-dark-custom:hover {
  background-color: var(--dark-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26,26,26,0.4);
}
/* Keep .btn-navy for backward compat in HTML */
.btn-navy {
  background-color: var(--dark);
  color: #fff;
  border-radius: 30px;
  padding: 10px 28px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-navy:hover {
  background-color: var(--dark-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26,26,26,0.4);
}

/* ---- Section Titles ---- */
.section-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
}
.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--red);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

/* ---- Cards ---- */
.feature-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.feature-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  color: #fff;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.product-card .card-header-bg {
  background: linear-gradient(135deg, var(--dark), var(--dark-deep));
  padding: 2rem;
  text-align: center;
  color: #fff;
}
.product-card .card-header-bg i {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 1rem;
}
.product-card .card-body {
  padding: 2rem;
}

/* ---- Stats Section ---- */
.stats-section {
  background: linear-gradient(135deg, var(--dark), var(--dark-deep));
  color: #fff;
  padding: 4rem 0;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--red);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card p {
  padding-top: 1.5rem;
}

/* ---- About / Why Choose ---- */
.about-section {
  background-color: var(--light-bg);
}
.check-list li {
  padding: 0.5rem 0;
  font-size: 1rem;
}
.check-list li i {
  color: var(--red);
  margin-right: 0.5rem;
}

/* ---- Product Page Features ---- */
.feature-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.feature-list-item .icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-right: 1rem;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light-bg);
  border-radius: 30px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0.3rem;
  transition: all 0.3s;
}
.platform-badge:hover {
  background: var(--red);
  color: #fff;
}

/* ---- Careers ---- */
.job-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--red);
  transition: transform 0.3s, box-shadow 0.3s;
}
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.job-card h3 {
  color: var(--dark);
  font-weight: 600;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}
.job-meta span {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.job-meta i {
  color: var(--red);
  margin-right: 0.3rem;
}

/* ---- Contact ---- */
.contact-info-card {
  background: linear-gradient(135deg, var(--dark), var(--dark-deep));
  color: #fff;
  border-radius: 12px;
  padding: 2.5rem;
}
.contact-info-card h3 {
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon-circle {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  background: rgba(212,43,43,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  margin-right: 1rem;
}
.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.2rem rgba(212,43,43,0.25);
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 {
  font-weight: 700;
}
.cta-section .btn {
  border-radius: 30px;
  padding: 12px 36px;
  font-weight: 600;
}

/* ---- Admin Dashboard ---- */
.admin-header {
  background: var(--dark);
  color: #fff;
  padding: 1rem 0;
}
.admin-table th {
  background: var(--dark);
  color: #fff;
  font-weight: 500;
}

/* ---- Utilities ---- */
.bg-dark-custom {
  background-color: var(--dark);
}
.text-red {
  color: var(--red);
}
.bg-red {
  background-color: var(--red);
}
/* Backward compat */
.text-gold {
  color: var(--red);
}
.text-warning {
  color: var(--red) !important;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .navbar-collapse {
    background-color: var(--dark);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
  }
  .btn-warning.px-4 {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
  }
}
@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.6rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .feature-card {
    padding: 1.5rem 1rem;
  }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dark-deep);
}
