/* Reset & Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: white;
  background: linear-gradient(90deg, #979a9a 0%, #aeaeb5 100%)
}


/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.3);
  /* transparent background */
  backdrop-filter: blur(5px);
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;

}

.logo .owner-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;


}

.logo {
  font-size: 26px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: 200px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar nav {
  margin-left: auto;
}


/* Hero Section */
.hero {
  height: 100vh;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8%;
  padding-right: 5%;
  overflow: hidden;
}

.bg-fade-layer {
background-image: url(/assets/img/bg3.jpg);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
  margin-right: 20px;
}

.hero-content h1 {
  margin: 10px 0;
}

.hero-content p {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: rgb(255, 255, 255);
  font-weight: 500;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s, color 0.3s;
  margin-top: 20px;
}

.btn:hover {
  background-color: #4c8b11;
  color: white;
}

.car-renders {
  padding: 60px 40px;

  color: white;
  text-align: center;
}

.car-renders h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.car-renders p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #ccc;
}

.car-video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;


}

.product-content-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.car-video-grid video {
  width: 320px;
  height: 568px;
  /* Keeps 1080x1920 aspect ratio */
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.car-video-grid video:hover {
  transform: scale(1.03);
}

.car-image-grid {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.car-image-grid img {
  width: 320px;
  height: auto;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.car-image-grid img:hover {
  transform: scale(1.03);
}

.product-renders {
  padding: 60px 40px;
  color: white;
  text-align: center;
}

.product-renders h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.product-renders p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #ccc;
}

.product-video-grid,
.product-image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.product-video-grid video,
.product-image-grid img {
  width: 320px;
  height: 568px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.product-video-grid video:hover,
.product-image-grid img:hover {
  transform: scale(1.03);
}

.footer {
  background-color: #111;
  /* dark footer background */
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 15px;
}

.footer-links a {
  color: #bbb;
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* ABOUT PAGE STYLES */
.about-section {
  padding: 80px 20px;
  background-color: #111;
  color: #eee;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.about-text {
  flex: 2;
  min-width: 280px;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 0;
  background-color: #000;
  color: #aaa;
  font-size: 14px;
}

/* ContactCSS */
/* Contact Section */
.contact-form,
.contact-form input,
.contact-form textarea,
.contact-form button {
  font-family: 'Poppins', sans-serif;
}


.contact-section {
  background-color: #111;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}

.contact-form button {
  padding: 12px;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #c2185b;
}

.contact-socials {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-socials a {
  color: #eee;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-socials a:hover {
  color: #e91e63;
}

.contact-socials i {
  margin-right: 8px;
}

/* ABOUTPAGE */
.about-section {
  background-color: #111;
  padding: 60px 20px;
  height: 800px;
  color: #fff;
}


.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 100px auto;

}

.about-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.about-text {
  max-width: 600px;
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccc;
}

/* responsiveness */
/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    margin-left: 0;
    width: 100%;
    display: none;
    /* hidden by default on mobile */
  }
  .nav-links.show {
    display: flex;
  }

  .navbar nav {
    width: 100%;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    margin-left: auto;
  }
}

/* RESPONSIVE NAVIGATION */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    gap: 20px;
    display: none;
  }

  .navbar nav {
    margin-left: 0;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: white;
  background: linear-gradient(90deg, #979a9a 0%, #aeaeb5 100%);
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.3);
  /* transparent background */
  backdrop-filter: blur(5px);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* Center the container */
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
}

.logo .owner-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: 200px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar nav {
  margin-left: auto;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8%;
  padding-right: 5%;
  overflow: hidden;
}

.bg-fade-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
  margin-right: 20px;
}

.hero-content h1 {
  margin: 10px 0;
}

.hero-content p {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: rgb(255, 255, 255);
  font-weight: 500;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s, color 0.3s;
  margin-top: 20px;
}

.btn:hover {
  background-color: #4c8b11;
  color: white;
}

/* Car Renders Section */
.car-renders {
  padding: 60px 40px;
  color: white;
  text-align: center;
}

.car-renders h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.car-renders p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #ccc;
}


