/* Color Palette */
:root {
  --red: #B60A14;
  --dark-gray: #455053;
  --light-gray: #E9E9EA;
  --blackish: #1E191A;
  --medium-gray: #878B8D;
  --white: #ffffff;
  --dark-red: #82070e;
}

html {
  scroll-behavior: smooth;
}

/* ===== ALL PAGES ===== */
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--light-gray);
  color: var(--blackish);
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-gray);
  padding: 1rem 2rem;
}

/* Logo */
.navbar .logo {
  text-decoration: none;
  color: var(--blackish);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: bold;
}

.navbar .logo img {
  height: 60px;
  width: auto;
}

.navbar .logo span {
  font-size: 1.5rem;
  color: /* Color Palette */
:root {
  --red: #B60A14;
  --dark-gray: #455053;
  --light-gray: #E9E9EA;
  --blackish: #1E191A;
  --medium-gray: #878B8D;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

/* ===== ALL PAGES ===== */
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--light-gray);
  color: var(--blackish);
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-gray);
  padding: 1rem 2rem;
}

/* Logo */
.navbar .logo {
  text-decoration: none;
  color: var(--blackish);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: bold;
}

.navbar .logo img {
  height: 60px;
  width: auto;
}

.navbar .logo span {
  font-size: 1.5rem;
  color: var(--blackish);
}

/* ===== NAV LINKS ===== */
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.navbar .nav-links a {
  color: var(--blackish);
  text-decoration: none;
  font-weight: 700; /* make text bold */
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links .active {
  color: var(--red);
}

/* Dropdown setup */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;   /* stays aligned to the Products link */
  background: #fff;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 6px;
  z-index: 999;
  display: none !important;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.75rem 1.5rem; /* row gap, column gap */
  width: max-content; 
  max-width: calc(100vw - 80px); /* keep 20px margin on both sides */
  overflow: hidden;
  box-sizing: border-box;
}

/* Show dropdown on hover */
.nav-links .dropdown:hover .dropdown-menu {
  display: grid !important;
}

/* Dropdown links with even spacing */
.nav-links .dropdown-menu a {
  padding: 0.6rem 0.8rem;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}

.nav-links .dropdown-menu a:hover {
  background: #f2f2f2;
  color: var(--red);
}


/* Optional arrow styling */
.dropbtn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== SHOP BUTTON ===== */
.shop-btn {
  background-color: var(--red);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-align: center;
}

.shop-btn:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links .dropdown-menu {
    position: static;
    box-shadow: none;
  }
}

/* Footer */
.site-footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.footer-logo {
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.footer-links a,
.footer-contact a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--medium-gray);
  margin-top: 1rem;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem; 
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-facebook-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  filter: invert(100%);
  transition: filter 0.3s ease, transform 0.2s ease;
}

.facebook-link:hover .footer-facebook-icon {
  filter: invert(36%) sepia(92%) saturate(7460%) hue-rotate(198deg) brightness(97%) contrast(101%);
}

