* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

/* 🔒 GLOBAL MOBILE SAFETY FIX (DO NOT REMOVE) */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: #f4f4f4;
}

/* Navbar */
.nav-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  transition: background 0.3s;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 90px;
  height: auto;
}

.logo span {
  font-size: 1.8rem;
  color: white;
  font-weight: 700;
  margin-left: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

/* Hero */
.hero-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
  transition: height 0.4s ease;
}

.hero-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  color: white;
  text-shadow: 2px 2px 8px black;
  max-width: 90%; /* 🔒 prevent overflow */
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 900;
}

.hero-text p {
  margin: 15px 0;
}

.btn-primary {
  background: #ff6b6b;
  padding: 12px 25px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Categories */
.feature-cats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 0;
  flex-wrap: wrap; /* 🔒 mobile safe */
}

.cat {
  text-align: center;
}

.cat img {
  width: 80px;
}

/* Products */
.product-grid {
  padding: 40px 20px;
  text-align: center;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

/* Product Page */
.product-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  width: 100%; /* 🔒 prevent cut */
}

.product-image-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image {
  width: 420px;
  max-width: 100%;
}

/* Product Card */
.product-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  text-decoration: none;
  color: #000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-card img {
  width: 180px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.product-card:hover {
  transform: translateY(-8px);
}

/* Footer */
.main-footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 15px;
  flex-wrap: wrap; /* 🔒 mobile safe */
}

.footer-col a {
  display: block;
  color: #aaa;
  text-decoration: none;
}

.footer-contact {
  margin-bottom: 30px;
  text-align: center;
}

.footer-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.footer-contact p {
  color: #ccc;
  font-size: 0.95rem;
  margin: 5px 0;
}

/* Responsive: Tablet + Mobile */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .product-image {
    width: 300px;
  }

  .logo img {
    width: 80px;
  }

  .logo span {
    font-size: 1.5rem;
  }
}
/* ---------- MOBILE / TABLET ---------- */
@media (max-width: 992px) {
  .hero-text h1 { font-size: 2.5rem; }
  .product-image { width: 300px; }
  .logo img { width: 80px; }
  .logo span { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-main { padding: 10px 15px; }
  .logo img { width: 70px; }
  .logo span { font-size: 1.4rem; }
  .hero-text { left: 15px; }
  .hero-text h1 { font-size: 1.8rem; }
  .product-container { flex-direction: column; }
  .product-image { width: 220px; }
  .products { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.5rem; }
  .btn-primary { padding: 8px 15px; }
  .product-image { width: 180px; }
}

@media (max-width: 360px) { .logo span { display: none; } }

/* ---------- MEDIA SAFETY ---------- */
img, video, iframe { max-width: 100%; height: auto; pointer-events: none; user-select: none; }

/* ---------- ANIMATIONS ---------- */
@keyframes glow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}