@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
  --primary-blue: #0d6efd;
  --primary-blue-dark: #0a58ca;
  --secondary-dark: #212529;
  --secondary-light: #f8f9fa;
  --accent-yellow: #ffc107;
  --accent-yellow-dark: #ffb300;
  --text-main: #333333;
  --text-muted: #6c757d;
  --white: #ffffff;
  --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);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-main);
  background-color: var(--secondary-light);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--secondary-dark);
}

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-blue-dark);
}

/* --- Header Styles --- */
.site-header {
  background-color: var(--primary-blue-dark);
  color: var(--white);
}

.header-top {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

.header-top .gst-text {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

.header-cta .call-btn {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 4px;
  margin-bottom: 5px;
  display: inline-block;
  font-weight: 500;
}

.header-cta .inquiry-btn {
  background-color: var(--accent-yellow);
  color: var(--secondary-dark);
  padding: 5px 15px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
  border: none;
  transition: background var(--transition-fast);
}
.header-cta .inquiry-btn:hover {
  background-color: var(--accent-yellow-dark);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  transition: opacity var(--transition-fast);
}

.navbar-dark .navbar-nav .nav-link:hover {
  opacity: 0.8;
}

.search-form .form-control {
  border-radius: 4px 0 0 4px;
  border: none;
}
.search-form .btn {
  border-radius: 0 4px 4px 0;
  background-color: var(--primary-blue);
  color: white;
  border: none;
}
.search-form .btn:hover {
  background-color: #0b5ed7;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background-image: url('/images/hero_bg.png');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  color: #d32f2f;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--secondary-dark);
}

/* --- Product Categories Slider --- */
.categories-slider {
  padding: 60px 0;
  background-color: var(--white);
}

.category-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: var(--white);
  height: 100%;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 20px;
  background-color: #fcfcfc;
}

.category-card .card-body {
  padding: 15px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.btn-primary-custom {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: background var(--transition-fast);
}

.btn-primary-custom:hover {
  background-color: var(--primary-blue-dark);
  color: var(--white);
}

.btn-danger-custom {
  background-color: #d32f2f;
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: background var(--transition-fast);
}
.btn-danger-custom:hover {
  background-color: #b71c1c;
  color: white;
}

/* --- About Section --- */
.about-section {
  padding: 60px 0;
  background-color: #2b394a;
  color: #e0e0e0;
}

.about-section h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.about-section h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-section p {
  font-size: 0.95rem;
}

.about-section ul {
  padding-left: 20px;
}

.about-section li {
  margin-bottom: 10px;
}

/* --- Footer --- */
.site-footer {
  background-color: #052659;
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* --- Product List Page (Horizontal items) --- */
.product-list-item {
  display: flex;
  background: var(--white);
  border: 1px solid #e0e0e0;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-list-img {
  width: 250px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e0e0e0;
}

.product-list-img img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.product-list-content {
  padding: 20px;
  flex: 1;
}

.product-list-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.spec-table {
  width: 100%;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.spec-table td {
  padding: 4px 8px;
  vertical-align: top;
}
.spec-table td:first-child {
  font-weight: 500;
  color: var(--secondary-dark);
  width: 40%;
}

/* --- Item Detail Page --- */
.detail-main-img {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  text-align: center;
}

.detail-main-img img {
  max-width: 100%;
  height: auto;
}

.detail-specs-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
}

.detail-specs-card h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-blue);
  display: inline-block;
  padding-bottom: 5px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.spec-list li .lbl {
  width: 40%;
  font-weight: 500;
  color: var(--text-muted);
}
.spec-list li .val {
  width: 60%;
  color: var(--secondary-dark);
}

.inquiry-form-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}