@import url('styles.css');

/* Prices Page Hero */
.price-hero {
  text-align: center;
  padding: 3rem 0 1rem; /* Reduced bottom padding */
}

.price-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price-hero p {
  font-size: 1.2rem;
  color: #555;
}



/* Price Grid */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; /* Adjusted gap */
  margin-top: 1rem; /* Reduced margin-top */
}

.price-card {
  background: var(--accent); /* Lime green background matching seat wedge */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem; /* Reduced padding */
  text-align: center;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.price-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.price-tag {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.7rem;
  display: block;
}

.price-info p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Suppress h2 underline */
.no-underline::after {
  display: none !important;
}

/* Product Section */
.product-section {
  margin-top: -2rem; /* Reduced negative margin to pull product section up */
}

.product-section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem; /* Adjusted bottom margin */
}

.product-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem; /* Reduced gap */
  background: var(--accent);
  border-radius: 10px;
  padding: 1.5rem; /* Reduced padding */
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.product-card img {
  width: 250px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.product-info {
  flex: 1;
  min-width: 280px;
}

.product-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-info p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* General Product/Price Cards Styles */
/* Responsive */
@media (max-width: 768px) {
  /* Product Card (Seat Wedge) */
  .product-card {
    flex-direction: column; /* Stack the content vertically */
    text-align: center; /* Center-align the content */
    padding: 1.5rem; /* Adjust padding for smaller screens */
  }

  .product-card img {
    width: 100%; /* Make the image take full width */
    max-width: 250px; /* Set a max-width to prevent over-expansion */
  }

  /* Price Card */
  .price-card {
    flex-direction: column; /* Stack the content vertically */
    text-align: center; /* Center-align the content */
    padding: 1.5rem; /* Adjust padding for smaller screens */
  }

  .price-card img {
    width: 100%; /* Make the image take full width */
    max-width: 120px; /* Keeps the image from getting too large */
  }
}


/* Fade-in Animation */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(30px); /* Starts with a downward position */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Ends at the normal position */
  }
}

/* Adjusting Image Sizes for Mobile (Specific to Seat Wedge and Price Cards) */
@media (max-width: 768px) {
  .product-card img {
    width: 100%; /* Ensures the image fills the container */
    max-width: 300px; /* Restricts size of the image */
    height: auto;
  }

  .price-card img {
    width: 100%; /* Ensures the image fills the container */
    max-width: 120px; /* Restricts size of the image */
    height: auto;
  }
}

/* Adjust for Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
  .product-card img {
    width: 100%;
    max-width: 250px; /* Shrinks the image slightly for smaller screens */
    height: auto;
  }

  .price-card img {
    width: 100%;
    max-width: 100px; /* Shrinks the image further */
    height: auto;
  }
}




