/* Auto Parts Website Styles - Pure CSS */

:root {
  --primary-orange: #004bc8;
  --dark-bg: #0d0d0d;
  --darker-bg: #000000;
  --gray-bg: #1a1a1a;
  --light-gray: #cccccc;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark-bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--darker-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.3s ease;
}

.loader-content {
  text-align: center;
}

.loader-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: skewX(-10deg);
  animation: loaderPulse 1.5s ease-in-out infinite;
  margin-bottom: 20px;
}

@keyframes loaderPulse {
  0%, 100% { transform: skewX(-10deg) scale(1); }
  50% { transform: skewX(-10deg) scale(1.1); }
}

.loader-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.loader-lines span {
  width: 25px;
  height: 4px;
  background: var(--white);
  display: block;
  animation: loaderLines 1s ease-in-out infinite;
}

.loader-lines span:nth-child(2) {
  width: 20px;
  animation-delay: 0.1s;
}

.loader-lines span:nth-child(3) {
  width: 15px;
  animation-delay: 0.2s;
}

@keyframes loaderLines {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.loader-text {
  color: var(--primary-orange);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 75, 200, 0.2);
  transition: var(--transition);
}

.header.sticky {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: skewX(-10deg);
  flex-shrink: 0;
}

.logo-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-lines span {
  width: 20px;
  height: 3px;
  background: var(--white);
  display: block;
}

.logo-lines span:nth-child(2) {
  width: 15px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--primary-orange);
  letter-spacing: 1px;
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-orange);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .nav-link i {
  font-size: 10px;
  margin-left: 5px;
  transition: var(--transition);
}

.nav-dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.98);
  min-width: 200px;
  padding: 15px 0;
  border: 1px solid rgba(0, 75, 200, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--light-gray);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--primary-orange);
  color: var(--white);
  padding-left: 25px;
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-icon {
  color: var(--white);
  font-size: 18px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.header-icon:hover {
  color: var(--primary-orange);
  transform: scale(1.1);
}

.header-icon .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-orange);
  color: var(--white);
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: 75px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  max-width: 700px;
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 20px;
  line-height: 1.1;
  animation: slideInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 28px;
  color: var(--primary-orange);
  margin-bottom: 15px;
  font-weight: 600;
  animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 30px;
  line-height: 1.6;
  animation: slideInUp 0.8s ease-out 0.4s backwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 75, 200, 0.9);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 20px;
}

.slider-btn:hover {
  background: var(--primary-orange);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
  left: 20px;
}

.slider-btn-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--primary-orange);
  transform: scale(1.2);
}

/* Buttons */
.btn-primary {
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  padding: 15px 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--white);
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 75, 200, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--primary-orange);
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-secondary:hover {
  background: var(--primary-orange);
  transform: translateY(-2px);
}

/* Section Styles */
.section-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-orange);
}

.text-center {
  text-align: center;
}

.text-center .section-title {
  display: block;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-description {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 50px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--gray-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 5px solid var(--primary-orange);
}

.about-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: 20px;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: var(--dark-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--gray-bg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 75, 200, 0.2);
}

