body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.hero {
  background: url('your-image.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Custom CSS (extra tweaks beyond Tailwind) */
.spec-label {
  color: #374151;
  font-weight: 600;
}

.spec-value {
  color: #111827;
}

.shadow-soft {
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.08);
  border-radius: 0.5rem;
}

/* Pulse animation for play button */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.1); opacity: 0.7; }
}
.animate-pulse {
  animation: pulse 1.5s infinite;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f2027;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 50s ease;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  width: 450px;
  height: auto;
  animation: bounce 1.5s infinite;
}

/* Simple bounce animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===== RESET ===== */
* { margin:0; padding:0; box-sizing:border-box; font-family:Arial,sans-serif; }
body { line-height:1.6; background-color:#f4f4f4; padding-top:90px; }
a { text-decoration:none; color:inherit; }

/* ===== HEADER ===== */
header { 
  display:flex; 
  justify-content:space-between; 
  align-items:center; 
  padding:15px 30px; 
  background:rgba(0,0,0,0.7); 
  position:fixed; 
  top:0; left:0; right:0; 
  z-index:1000; 
  flex-wrap:wrap; 
}
header .logo { display:flex; align-items:center; font-size:26px; font-weight:bold; color:#fff; }
header .logo img { height:50px; margin-right:15px; }
.company-name span { font-weight:bold; font-size:26px; }
.company-name .gold { color:#FFD700; }
.company-name .red { color:#FF0000; }
.company-name .blue { color:#007BFF; }
.company-name .green { color:#28A745; }
.company-name .yellow { color:#FFC107; }

/* NAVIGATION + SEARCH */
.nav-search { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
nav ul { list-style:none; display:flex; gap:20px; margin:0; padding:0; }
nav ul li a { color:#fff; font-weight:bold; font-size:1rem; transition:color 0.3s; }
nav ul li a:hover { color:#ffcc00; }

/* ===== SEARCH BAR IN HEADER ===== */
.search-container input {
  padding:8px 10px;
  width:220px;
  border:2px solid #003366;
  border-radius:5px;
  font-size:0.95rem;
}

/* ===== PRODUCTS SECTION ===== */
.products-section { 
  padding:30px 20px; 
  display:grid; 
  grid-template-columns:repeat(auto-fill, 250px); 
  gap:15px; 
  justify-content:flex-start; 
  max-width:1200px;
  margin:auto;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  width:250px;
  height:250px;
  border:10px solid #0056a6;
  background:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,0.4);
  transition:transform 0.3s, box-shadow 0.3s;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
  position: relative;
}

.product-card:hover { transform:translateY(-5px); box-shadow:0 6px 20px rgba(0,0,0,0.5); }
.product-card img {
  width:100%;
  height:200px;
  object-fit:contain;
  background:darkblue;
}
.product-card h3 {
  margin:0;
  background:#a00000;
  color:#fff;
  font-size:1rem;
  font-weight:bold;
  text-align:center;
  padding:12px;
  text-transform:uppercase;
  border-top:2px solid gold;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ===== SPEC OVERLAY ===== */
#specsOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 32, 56, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  display: none;
  padding: 20px;
}

.specs-box {
  background: #ffffff;
  color: #111827;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* 🔹 Restrict image size in overlay */
.specs-box img {
  max-width: 100%;
  max-height: 400px; /* adjust this to control photo size */
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff0000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specs-box table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  table-layout: fixed;
}

.specs-box th, 
.specs-box td {
  border: 1px solid #ddd;
  padding: 8px;
  word-wrap: break-word;
}

.specs-box th {
  background: #f0f0f0;
  text-align: left;
  color: #111827;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

footer .footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

footer .footer-logo img {
  height: 40px;
}

/* Footer phones in one straight line */
.footer-phones {
  text-align: center;
  margin-bottom: 20px;
}

.footer-phone {
  display: inline-block;
  margin: 0 20px;
  white-space: nowrap;
  font-size: 1rem;
}

.footer-phone a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.footer-phone a:hover {
  color: #fff;
  text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700;
}

footer .footer-brands {
  margin-bottom: 15px;
}

footer .footer-brands a {
  color: #fff;
  margin: 0 10px;
  transition: opacity 0.3s;
}

footer .footer-brands a:hover {
  opacity: 0.7;
}

footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

footer .social-icons a img {
  width: 30px;
  height: 30px;
  transition: opacity 0.3s;
}

footer .social-icons a img:hover {
  opacity: 0.7;
}

footer .footer-copy {
  font-size: 0.9rem;
}

.quote-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.quote-button:hover {
  background-color: #0056b3;
}