/* ===== INDEX PAGE ===== */
/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, rgba(30,25,26,0.7), rgba(30,25,26,0.4)),
            url('images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  color: var(--white);
  padding: 6rem 2rem;
  min-height: 50vh;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.scroll-indicator {
  font-size: 2rem;
  color: var(--white);
  margin-top: 2rem;
  display: inline-block;
  cursor: pointer;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.cta-button {
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Sections */
section {
  padding: 0.5rem 0.5rem;
  text-align: center;
}

/* About Section*/
.about-preview {
  background-color: var(--light-gray);
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
}

.about-card {
  background-color: var(--white);
  display: flex;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  gap: 2rem;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-text .secondary-button {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.about-text .secondary-button:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
}

/* Brands Section*/
.brands-preview {
  background-color: var(--white);
  padding: 2rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

#brands {
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.brands-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--red);
}

.brands-preview p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* Horizontal scroll container */
.brands-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  scroll-snap-type: nowrap;
}

/* Hide scrollbar for Webkit browsers */
.brands-carousel::-webkit-scrollbar {
  display: none;
}

/* brand cards */
.brand-card {
  flex: 0 0 auto;
  text-align: center;
  background: white;
  border-radius: 8px;
  padding: 0;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 190px
  overflow: hidden;
  box-sizing: border-box;
}

.brand-card img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  padding: 10px;
}

.brand-card h3 {
  font-size: 1rem;
  color: var(--red);
  margin-bottom: 0;
}

/* Hover effect */
.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Responsive: smaller screens */
@media (max-width: 768px) {
  .brand-card {
    flex: 0 0 180px;
  }
}

/* ===== Carousel with Arrows ===== */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.carousel-btn {
  background: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.left { 
  left: -20px; 
}

.carousel-btn.right {
  right: -20px; 
}

.brands-preview .secondary-button {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;           
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.brands-preview .secondary-button:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.brands-preview::after {
  content: "";
  display: block;
  width: 100%;
  height: 40px;
  background: var(--light-gray);
  border-top-left-radius: 50% 20px;
  border-top-right-radius: 50% 20px;
}

/* Hide buttons on mobile */
@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-info {
  background-color: var(--light-gray);
  padding: 3rem 2rem;
  text-align: center;
}

.contact-card {
  max-width: 600px;
  margin: auto;
  background-color: var(--white);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: grid;
}

.contact-card h2 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.contact-list li {
  display: block;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--blackish);
  gap: 0.5rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

.contact-list a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.contact-list a:hover {
  color: #8f080f;
  transform: translateY(-1px);
  text-decoration: none;
}

.map-container {
  width: 100%;
  max-width: 600px;
  height: 350px;
  margin: 2rem auto 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* CTA banner (full width) */
.contact-cta {
  background-color: var(--red);
  color: var(--white);
  padding: 1rem 1rem;
  text-align: center;
}

.contact-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta .cta-text {
  font-weight: 600;
  margin: 0;
}

.contact-cta .cta-phone {
  background: var(--white);
  color: var(--red);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-cta .cta-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* Hero section */
.contact-hero {
  background: linear-gradient(
      rgba(30,25,26,0.75),
      rgba(30,25,26,0.75)
    ),
    url("images/hero-bg.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 4.5rem 2rem;
  text-align: center;
}

.contact-hero .contact-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-hero p {
  font-size: 1.2rem;
  color: var(--light-gray);
  line-height: 1.6;
}

/* Main grid */
/* Contact grid: two equal columns on desktop, stack on mobile */
.contact-page .contact-grid {
  display: grid;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch; /* equal heights */
  padding-bottom: 6rem;
  padding-top: 3rem;
}

/* Make form heading match contact heading */
.contact-form-card h2 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

/* General contact card styling */
.contact-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  flex: 1 1 400px; /* grow/shrink, min width */
  display: grid;
  flex-direction: column;
}

/* Map container inside card */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Form adjustments */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.8rem 1.5rem;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 768px) {
  .contact-page .contact-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.contact-form .secondary-button {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* small helper text */
.form-note {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-top: 0.6rem;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .map-container {
    height: 220px;
  }

  .contact-cta-inner {
    flex-direction: column;
  }
}

/* ===== SPECIALS PAGE ===== */
.specials-preview {
  margin: 1rem auto;
  max-width: 1600px; /* Adjust as needed */
  position: relative;
  padding-bottom: 4rem;
}

.specials-preview > h2 {
  margin-top: 0rem; /* adjust this value as needed */
}

.specials-preview .carousel-container {
  display: flex;
  align-items: center;
  position: relative; 
  overflow: visible;
}

.specials-preview .brands-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;               
  padding: 1rem 1rem 1rem 1rem;
  scroll-snap-type: x mandatory;
}

.specials-preview .brand-card {
  flex: 0 0 calc((100% / 3) - 1rem);
  max-width: calc((100% / 3) - 1rem);
  height: 700px;      /* increased height for portrait + heading */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: #fff;
  padding: 1rem;
}

.specials-preview .brand-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  flex: 1;
  display: block;
  margin-bottom: 0.5rem;       /* center horizontally */
  background: #fff;     /* optional, for empty space */
}

.specials-preview .brand-card h3 {
  margin: 0; 
  padding: 0.2rem 0; 
  font-size: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;       
}

/* Navigation buttons */
.specials-preview .carousel-btn {
  background: var(--red) 
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specials-preview .carousel-btn.left {
  left: -3rem;
}

.specials-preview .carousel-btn.right {
  right: -3rem;
}

.specials-preview .carousel-btn:hover {
  background: darkred;
  z-index: 10;
}

/* ================================
   AutoInfo Catalogue Container
   ================================ */

#autoinfo-container {
  width: 100%;
  min-height: 700px; /* fallback height */
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
}

/* Optional: Add a subtle shadow */
#autoinfo-container {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* ================================
   Loading Indicator
   ================================ */
.autoinfo-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  font-family: inherit;
}

/* Spinner */
.autoinfo-loading::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 28px;
  height: 28px;
  border: 4px solid #ccc;
  border-top-color: #0073e6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ================================
   Responsive Tweaks
   ================================ */

@media (max-width: 768px) {
  #autoinfo-container {
    padding: 6px;
    border-radius: 8px;
    min-height: 600px;
  }
}

@media (max-width: 480px) {
  #autoinfo-container {
    min-height: 550px;
  }
}

/* ================================
   Bearing Heater Page (Slider)
   ================================ */

/* Container for the carousel */
.product-selector {
  width: 100%;
  max-width: 1300px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.mySwiper {
  padding: 2rem 0;
}

/* Slide styling */
.swiper-slide {
  display: flex;
  justify-content: center;
}

.heater-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.heater-card img.heater-image {
  width: 100%;
  height: 180px;        /* adjust depending on look */
  object-fit: cover;    /* or 'contain' if you want full image */
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Titles */
.heater-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

/* Specs text */
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.spec-list li {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 4px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.2s ease;
  margin-top: auto;
}

/* Hire (red) */
.hire-btn {
  background: #ff5a5f;
  color: #fff;
}

.hire-btn:hover {
  background: #e0484f;
}

/* Purchase (blue) */
.purchase-btn {
  background: #007bff;
  color: #fff;
}

.purchase-btn:hover {
  background: #0056b3;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #333;
  transition: 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #000;
}

/* Make cards uniform height on desktop */
@media (min-width: 1024px) {
  .heater-card {
    height: 550px;
  }
};
}

/* ===== NAV LINKS ===== */
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.navbar .nav-links a {
  color: var(--blackish);
  text-decoration: none;
  font-weight: 700; /* make text bold */
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links .active {
  color: var(--red);
}

/* Dropdown setup */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;   /* stays aligned to the Products link */
  background: #fff;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 6px;
  z-index: 999;
  display: none !important;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.75rem 1.5rem; /* row gap, column gap */
  width: max-content; 
  max-width: calc(100vw - 80px); /* keep 20px margin on both sides */
  overflow: hidden;
  box-sizing: border-box;
}

/* Show dropdown on hover */
.nav-links .dropdown:hover .dropdown-menu {
  display: grid !important;
}

/* Dropdown links with even spacing */
.nav-links .dropdown-menu a {
  padding: 0.6rem 0.8rem;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}

.nav-links .dropdown-menu a:hover {
  background: #f2f2f2;
  color: var(--red);
}


/* Optional arrow styling */
.dropbtn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== SHOP BUTTON ===== */
.shop-btn {
  background-color: var(--red);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-align: center;
}

.shop-btn:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links .dropdown-menu {
    position: static;
    box-shadow: none;
  }
}

/* Footer */
.site-footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.footer-logo {
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.footer-links a,
.footer-contact a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--medium-gray);
  margin-top: 1rem;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem; 
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-facebook-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  filter: invert(100%);
  transition: filter 0.3s ease, transform 0.2s ease;
}

