:root {
  --primary-color: #ff5e1e;
  --secondary-color: #f8981d;
  --text-dark: #333333;
  --text-light: #777777;
  --bg-light: #f9f9f9;
}

body {
  font-family: "Prompt", sans-serif; /* Thai font often used */
  font-size: 1.063rem;
  color: var(--text-dark);
}

h1,
h2,
h3,
h4 {
  font-family: "Prompt", sans-serif;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem; /* 48px */
  font-weight: 600;
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 2.5rem; /* 40px */
  font-weight: 600;
  margin: 2.5rem 0 1rem 0;
}

h3 {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
}

.text-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary-custom:hover {
  background-color: #e5541b;
  border-color: #e5541b;
  color: white;
}

.navbar-brand img {
  height: 50px;
}

.navbar .navbar-nav .nav-link {
  transition: color 0.2s ease-in-out;
}

/* Ensure navbar links hover with primary color */
#mainNav .nav-link:hover,
#mainNav .nav-link:focus,
#mainNav .nav-item:hover .nav-link {
  color: var(--primary-color) !important;
}

.hero-section {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-padding {
  padding: 60px 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  color: var(--primary-color);
}

.product-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

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

.product-card img {
  height: 250px;
  object-fit: cover;
}

.customer-logo {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.customer-logo:hover {
  opacity: 1;
}

.thumbnail-container img {
  cursor: pointer;
  border: 2px solid transparent !important; /* Added !important */
  transition: border-color 0.2s ease;
}

.thumbnail-container img:hover,
.thumbnail-container img.border.active-thumb {
  border-color: #ff5e1f !important; /* Added !important */
}

footer {
  background-color: #222;
  color: #ddd;
}

footer a {
  color: #bbb;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

[data-bs-theme="dark"] .logo-light {
  display: none !important;
}
[data-bs-theme="dark"] .logo-dark {
  display: inline-block !important;
}
[data-bs-theme="light"] .logo-light {
  display: inline-block !important;
}
[data-bs-theme="light"] .logo-dark {
  display: none !important;
}
