/* ==========================================================================
   INDTAH 2.0 Modern Design System
   ========================================================================== */

:root {
  --primary-color: #0d3b66; /* Deep Navy */
  --secondary-color: #f4a261; /* Sandy Orange */
  --accent-color: #e07a5f; /* Terracotta */
  --text-main: #333333;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  
  --font-family-base: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  
  --radius-md: 8px;
  --radius-lg: 12px;
}

body {
  font-family: var(--font-family-base);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .heading {
  font-family: var(--font-family-base);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

/* Header & Navbar */
.site-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .navbar-brand img {
  max-height: 50px;
}
.site-header .nav-link {
  font-weight: 500;
  color: var(--text-main) !important;
  transition: color 0.3s;
}
.site-header .nav-link:hover {
  color: var(--secondary-color) !important;
}

/* Hero Section */
.site-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.site-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 59, 102, 0.7); /* Dark blue overlay */
}
.site-hero-inner {
  position: relative;
  z-index: 1;
}
.site-hero h1 {
  color: var(--bg-white);
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.site-hero .sub-heading {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  transition: all 0.3s;
}
.btn-primary:hover {
  background-color: #092c4c;
  border-color: #092c4c;
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  font-weight: 600;
  color: #fff;
  border-radius: var(--radius-md);
}
.btn-secondary:hover {
  background-color: #e3904e;
  border-color: #e3904e;
}

/* Supplier Cards */
.company-card, .package-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.company-card:hover, .package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}
.company-image-wrapper, .card-img-wrapper {
  background-color: var(--bg-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.company-image-wrapper img, .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.company-card:hover img {
  transform: scale(1.05);
}
.company-name, .card-title {
  padding: 20px;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--primary-color);
}
.company-name a, .card-title a {
  color: inherit;
  text-decoration: none;
}
.company-name a:hover {
  color: var(--secondary-color);
}

/* Badges / Trust */
.badge-verified {
  background-color: #2a9d8f;
  color: #fff;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-verified i {
  font-size: 1rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.site-footer h3 {
  color: var(--bg-white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: var(--secondary-color);
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Forms */
.form-control {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 12px 15px;
}
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

/* Utility */
.section-padding {
  padding: 80px 0;
}
.text-primary-color {
  color: var(--primary-color) !important;
}
