html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
}

.navbar {
  display: none;
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 20px;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .hamburger span {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    padding: 15px 0;
    text-align: center;
    list-style: none;
  }

  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 12px 0;
  }

  .nav-links.active {
    display: flex;
  }
}

.hero {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    ),
    url('/Galeria/image12.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 25px;
  width: 100%;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0056b3;
}

.products-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.products-section h2 {
  font-size: 2.2rem;
  margin-bottom: 60px;
  color: #222;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
  width: 95%;
  max-width: 1800px;
  margin: 0 auto;
}

.product-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-gallery {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 1;
}

.gallery-image.active {
  opacity: 1;
  z-index: 2;
}


.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s, transform 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-btn:hover {
  background-color: rgba(0, 0, 0, 0.85);
}

.gallery-btn.prev {
  left: 10px;
}

.gallery-btn.next {
  right: 10px;
}

.product-info {
  padding: 35px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.product-info p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.contact {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 25px;
}

.contact-details p {
  font-size: 1.1rem;
  margin: 12px 0;
}

.contact-details a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.contact-details a:hover {
  text-decoration: underline;
}

.btn-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #007bff; 
  color: #ffffff;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: auto;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-price:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
}