/* General Styles */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #fff;
  color: #111;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Header Section */
.navbar {
  display: flex;
  justify-content: center; /* Centers the logo horizontally */
  align-items: center; /* Centers the content vertically */
  background-color: #333;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%; /* Ensures the navbar spans the full width of the page */
  z-index: 1000;
  background-image: url('images/RWB.png'); /* Sets the new background image */
  background-size: cover; /* Ensures the image covers the entire navbar */
  background-position: center; /* Centers the image */
  height: 80px; /* Adjust the height of the navbar */
}

.navbar .logo {
  color: #000; /* Changes the text color to black */
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  position: absolute; /* Allows the logo to stay centered */
  left: 50%; /* Centers the logo horizontally */
  transform: translateX(-50%); /* Adjusts for the logo's width */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  position: absolute; /* Keeps the nav-links positioned */
  right: 20px; /* Aligns the nav-links to the right */
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  list-style: none;
  padding: 10px 0;
  border-radius: 5px;
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: #fff;
  padding: 5px 15px;
  display: block;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #555;
}

/* Hero Swiper */
.hero-swiper {
  width: 100%;
  height: 80vh;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

/* Section Title */
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 30px 20px 10px;
}

/* Product Swiper */
.product-swiper {
  padding: 20px;
  width: 100%;
  max-width: 1200px; /* Set a maximum width for the carousel */
  margin: 0 auto; /* Center the carousel horizontally */
}

.product-card {
  text-align: center;
  background: #f4f4f4;
  padding: 10px;
  border-radius: 10px;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 180px;
}

/* Additional Styles for Images */
.images-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  display: block;
}

/* Responsive Navigation Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    position: absolute;
    top: 80px;
    right: 0;
    width: 200px;
    padding: 20px 0;
    border-radius: 0 0 0 10px;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }
  .nav-links.active {
    display: flex;
  }
  .navbar {
    position: relative;
    height: 80px;
    padding: 10px 0;
  }
  .nav-links li {
    margin: 10px 0;
    text-align: right;
    padding-right: 20px;
  }
  .nav-links .dropdown-menu {
    position: static;
    background: #333;
    box-shadow: none;
    border-radius: 0;
    padding-left: 20px;
  }
}
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    width: auto;
    padding: 0;
    box-shadow: none;
  }
  .nav-links li {
    margin: 0 10px;
    padding: 0;
    text-align: left;
  }
  .nav-links .dropdown-menu {
    position: absolute;
    background: #444;
    left: 0;
    top: 100%;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 5px;
    padding-left: 0;
  }
}

/* Responsive Video Embeds */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  padding-top: 0;         /* Remove extra top padding */
  height: 0;
  max-width: 100%;        /* Allow full width on mobile */
  margin: 0 auto;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* For desktop, you can still set a max-width */
@media (min-width: 1024px) {
  .video-responsive {
    max-width: 1200px; /* or whatever you prefer for desktop */
  }
}

/* Swiper Slide Images */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  display: block;
}

/* Make Swiper arrows smaller and light grey */
.swiper-button-next,
.swiper-button-prev {
  width: 22px;
  height: 22px;
  color: #bbb !important;         /* Light grey arrow */
  background: rgba(255,255,255,0.7); /* Optional: subtle background for visibility */
  border-radius: 50%;
  font-size: 18px !important;
  box-shadow: none;
  transition: background 0.2s;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;     /* Make arrow icon smaller */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #e5e7eb;           /* Slightly darker on hover */
  color: #888 !important;
}