.service-icon {
  color: var(--primary-orange);
  font-size: 48px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-description {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* Categories Section */
.categories-section {
  padding: 100px 0;
  background: var(--gray-bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.category-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  cursor: pointer;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
}

.category-title {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(0, 75, 200, 0.95) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Products Section */
.products-section {
  padding: 100px 0;
  background: var(--dark-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.product-card {
  background: var(--gray-bg);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
}

.product-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 75, 200, 0.2);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-orange);
  color: var(--white);
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-badge.sale {
  background: #e74c3c;
}

.product-badge.hot {
  background: #f39c12;
}

.btn-wishlist {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.btn-wishlist:hover {
  background: var(--primary-orange);
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
}

.product-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.product-description {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-orange);
}

.btn-add-cart {
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-add-cart:hover {
  background: var(--white);
  color: var(--primary-orange);
  transform: translateX(5px);
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: var(--dark-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.feature-item {
  text-align: center;
}

.feature-number {
  font-size: 72px;
  font-weight: 900;
  color: var(--primary-orange);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-description {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* Gearheads Section */
.gearheads-section {
  padding: 100px 0;
  background: var(--gray-bg);
}

.gearheads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gearheads-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gearhead-image-main {
  grid-column: 1 / -1;
}

.gearhead-image-main img,
.gearhead-image-secondary img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 3px solid var(--primary-orange);
}

.gearhead-image-secondary img {
  height: 250px;
}

.gearheads-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: 20px;
}

.gearheads-list {
  list-style: none;
  margin: 30px 0;
}

.gearheads-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 15px;
  color: var(--light-gray);
}

.gearheads-list i {
  color: var(--primary-orange);
  flex-shrink: 0;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: var(--primary-orange);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--white);
}

.stat-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: var(--gray-bg);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  min-height: 300px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
  padding: 40px;
  background: var(--dark-bg);
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 30px;
  color: var(--primary-orange);
  font-size: 20px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--white);
}

.testimonial-role {
  font-size: 14px;
  color: var(--primary-orange);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-btn {
  background: var(--primary-orange);
  border: none;
  color: var(--white);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.testimonial-btn:hover {
  background: var(--white);
  color: var(--primary-orange);
  transform: scale(1.1);
}

/* Blog Section */
.blog-section {
  padding: 100px 0;
  background: var(--dark-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.blog-card {
  background: var(--gray-bg);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 75, 200, 0.2);
}

.blog-image {
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 12px;
}

.blog-date {
  color: var(--light-gray);
}

.blog-category {
  color: var(--primary-orange);
  font-weight: 600;
}

.blog-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.blog-link:hover {
  gap: 10px;
}

/* Newsletter Section */
.newsletter-section {
  padding: 100px 0;
  background-image: url('assets/images/hero-1');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.newsletter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.newsletter-text {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 40px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 15px;
}

.newsletter-input {
  flex: 1;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  border-color: var(--primary-orange);
  background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
  padding: 80px 0 30px;
  background: var(--darker-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-description {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.8;
  margin: 20px 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gray-bg);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-orange);
  transform: translateY(-5px);
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--light-gray);
}

.footer-contact i {
  color: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: var(--light-gray);
}

.footer-bottom a {
  color: var(--primary-orange);
  text-decoration: none;
}

/* Notification */
.notification {
  position: fixed;
  top: 100px;
  right: -400px;
  background: var(--gray-bg);
  color: var(--white);
  padding: 15px 20px;
  border-left: 4px solid var(--primary-orange);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 300px;
  transition: right 0.3s ease;
}

.notification.show {
  right: 20px;
}

.notification i {
  font-size: 24px;
  color: var(--primary-orange);
}

.notification-success {
  border-left-color: #27ae60;
}

.notification-success i {
  color: #27ae60;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  font-size: 20px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--white);
  color: var(--primary-orange);
  transform: translateY(-5px);
}

/* Page Content Styles */
.page-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/hero-1');
  background-size: cover;
  background-position: center;
  padding: 150px 0 100px;
  margin-top: 75px;
  text-align: center;
}

.page-header h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.page-header p {
  font-size: 18px;
  color: var(--light-gray);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--light-gray);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-orange);
}

.breadcrumb span {
  color: var(--primary-orange);
}

.page-content {
  padding: 100px 0;
  background: var(--dark-bg);
}

/* Form Styles */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 15px;
  background: var(--gray-bg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary-orange);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .services-grid,
  .products-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-actions {
    order: 2;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding: 50px 20px;
    transition: var(--transition);
    gap: 0;
    overflow-y: auto;
  }

  .nav.nav-open {
    left: 0;
  }

  .nav-link {
    font-size: 18px;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-menu.show {
    max-height: 500px;
  }

  .dropdown-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .about-grid,
  .gearheads-grid {
    grid-template-columns: 1fr;
  }

  .about-image img,
  .gearhead-image-main img {
    height: 350px;
  }

  .services-grid,
  .categories-grid,
  .products-grid,
  .features-grid,
  .stats-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 300px;
  }

  .section-title {
    font-size: 32px;
  }

  .page-header h1 {
    font-size: 40px;
  }

  .newsletter-title {
    font-size: 36px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .testimonials-slider {
    padding: 0 20px;
  }

  .testimonial-slide {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .newsletter-title {
    font-size: 28px;
  }

  .stat-number {
    font-size: 40px;
  }

  .logo-title {
    font-size: 16px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .slider-btn-prev {
    left: 10px;
  }

  .slider-btn-next {
    right: 10px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-icon {
    font-size: 16px;
  }
}
.map-container {
  position: relative;
  width: 100%;
  max-width: 600px; /* optional max width */
  aspect-ratio: 1 / 1; /* square ratio (change if needed, e.g. 16/9) */
  overflow: hidden;
  border-radius: 8px; /* optional styling */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}







/* Small phones (<768px): stack vertically */
@media (max-width: 1025px) {
   .hero-content {
    padding:120px 65px 0 65px;  
  }
}
@media (max-width: 767px) {
  .page-content .container > div {
    grid-template-columns: 1fr !important; /* stack */
    gap: 20px !important;
  }
  .page-content .container .form-grid {
    grid-template-columns: 1fr !important; /* form fields stack */
  }
  .container { padding: 0 12px; }
}

/* Prevent long text or icons forcing width */
* { overflow-wrap: break-word; word-wrap: break-word; }

/* Optional last-resort guard (remove if you prefer to debug each element) */
html, body { overflow-x: hidden; }

@media (max-width: 375px) {
  .product-names{
    max-width: 80px;
  }
  .hero-content {
    padding:50px 40px 0 40px;  
  }
}