.facebook-link:hover .footer-facebook-icon {
  filter: invert(36%) sepia(92%) saturate(7460%) hue-rotate(198deg) brightness(97%) contrast(101%);
}

/* ===== INDEX PAGE ===== */
/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, rgba(30,25,26,0.7), rgba(30,25,26,0.4)),
            url('images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  color: var(--white);
  padding: 6rem 2rem;
  min-height: 50vh;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.scroll-indicator {
  font-size: 2rem;
  color: var(--white);
  margin-top: 2rem;
  display: inline-block;
  cursor: pointer;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.cta-button {
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Sections */
section {
  padding: 0.5rem 0.5rem;
  text-align: center;
}

/* About Section*/
.about-preview {
  background-color: var(--light-gray);
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
}

.about-card {
  background-color: var(--white);
  display: flex;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  gap: 2rem;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-text .secondary-button {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.about-text .secondary-button:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
}

/* Brands Section*/
.brands-preview {
  background-color: var(--white);
  padding: 2rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

#brands {
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.brands-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--red);
}

.brands-preview p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* Horizontal scroll container */
.brands-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  scroll-snap-type: nowrap;
}

/* Hide scrollbar for Webkit browsers */
.brands-carousel::-webkit-scrollbar {
  display: none;
}

/* brand cards */
.brand-card {
  flex: 0 0 auto;
  text-align: center;
  background: white;
  border-radius: 8px;
  padding: 0;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 190px
  overflow: hidden;
  box-sizing: border-box;
}

.brand-card img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  padding: 10px;
}

.brand-card h3 {
  font-size: 1rem;
  color: var(--red);
  margin-bottom: 0;
}

/* Hover effect */
.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Responsive: smaller screens */
@media (max-width: 768px) {
  .brand-card {
    flex: 0 0 180px;
  }
}

/* ===== Carousel with Arrows ===== */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.carousel-btn {
  background: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.left { 
  left: -20px; 
}

.carousel-btn.right {
  right: -20px; 
}

.brands-preview .secondary-button {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;           
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.brands-preview .secondary-button:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.brands-preview::after {
  content: "";
  display: block;
  width: 100%;
  height: 40px;
  background: var(--light-gray);
  border-top-left-radius: 50% 20px;
  border-top-right-radius: 50% 20px;
}

/* Hide buttons on mobile */
@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-info {
  background-color: var(--light-gray);
  padding: 3rem 2rem;
  text-align: center;
}

.contact-card {
  max-width: 600px;
  margin: auto;
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-card h2 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.contact-list li {
  display: block;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--blackish);
  gap: 0.5rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

.contact-list a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.contact-list a:hover {
  color: #8f080f;
  transform: translateY(-1px);
  text-decoration: none;
}

.map-container {
  width: 100%;
  max-width: 600px;
  height: 350px;
  margin: 2rem auto 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* CTA banner (full width) */
.contact-cta {
  background-color: var(--red);
  color: var(--white);
  padding: 1rem 1rem;
  text-align: center;
}

.contact-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta .cta-text {
  font-weight: 600;
  margin: 0;
}

.contact-cta .cta-phone {
  background: var(--white);
  color: var(--red);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-cta .cta-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* Page header */
.page-header {
  text-align: center;
  padding: 1rem 1rem 1rem 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.page-header .lead {
  font-size: 1.3rem;
  color: var(--dark-gray);
}

/* Main grid */
/* Contact grid: two equal columns on desktop, stack on mobile */
.contact-page .contact-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch; /* equal heights */
  padding-bottom: 6rem;
  padding-top: 3rem;
}

/* Make form heading match contact heading */
.contact-form-card h2 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

/* General contact card styling */
.contact-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  flex: 1 1 400px; /* grow/shrink, min width */
  display: flex;
  flex-direction: column;
}

/* Map container inside card */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Form adjustments */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.8rem 1.5rem;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 768px) {
  .contact-page .contact-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.contact-form .secondary-button {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* small helper text */
.form-note {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-top: 0.6rem;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .map-container {
    height: 220px;
  }

  .contact-cta-inner {
    flex-direction: column;
  }
}

/* ===== PRODUCTS PAGE ===== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards across */
  gap: 30px;
  padding: 50px 100px 50px 100px;
}

/* Responsiveness — adjusts as screen gets smaller */
/* 3 per row */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2 per row */
@media (max-width: 800px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 per row */
@media (max-width: 500px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 5%;
  margin-bottom: 1rem;
}

.product-card h2 {
  color: var(--red);
  margin: 0.5rem 0;
  font-size: 1.4rem;
}

.product-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.product-card a {
  display: inline-block;
  margin: 0.25rem;
}

.product-card .button-group {
  display: flex;
  gap: 0.5rem;       /* space between buttons */
  margin-top: auto;   /* push to bottom */
  width: 100%;        /* full width of the card */
}

.product-card .button-group .secondary-button {
  flex: 1;            /* equal width */
  text-align: center; /* center text */
  margin: 0;          /* remove extra margin */
  padding: 0.8rem 0;  /* vertical padding, horizontal is automatic */
}

.product-card .secondary-button {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  margin: 0.5rem 0; /* spacing between buttons */
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card .secondary-button:hover {
  background-color: #8f080f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* ===== SPECIALS PAGE ===== */
.specials-preview {
  margin: 1rem auto;
  max-width: 1600px; /* Adjust as needed */
  position: relative;
  padding-bottom: 4rem;
}

.specials-preview > h2 {
  margin-top: 0rem; /* adjust this value as needed */
}

.specials-preview .carousel-container {
  display: flex;
  align-items: center;
  position: relative; 
  overflow: visible;
}

.specials-preview .brands-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;               
  padding: 1rem 1rem 1rem 1rem;
  scroll-snap-type: x mandatory;
}

.specials-preview .brand-card {
  flex: 0 0 calc((100% / 3) - 1rem);
  max-width: calc((100% / 3) - 1rem);
  height: 700px;      /* increased height for portrait + heading */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: #fff;
  padding: 1rem;
}

.specials-preview .brand-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  flex: 1;
  display: block;
  margin-bottom: 0.5rem;       /* center horizontally */
  background: #fff;     /* optional, for empty space */
}

.specials-preview .brand-card h3 {
  margin: 0; 
  padding: 0.2rem 0; 
  font-size: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;       
}

/* Navigation buttons */
.specials-preview .carousel-btn {
  background: var(--red) 
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specials-preview .carousel-btn.left {
  left: -3rem;
}

.specials-preview .carousel-btn.right {
  right: -3rem;
}

.specials-preview .carousel-btn:hover {
  background: darkred;
  z-index: 10;
}

/* ===== PRODUCTS PAGE CONT. ===== */
/* ===== INFO/DOWNLOADS PAGE TEMPLATE ===== */

/* ===== PRODUCT LAYOUT TWO-COLUMN ===== */
.product-layout {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 0rem auto;
  flex-wrap: wrap;
  padding: 4rem 1rem;
}

/* === PRODUCT DETAILS (Left Column) === */
.product-details {
  flex: 1 1 500px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-details h2 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.product-details p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

.product-details h3 {
  font-size: 1.4rem;
  color: var(--red);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Remove bullets and hyperlink styling */
.product-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-details ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: var(--dark-gray);
}

/* Key Features list */
.product-details ul.key-features {
  content: "✔";
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 0.8rem;
  color: var(--red);
  font-weight: bold;
}

/* Keep each category together */
.product-details ul.key-features > li {
  break-inside: avoid;
}

/* Nested lists */
.product-details ul.key-features ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

/* Nested list items */
.product-details ul.key-features ul li {
  padding-left: 0;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

/* ❌ Remove checkmark ONLY from nested items */
.product-details ul.key-features ul li::before {
  content: none;
}

/* === Mobile: single column === */
@media (max-width: 768px) {
  .product-details ul.key-features {
    grid-template-columns: 1fr;
  }
}

.downloads-list {
  list-style: none; /* remove default bullets */
  padding: 0;
  margin: 1rem 0 0 0;
}

.downloads-list li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.downloads-list li a {
  text-decoration: none;  /* remove hyperlink underline */
  color: var(--dark-gray);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;           /* space between icon and text */
  transition: color 0.2s ease;
}

.downloads-list li a:hover {
  color: var(--red);
}

.download-icon {
  width: 16px;       /* adjust size of the icon */
  height: 16px;
}


/* === PRODUCT GALLERY (Right Column) === */
.product-gallery {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#main-image {
  width: 100%;
  max-width: 480px;
  border-radius: 6px;
  cursor: zoom-in;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

#main-image:hover {
  transform: scale(1.02);
}

.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnails img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.thumbnails img:hover {
  opacity: 0.7;
}

.thumbnails .active {
  border: 2px solid red;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .product-layout {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .product-details, .product-gallery {
    flex: 1 1 100%;
    max-width: 100%;
  }

  #main-image {
    max-width: 100%;
  }
}


/* CUSTOM LIGHTBOX */
.custom-lightbox {
  display: none;               /* hidden by default */
  position: fixed;
  inset: 0;                    /* top:0;left:0;right:0;bottom:0; */
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* show by adding .open (we'll toggle in JS) */
.custom-lightbox.open { display: flex; }

/* content */
.lb-content { max-width: 95%; max-height: 85%; display:flex; align-items:center; justify-content:center; }
.lb-content img { max-width: 100%; max-height: 100%; border-radius:6px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* close button */
.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  color: var(--white);
  border: 0;
  font-size: 2rem;
  cursor: pointer;
  z-index: 100010;
  padding: 6px;
  line-height: 1;
  transition: transform 0.12s ease;
}
.lb-close:hover { transform: scale(1.05); color: #ffdddd; }

/* navigation arrows */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100010;
}

.lb-prev {
  left: 18px;
  transform: none !important;
  transition: none !important;
  position: fixed;
}

.lb-next {
  right: 18px;
  transform: none !important;
  transition: none !important;
  position: fixed;
}

/* Remove movement on hover */
.lb-nav:hover {
  background: rgba(255,255,255,0.12);
  transform: none !important;   /* stops the scale animation */
}



/* small screens */
@media (max-width: 600px) {
  .thumb { width:64px; height:64px; }
  .lb-close { font-size: 1.6rem; top: 10px; right: 10px; }
  .lb-nav { width:44px; height:44px; font-size:1.6rem; }
}

.product-contact {
  margin: 20px auto 80px; /* top | sides | bottom */
  display: flex;
  justify-content: center;
}

.contact-card {
  background: #fff;
  padding: 2.5rem;
  max-width: 650px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-radius: 10px;
  text-align: center;
  border-left: 4px solid var(--red);
}

.contact-card h2 {
  color: var(--red);
  margin-bottom: 12px;
}

.contact-card p {
  color: #444;
  margin-bottom: 24px;
  font-size: 1rem;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.contact-btn {
  border: 2px solid var(--red);
  color: var(--red);
  background: #fff;
}

.contact-btn:hover {
  background: var(--red);
  color: white;
}

.shop-btn {
  background: var(--red);
  color: #fff;
}

.shop-btn:hover {
  background: #b80000;
}

/* ================================
   AutoInfo Catalogue Container
   ================================ */

#autoinfo-container {
  width: 100%;
  min-height: 700px; /* fallback height */
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
}

/* Optional: Add a subtle shadow */
#autoinfo-container {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* ================================
   Loading Indicator
   ================================ */
.autoinfo-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  font-family: inherit;
}

/* Spinner */
.autoinfo-loading::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 28px;
  height: 28px;
  border: 4px solid #ccc;
  border-top-color: #0073e6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ================================
   Responsive Tweaks
   ================================ */

@media (max-width: 768px) {
  #autoinfo-container {
    padding: 6px;
    border-radius: 8px;
    min-height: 600px;
  }
}

@media (max-width: 480px) {
  #autoinfo-container {
    min-height: 550px;
  }
}

/* ================================
   Bearing Heater Page (Slider)
   ================================ */

/* Container for the carousel */
.product-selector {
  width: 100%;
  max-width: 1300px;
  margin: 3rem auto;
  padding: 1rem 1rem 6rem 1rem;
}

.mySwiper {
  padding: 2rem 0;
}

/* Slide styling */
.swiper-slide {
  display: flex;
  justify-content: center;
}

.heater-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
  display: grid;
  flex-direction: column;
  gap: 1rem;
}

.heater-card img.heater-image {
  width: 100%;
  height: 180px;        
  object-fit: contain;    
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Titles */
.heater-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

/* Specs text */
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.spec-list li {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 4px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.2s ease;
  margin-top: auto;
}

/* Hire (red) */
.hire-btn {
  background: var(--red);
  color: #fff;
}

.hire-btn:hover {
  background: var(--dark-red);
}

/* Purchase (blue) */
.purchase-btn {
  background: var(--red);
  color: #fff;
}

.purchase-btn:hover {
  background: var(--dark-red);
}

.spec-btn {
  background: var(--red);
  color: #fff;
}

.spec-btn:hover {
  background: var(--dark-red);
}

/* Swiper Navigation */
/* Default arrow color */
.swiper-button-next::after,
.swiper-button-prev::after {
  color: var(--red);   /* change arrow icon color */
}

/* Hover color */
.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: var(--dark-red);
}

/* Make cards uniform height on desktop */
@media (min-width: 1024px) {
  .heater-card {
    height: 600px;
  }
}

/* ================================
   Hire Enquiry page 
   ================================ */
.field {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.field label {
  display: block;
  font-size: 14px;
  color: #777;
  font-family: sans-serif;

}

.field input {
  display: block;
  min-width: 250px;
  line-height: 1.5;
  font-size: 14px;
}

input[type="submit"] {
  padding: 0.8rem 1.2rem;
  background: #ff5a5f;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  font-size: medium;
}

.enquiry-page {
  margin: 1rem 30rem 5rem 30rem;
}

.button {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================================
   About Page 
   ================================ */

/* ===== PAGE HERO (ALL MAIN PAGES) ===== */
.page-hero {
  background: linear-gradient(
      rgba(30,25,26,0.75),
      rgba(30,25,26,0.75)
    ),
    url("images/hero-bg.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 4.5rem 2rem;
  text-align: center;
}

.page-hero .hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--light-gray);
  line-height: 1.6;
}

/* ===== MAIN WRAPPER ===== */
.about-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ===== ROWS ===== */
.about-row {
  display: flex;
  gap: 3rem;
  align-items: center;
}

/* Reverse layout */
.about-row.reverse {
  flex-direction: row-reverse;
}

/* Text-only rows */
.about-row.text-only {
  flex-direction: column;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 1rem;
}

/* ===== IMAGES ===== */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ===== TEXT ===== */
.about-text {
  flex: 1;
}

.about-text h3,
.about-row.text-only h3 {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.about-text p,
.about-row.text-only p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

/* ===== WHY CHOOSE US HIGHLIGHT ===== */
.about-highlight {
  background: var(--white);
  border-left: 6px solid var(--red);
  padding: 3rem 12rem;
  max-width: 1150px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
}

.about-highlight h3 {
  font-size: 1.9rem;
  color: var(--red);
  margin-bottom: 1.8rem;
}

/* Feature list */
.about-highlight-list {
  list-style: none;
  padding: 0;
  margin: 0 ;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2rem;
}

.about-highlight-list li {
  font-size: 1.05rem;
  color: var(--dark-gray);
  padding-left: 1.6rem;
  position: relative;
  text-align: left;
}

/* Custom bullet icon */
.about-highlight-list li::before {
  content: "✔";
  color: var(--red);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .about-highlight {
    padding: 2.5rem 1.5rem;
  }

  .about-highlight-list {
    grid-template-columns: 1fr;
  }
}

/* ===== OUR APPROACH (INSIDE HIGHLIGHT BOX) ===== */
.about-approach {
  margin-top: 2.5rem;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.about-approach h4 {
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.about-approach p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .about-hero h2 {
    font-size: 2.2rem;
  }

  .about-row,
  .about-row.reverse {
    flex-direction: column;
  }

  .about-row {
    gap: 2rem;
  }

  .about-main {
    padding: 3rem 1.5rem;
  }

  .about-text,
  .about-row.text-only {
    text-align: center;
  }
}
