/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', serif;
  text-align: center;
  position: relative;
  overflow-x: hidden;
  background-color: #f0f0f0;
}

/* Navbar Styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  background-color: transparent;
  padding: 0.5%;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 2;
}

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 40px;
}

.logo-navbar {
  margin-top: 30px;
  height: 100px;
  width: 150px;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: whitesmoke;
  margin-left: 5px;
}

nav ul {
  display: flex;
  list-style: none;
  margin-right: 20px;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: bold;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: gray;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
  z-index: 3;
  top: 100%;
  left: 0;
  opacity: 0.9;
}

.dropdown-content a {
  color: whitesmoke;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #555;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  color: whitesmoke;
  cursor: pointer;
  
  /* Removed padding-right here as it will be handled in the media query */
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-right: 20px; /* Added right margin for hamburger on mobile */
    
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    width: 50%;
    padding: 60px 0 20px 0;
    text-align: center;
    z-index: 4;
    opacity: 0.8;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .dropdown-content {
    position: relative;
    background-color: #444;
    width: 100%;
    box-shadow: none;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* CTA Section */
.cta-section {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
  position: relative;
  bottom: 0;
  width: 100%;
  height: 50px;
}

/* Video Section */
.top-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding-top: 100px; /* Increased spacing from navbar */
  opacity: 0.9;
}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}

/* Collage */
.collage {
  width: 101%;
  height: 100%;
  display: block;
  margin-top: 30px;
  object-fit: cover;
}

/* Products Section */
.container {
  text-align: center;
  padding: 40px 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.highlight {
  color: rgba(3, 119, 252);
  font-weight: bold;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  flex: 1 1 14%;
  min-width: 180px;
  max-width: 220px;
  aspect-ratio: 2/3;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.product-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.product-card:hover {
  transform: scale(1.05);
  z-index: 2;
}

.label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 4px;
  color: black;
  background-color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
}