/* ------------------------------------------------------------
  Zeltech - Light Theme (White Background, Dark Text)
  Primary color: Red (#e31e24) for buttons, borders, highlights
  Icons: Red or original brand colors
  ------------------------------------------------------------ */

:root {
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #6c757d;
  --dark: #1a1a1a;
  --black: #0a0a0a;
  --red: #e31e24;
  --red-dark: #b1171c;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Bootstrap Overrides */
.btn-primary {
  background-color: var(--red);
  border-color: var(--red);
  padding: 12px 28px;
  font-weight: 600;
  transition: var(--transition);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
}
.btn-outline-primary {
  border-color: var(--red);
  color: var(--red);
}
.btn-outline-primary:hover {
  background-color: var(--red);
  color: var(--white);
}
.btn-danger {
  background-color: var(--red);
  border-color: var(--red);
}
.btn-danger:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
}
.bg-danger {
  background-color: var(--red) !important;
}

/* Navbar (Light, Sticky) */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar.scrolled {
  padding: 0.5rem 0;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.navbar-brand img {
  height: 45px;
}
.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}
.navbar-nav .nav-link:hover {
  color: var(--red);
}

/* Hero Sections (Light Background) */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(227,30,36,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}
.hero .highlight {
  color: var(--red);
  border-bottom: 3px solid var(--red);
  display: inline-block;
}
.hero p {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 600px;
}
/* Specific hero backgrounds (optional: can use gradient or plain white) */
.hero-home {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
.hero-about,
.hero-services,
.hero-solutions,
.hero-portfolio,
.hero-blog,
.hero-contact,
.hero-support {
  background: var(--light-gray);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.service-card,
.portfolio-card,
.blog-card,
.solution-card,
.product-card,
.support-card,
.testimonial-card,
.feature-card,
.value-card,
.process-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
  height: 100%;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.service-card:hover,
.portfolio-card:hover,
.blog-card:hover,
.solution-card:hover,
.product-card:hover,
.support-card:hover,
.testimonial-card:hover,
.feature-card:hover,
.value-card:hover,
.process-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: var(--box-shadow);
}
.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(227, 30, 36, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--red);
}
.service-icon i {
  font-size: 32px;
  color: var(--red);
  transition: var(--transition);
}
.service-card:hover .service-icon i {
  color: var(--white);
}

/* Carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--red);
  border-radius: 50%;
  padding: 20px;
}
.carousel-indicators button {
  background-color: var(--dark);
  opacity: 0.3;
}
.carousel-indicators .active {
  background-color: var(--red);
}

/* Stats */
.stat-item {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  color: var(--gray);
  margin-top: 10px;
}

/* Premium Footer */
.footer {
  background: var(--dark);
  padding: 70px 0 20px;
  border-top: 3px solid var(--red);
  margin-top: 60px;
}
.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}
.footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--red);
  padding-left: 5px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
  color: var(--white);
}
.social-links a:hover {
  background: var(--red);
  transform: translateY(-3px);
}
.newsletter-input {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.newsletter-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(227, 30, 36, 0.25);
  border-color: var(--red);
}
.footer .text-white-50 {
  color: rgba(255,255,255,0.6) !important;
}
.footer .border-secondary {
  border-color: rgba(255,255,255,0.1) !important;
}

/* Contact & Support Forms */
.contact-form,
.support-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid #e9ecef;
}
.form-control,
.form-select {
  background: var(--white);
  border: 1px solid #ced4da;
  color: var(--dark);
  padding: 12px 16px;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.2rem rgba(227, 30, 36, 0.25);
  color: var(--dark);
}
.form-label {
  color: var(--dark);
}
.invalid-feedback {
  color: var(--red);
}

/* Tables (for comparison) */
.table {
  color: var(--dark);
  border-color: #dee2e6;
}
.table-light {
  background-color: var(--light-gray) !important;
}
.table td,
.table th {
  border-color: #dee2e6;
}
.table .text-muted {
  color: var(--gray) !important;
}

/* Misc */
.text-muted {
  color: var(--gray) !important;
}
.text-white-50 {
  color: rgba(0,0,0,0.5) !important;
}
.bg-black-light,
.bg-black-lighter {
  background: var(--light-gray) !important;
}
.bg-light {
  background: var(--white) !important;
}
.section-alt {
  background: var(--light-gray);
}
.accordion-item {
  background: var(--white);
  border: 1px solid #dee2e6;
}
.accordion-button {
  background: var(--white);
  color: var(--dark);
}
.accordion-button:not(.collapsed) {
  background: var(--red);
  color: var(--white);
}
.accordion-button:focus {
  box-shadow: none;
  border-color: var(--red);
}
.accordion-body {
  background: var(--white);
  color: var(--dark);
}

/* Floating Social Media Bar (light background) */
.floating-social .social-icon {
  background: var(--white);
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.floating-social .social-icon:hover {
  background: var(--red) !important;
}
.floating-social .social-icon:hover i {
  color: var(--white) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 120px 0 70px; }
  .hero h1 { font-size: 2.2rem; }
  .section-header h2 { font-size: 2rem; }
  .stat-number { font-size: 2rem; }
}