/* Global styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2c3e50;
  padding: 10px 20px;
  color: #fff;
}

header .logo {
  height: 60px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

nav a:hover {
  color: #85c1e9;
}

/* Hero section */
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  height: 350px;
}

/* Add YOBA logo as a subtle backdrop on the hero section. Use the original blue logo, scale it up, 
   make it semi‑transparent, and position it towards the bottom of the hero so that it sits below the welcome text. */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/logo.png');
  background-repeat: no-repeat;
  /* Double the size of the logo relative to before so it is much larger in the hero background */
  background-size: 160%;
  /* Center the large translucent YOBA logo within the hero. This positions it in the middle of the skyline images. */
  background-position: center center;
  /* Semi‑transparent for a subtle watermark effect */
  opacity: 0.2;
  z-index: 2;
}

/* Layering for hero content: skyline images at the bottom, logo backdrop above, then overlay text on top */
.hero .hero-image {
  position: relative;
  z-index: 1;
}

.hero .hero-overlay {
  position: absolute;
  z-index: 3;
}

.hero-image {
  flex: 1 1 50%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Dim the skyline images so the backdrop logo stands out */
  filter: brightness(0.6);
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Position the welcome message at the top of the hero so it sits above the logo graphic */
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  /* Add extra top padding so the text does not overlap the skyline */
  padding: 40px 20px 20px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin: 0;
}

.hero-overlay p {
  margin: 10px 0 0;
  font-size: 1.1rem;
}

/* Logo inside the hero overlay. This appears below the welcome text */

/* Products section */
.products {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.products h2 {
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 2rem;
}

.product-card {
  display: inline-block;
  width: 300px;
  margin: 15px;
  /* Remove border and shading so product cards blend seamlessly with the background */
  border: none;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  vertical-align: top;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Container for multiple product images */
/* Container for multiple product images. Use horizontal scrolling to allow customers to browse different views of each product. */
.product-images {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding: 0 10px;
}

/* Style individual images within the product-images container */
.product-images img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 280px;
  /* Let the images keep their natural aspect ratio to avoid letterboxed boxes */
  height: auto;
  /* Allow the image to shrink if needed while preserving aspect ratio */
  object-fit: contain;
  border-radius: 0;
  scroll-snap-align: center;

  /* Remove any default background or border from the images so no boxes appear around them */
  background-color: transparent;
  border: none;
}

.product-card h3 {
  margin: 10px;
  color: #2c3e50;
  font-size: 1.1rem;
}

.product-card .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2980b9;
  margin: 5px 10px;
}

.product-card p {
  margin: 5px 10px 10px;
  font-size: 0.9rem;
}

.product-card .btn {
  display: block;
  margin: 10px;
  padding: 10px;
  background-color: #2980b9;
  color: #fff;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s;
}

.product-card .btn:hover {
  background-color: #1f609a;
}

/* Wrapper for the View Cart button */
.view-cart-wrapper {
  text-align: center;
  margin: 20px 0;
}

/* Style for View Cart button (inherits from .btn) */
.view-cart-wrapper .view-cart {
  display: inline-block;
}

/* About section */
.about {
  padding: 40px 20px;
  background-color: #f0f0f0;
  color: #333;
}

.about h2 {
  color: #2c3e50;
  font-size: 2rem;
}

.about p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.about .credits {
  font-size: 0.8rem;
  color: #555;
}

/* Pre‑Order section */
.preorder {
  padding: 40px 20px;
  background-color: #fff;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

.preorder h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.preorder p {
  margin-bottom: 20px;
  font-size: 1rem;
  text-align: center;
}

.preorder form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preorder label {
  font-weight: bold;
}

.preorder input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.preorder button {
  padding: 10px;
  font-size: 1rem;
  background-color: #2980b9;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.preorder button:hover {
  background-color: #1f609a;
}

/* Layout for pre‑order items list */
.preorder-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

/* The pre‑order item card previously had a border, rounded corners and a light grey background. 
   Remove these styles so the cards blend into the page background and avoid any boxed look. */
.preorder-item {
  border: none;
  padding: 15px;
  border-radius: 0;
  background-color: transparent;
}

.preorder-item h3 {
  margin-top: 0;
  color: #2c3e50;
}

.preorder-item p {
  margin: 10px 0;
}

/* Style for the bulk order discount note */
.bulk-order-note {
  font-size: 1rem;
  font-weight: bold;
  color: #c0392b;
  text-align: center;
  margin-top: 10px;
}

/* Contact section */
.contact {
  padding: 40px 20px;
  background-color: #f0f0f0;
  color: #333;
}

.contact h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.contact p {
  margin-bottom: 20px;
  font-size: 1rem;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.contact label {
  font-weight: bold;
}

.contact input,
.contact textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact button {
  padding: 10px;
  font-size: 1rem;
  background-color: #2980b9;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact button:hover {
  background-color: #1f609a;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
}

footer a {
  color: #85c1e9;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
/* Coming Soon labels (used when cart buttons are disabled) */
.coming-soon-row{
  margin: 10px;
  text-align: center;
}
.coming-soon{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(0,0,0,0.08);
  color: #2c3e50;
}

.logo-subtext {
  margin-top: -10px;
  font-size: 1.4rem;
  letter-spacing: 4px;
  font-weight: 600;
  color: rgba(0, 102, 204, 0.85);
  text-transform: uppercase;
}
