/* General Page Styling */

.hero-header {
  background: url("images/workshop.jpg") no-repeat center center/cover;
  height: 300px; /* Adjust depending on photo proportions */
  color: white;
  display: flex;
  align-items: flex-end; /* pushes overlay down */
  justify-content: center; /* keeps it centered */
  padding: 20px;
}

.hero-header .overlay {
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
  padding: 20px 40px;
  border-radius: 10px;
  text-align: center;
}

.hero-header h1,
.hero-header p,
.hero-header nav a {
  color: white;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fdfdfc;
  color: #333;
  line-height: 1.6;
}

header {
  text-align: center;
  border-bottom: 2px solid #ddd;
}

nav {
  margin-top: 0.5rem;
}

nav a {
  text-decoration: none;
  margin: 0 0.8rem;
  color: white; /* stays white over dark overlay */
  font-weight: bold;
}

nav a:hover {
  color: #d9b38c; /* lighter leather-brown tone */
}

/* Main Layout */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
}

h1, h2, h3 {
  color: #2b2b2b;
}

/* Product Section */
.products {
  margin-top: 2rem;
}

.product {
  text-align: center;
  margin-bottom: 2rem;
}

.product img {
  max-width: 100%;   /* full size on large screens */
  height: auto;      /* keep aspect ratio */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

.product img:hover {
  transform: scale(1.03);
}

/* Gallery Page */
.gallery {
  margin-top: 2rem;
}

.gallery-group {
  margin-bottom: 2rem;
}

.gallery-group h3 {
  margin-bottom: 0.5rem;
  color: #444;
}

.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-images img {
  width: 220px; 
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.gallery-images img:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  margin-top: 3rem;
  padding: 1rem;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #f7f5f2;
  border-top: 2px solid #ddd;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 600px) {
  .hero-header {
    height: 200px; /* smaller hero section on phones */
  }

  .hero-header .overlay {
    padding: 15px;
  }

  nav a {
    display: inline-block;
    margin: 0.3rem;
  }

  .gallery-images {
    justify-content: center;
  }

  .gallery-images img {
    width: 100%;
    max-width: 300px;
  }
}