.car-video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.product-content-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.car-video-grid video {
  width: 320px;
  height: 568px;
  /* Keeps 1080x1920 aspect ratio */
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.car-video-grid video:hover {
  transform: scale(1.03);
}

.car-image-grid {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.car-image-grid img {
  width: 320px;
  height: auto;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.car-image-grid img:hover {
  transform: scale(1.03);
}

/* Product Renders Section */
.product-renders {
  padding: 60px 40px;
  color: white;
  text-align: center;
}

.product-renders h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.product-renders p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #ccc;
}

.product-video-grid,
.product-image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.product-video-grid video,
.product-image-grid img {
  width: 320px;
  height: 568px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.product-video-grid video:hover,
.product-image-grid img:hover {
  transform: scale(1.03);
}

/* Footer */
.footer {
  background-color: #111;
  /* dark footer background */
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 15px;
}

.footer-links a {
  color: #bbb;
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* ABOUT PAGE STYLES */
.about-section {
  padding: 80px 20px;
  background-color: #111;
  color: #eee;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.about-text {
  flex: 2;
  min-width: 280px;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* ContactCSS */


/* ABOUTPAGE - Alternative styling */
.about-section {
  background-color: #111;
  padding: 60px 20px;
  height: 800px;
  color: #fff;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 100px auto;
}

.about-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.about-text {
  max-width: 600px;
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccc;
}

/* RESPONSIVE NAVIGATION */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* RESPONSIVENESS - KEEPING YOUR EXACT DESIGN */

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .nav-links {
    margin-left: 100px;
    /* Reduce the excessive margin */
  }

  .hero {
    padding-left: 6%;
    padding-right: 6%;
  }

  .car-renders,
  .product-renders {
    padding: 60px 30px;
  }
}

/* Mobile Navigation & Layout (768px and below) */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .container {
    padding: 0 20px;
    flex-wrap: wrap;
    position: relative;
  }

  .navbar {
    padding: 15px 0;
  }

  .logo {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .logo .owner-img {
    width: 35px;
    height: 35px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    width: 250px;
    padding: 30px 20px;
    gap: 25px;
    margin-left: 0;
    display: none;
    border-radius: 0 0 0 15px;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.5);
  }

  .navbar nav {
    margin-left: 0;
    width: 100%;
  }

  /* Hero adjustments */
  .hero {
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
    justify-content: center;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    margin-right: 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  /* Car and Product sections */
  .car-renders,
  .product-renders {
    padding: 50px 20px;
  }

  .car-renders h2,
  .product-renders h2 {
    font-size: 1.8rem;
  }

  /* Keep your exact video/image sizes but make them responsive */
  .car-video-grid video {
    width: min(320px, 90vw);
    height: min(568px, calc(90vw * 1.775));
    /* Maintain aspect ratio */
  }

  .car-image-grid img {
    width: min(320px, 90vw);
  }

  .product-video-grid video,
  .product-image-grid img {
    width: min(320px, 90vw);
    height: min(568px, calc(90vw * 1.775));
  }

  .car-video-grid,
  .product-video-grid,
  .car-image-grid,
  .product-image-grid {
    gap: 20px;
  }

  /* About page responsive */
  .about-container {
    gap: 40px;
    margin: 50px auto;
    flex-direction: column;
  }

  .about-img {
    width: min(280px, 80vw);
    height: min(280px, 80vw);
    margin-top: 180px;
   
  }

  .about-text h1 {
    font-size: 2rem;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  /* Footer responsive */
  .footer-links a {
    display: block;
    margin: 5px 0;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo {
    font-size: 18px;
  }

  .logo .owner-img {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding-left: 3%;
    padding-right: 3%;
    min-height: 100vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content h2 {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .car-renders,
  .product-renders {
    padding: 40px 15px;
  }

  .car-renders h2,
  .product-renders h2 {
    font-size: 1.5rem;
  }

  /* Even smaller videos/images on tiny screens */
  .car-video-grid video {
    width: min(280px, 85vw);
    height: min(497px, calc(85vw * 1.775));
  }

  .car-image-grid img {
    width: min(280px, 85vw);
  }

  .product-video-grid video,
  .product-image-grid img {
    width: min(280px, 85vw);
    height: min(497px, calc(85vw * 1.775));
  }

  .about-text h1 {
    font-size: 1.8rem;
  }
}

/* Very Small Screens (360px and below) */
@media (max-width: 360px) {
  .nav-links {
    width: 200px;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .car-video-grid video,
  .product-video-grid video,
  .product-image-grid img {
    width: min(250px, 80vw);
    height: min(444px, calc(80vw * 1.775));
  }

  .car-image-grid img {
    width: min(250px, 80vw);
  }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding-top: 80px;
  }
}


/* Sidebar styles */

/* Overlay when sidebar is open */

.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  
  
}
/* exploreSection */

/* Explore Page Top Video */
.Explore-Top {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.Explore-Top video {
  margin-top: 90px;
  width: 100%;
  height:auto;
   border-radius: 2px;
  object-fit: cover;
}
/* Explore Video Grid */
.Explore-car-video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 90px;
}

.Explore-car-video-grid video {
  width: min(500px, 90vw);
  height: auto;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Explore Image Grid */
.Explore-car-image-grid {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 90px;
}

.Explore-car-image-grid img, video {
  width: min(500px, 90vw);
  height: auto;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
  .Explore-car-video-grid video,
  .Explore-car-image-grid img, .Explore-car-image-grid video {
    width: min(280px, 85vw);
  }
}

@media (max-width: 480px) {
  .Explore-car-video-grid video,
  .Explore-car-image-grid img, .Explore-car-image-grid video {
    width: min(250px, 80vw);
  }
}
footer {
  padding: 20px 10px;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
}
.exploreMain p{
  justify-content: center;
  text-align: center;
  margin: 10px;
  padding-top: 30px;
}
