/*Imported Fonts*/

@import url('https://fonts.googleapis.com/css2?family=Bigshot+One&display=swap');

/* Fonts & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Lato', sans-serif;
  background-color: #F5F5F5;
  color: #0B0500;
}

/* Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: linear-gradient(
    to bottom,
   rgba(11, 5, 0, 1),
   rgba(11, 5, 0, 0.5)
   );
  color: #FFEFAF;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display';
  font-size: 28px;
}
.logo a {
  color: #FFEFAF;
  text-decoration: none;
  font-family: 'Playfair Display';
  font-size: 28px;
}
.logo a:hover {
  color: #d5c689;
}

nav {
  display: flex;
  align-items: center;
}

/* Desktop nav */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  color: #FFEFAF;
  text-decoration: none;
  font-weight: 700;
}

.nav-links li a:hover {
  color: #d5c689;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #FFEFAF;
  border-radius: 3px;
}

/* Hero */
.hero {
  background: url('images/supercast.png') center/cover no-repeat;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  text-shadow: 2px 2px 2px #0B0500;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 20px;
  margin-bottom: 30px;
}
.hero-text .btn {
  padding: 12px 30px;
  background-color: #FFEFAF;
  color: #0D1B2A;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}
.hero-text .btn:hover {
  background-color: #d5c689;
}

/* product */
.product .product-grid{
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  text-align: center;
  gap: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product {
  text-align: center;
  padding: 40px 40px;
}

.product-grid {
  scroll-behavior: smooth;
  padding: 20px 40px;
}

.product h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 40px;
}
.product-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  flex: 0 0 200px;
  scroll-snap-align: start;
}
.product-card a {
  text-decoration: none;
}

/*.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}*/

.product-image {
  aspect-ratio: 3 / 4;
  width: 100;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  padding: 20px;
  font-size: 20px;
  font-weight: 700;
  color: #0B0500;
}
.product-card p {
  font-size: 15px;
}

.product .product-grid::webkit-scrollbar {
  display: none;
}

.product-scroll-container {
  position: relative;
  display: flex;
  align-items: center;
}
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(11, 5, 0, 0.55);
  color: #FFEFAF;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.scroll-btn:hover {
  background-color: rgba(11, 5, 0, 0.95);
}
.scroll-btn.left {
  left: 5px;
}
.scroll-btn.right {
  right: 5px;
}


/* product drop down menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: rgba(0,0,0,0.8);
  padding: 10px 0;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 999;
}

.dropdown-menu li {
  padding: 10px 10px;
  list-style: none;
}

.dropdown-menu li a {
  color: #FFEFAF;
  text-decoration: none;
  display: block;
  font-weight: 600;
}

.dropdown-menu li a:hover {
  color: #d5c689;
  border-radius: 0px;
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 15px;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}


/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #0B0500;
  color: #FFEFAF;
}

/* Responsive */
@media (max-width: 768px) {

  /* hide desktop nav */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0B0500;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 20px 0;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  }

  /* show menu when JS toggles class */
  .nav-links.open {
    display: flex;
  }

  /* show hamburger icon */
  .hamburger {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }
}
@media (max-width: 480px) {
  .product-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-text p {
    font-size: 16px;
  }
}

