/* === Global Styling === */
body {
  background-color: #f5f7fa; /* soft light gray-blue */
  color: #1b1b1b; /* dark text for readability */
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* === Header === */
header {
  background-color: #1B2A55; /* blue */
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 600;
}

nav a:hover {
  color: #ffc107; /* yellow hover */
}

/* === Hero Section === */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
}

.hero h2 {
  font-size: 36px;
  color: #ffc107; /* yellow */
}

.hero p {
  font-size: 18px;
  margin-top: 10px;
  color: #ddd;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #1B2A55;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.btn.secondary {
  background-color: #ffc107;
  color: #000;
  margin-left: 10px;
}

.btn:hover {
  opacity: 0.85;
}

/* === Footer === */
footer {
  background-color: #1B2A55;
  text-align: center;
  color: white;
  padding: 15px;
  margin-top: 50px;
  font-size: 14px;
}
/* === Repairs Page === */
.repairs-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.repairs-section h2 {
  font-size: 32px;
  color: #ffc107; /* yellow */
  margin-bottom: 15px;
}

.repairs-section p {
  color: #ddd;
  font-size: 16px;
  margin-bottom: 30px;
}

iframe {
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
/* === Shop Page === */
.shop-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.shop-section h2 {
  font-size: 32px;
  color: #ffc107; /* yellow */
  margin-bottom: 30px;
}

.products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  text-align: center;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card h3 {
  color: #ffc107; /* yellow */
  margin-bottom: 10px;
}

.product-card p {
  color: #ddd;
  margin-bottom: 15px;
}
/* === About Page === */
.about-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.about-section h2 {
  font-size: 32px;
  color: #ffc107; /* yellow */
  margin-bottom: 20px;
}

.about-section p {
  font-size: 16px;
  color: #070707;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-cta {
  margin-top: 30px;
}

.about-cta .btn {
  margin-right: 10px;
}
/* === Contact Page === */
.contact-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 32px;
  color: #ffc107; /* yellow */
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 16px;
  color: #050505;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 10px 0;
}

.contact-info a {
  color: #1B2A55; /* blue */
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  color: #ffc107; /* yellow on hover */
}

.map-container {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
/* === WhatsApp Floating Button === */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
}

.whatsapp-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.whatsapp-btn img:hover {
  transform: scale(1.1);
}
/* === Header Layout (Logo Left, Nav Right) === */
header {
  background-color: #1B2A55;
  color: #fff;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between; /* logo left, nav right */
  align-items: center;
  flex-wrap: wrap;
}

/* Logo + Name */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 28px; /* same height as text */
  width: auto;
}

header h1 {
  font-size: 24px;
  color: #ffc107;
  margin: 0;
  line-height: 1;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffc107;
}

/* Responsive (for phones) */
@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 15px 20px;
  }

  nav {
    margin-top: 10px;
    flex-wrap: wrap;
  }
}
/* Responsive Fix */
@media (max-width: 700px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  .logo-container {
    margin-bottom: 10px;
    justify-content: center;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 50px;
  width: auto;
}

header h1 {
  font-size: 28px;
  color: #ffc107;
  margin: 0;
}
@media (max-width: 600px) {
  .logo-container {
    flex-direction: column;
  }

  .site-logo {
    height: 45px;
  }

  header h1 {
    font-size: 22px;
  }
}
/* === Hamburger Menu Styles === */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #ffc107;
  cursor: pointer;
}

/* Hide nav on mobile by default */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #1B2A55;
    margin-top: 10px;
    padding: 10px 0;
  }

  nav a {
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav.active {
    display: flex;
  }
}
/* === Product Search === */
.search-container {
  text-align: center;
  margin: 20px 0;
}

.search-container input {
  width: 80%;
  max-width: 400px;
  padding: 10px 15px;
  border: 2px solid #1B2A55;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}

.search-container input:focus {
  border-color: #ffc107;
}
/* === Product Grid === */
.product-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 0 40px; /* ✅ add equal space on left & right */
  box-sizing: border-box;
}

.product-card {
  background-color: #1B2A55;
  color: #fff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 6px;
}

.product-card h3 {
  font-size: 18px;
  color: #ffc107;
  margin: 5px 0;
}

.product-card p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 10px;
}

.product-card span {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
/* === Product Grid Fixed === */
.product-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns */
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  background-color: #1B2A55;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  height: 300px; /* fixed height for all cards */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
}

.product-card h3 {
  font-size: 16px;
  color: #ffc107;
  margin: 5px 0;
}

.product-card p {
  font-size: 14px;
  color: #ddd;
}

.product-card span {
  font-weight: 600;
  color: #fff;
}

.order-btn {
  display: inline-block;
  margin-top: 5px;
  padding: 6px 12px;
  background-color: #ffc107;
  color: #1B2A55;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.order-btn:hover {
  background-color: #fff;
}
.pagination {
  margin: 20px 0;
  text-align: center;
}

.pagination button {
  background-color: #1B2A55;
  color: #ffc107;
  border: none;
  padding: 8px 12px;
  margin: 2px;
  cursor: pointer;
  border-radius: 5px;
}

.pagination button:hover {
  background-color: #ffc107;
  color: #1B2A55;
}

.pagination .active-page {
  background-color: #ffc107;
  color: #1B2A55;
  font-weight: 600;
}
/* === Mobile Responsive Grid === */
@media (max-width: 768px) {
  .product-list {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 20px; /* ✅ smaller padding for mobile */
  }

  .product-card {
    height: auto;
    padding: 15px;
  }
}
/* === Filters === */
.filter-container {
  text-align: center;
  margin: 20px 0;
  padding: 0 20px;
}

.filter-btn {
  background-color: #1B2A55;
  color: #ffc107;
  border: 2px solid #ffc107;
  border-radius: 5px;
  padding: 8px 14px;
  margin: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn:hover {
  background-color: #ffc107;
  color: #1B2A55;
}

.filter-btn.active {
  background-color: #ffc107;
  color: #1B2A55;
  font-weight: 600;
}
/* Header / Navbar */
header, nav {
  background-color: #1B2A55;
  color: white;
}

/* Product Cards */
.product-card {
  background-color: white;
  color: #1b1b1b;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Page Background Spacing */
.container, .main-content, .product-list {
  padding: 20px;
}
/* Fix product price color */
.product-card p,
.product-card .price {
  color: #1B2A55 !important;
  font-weight: 700;
}
.mySwiper {
  width: 100%;
  height: 320px;
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

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

/* For larger screens */
@media (min-width: 768px) {
  .mySwiper {
    height: 450px;
  }
}
.mySwiper {
  width: 100%;
  height: 320px;
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
}

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

@media (min-width: 768px) {
  .mySwiper {
    height: 450px;
  }
}
/* Mobile banner fix */
@media (max-width: 600px) {
  .mySwiper {
    height: 260px !important;   /* increase height */
  }

  .mySwiper img {
    object-fit: contain !important;  /* no cropping */
    background-color: #000;  /* optional - fills empty space */
  }
}