/* =========================
   Global Styles
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #212121;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =========================
   Header
   ========================= */
header {
  background-color: #1a1a1a;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.logo span { color: #ff9800; }

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li { margin-left: 30px; }

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color .3s;
}
.nav-links a:hover { color: #ff9800; }

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
}

/* =========================
   Hero (Background Image)
   ========================= */
.hero { 
  color: #fff;
  text-align: center;
}

/* Put your actual image at /images/111.jpg (add ?v= to bust cache if needed) */
.hero-has-bg {
  position: relative;
  background: #000 center / cover no-repeat;
  background-image: url("/images/111.jpg");
  display: flex;
  align-items: center;   /* vertical center content */
  min-height: 75vh;      /* phones/tablets */
}

/* dark overlay for text contrast */
.hero-has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

/* keep hero content above overlay */
.hero-has-bg .container {
  position: relative;
  z-index: 1;
  padding: 40px 15px;
}

.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.hero p  { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; }

.btn {
  display: inline-block;
  background-color: #ff9800;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color .3s;
}
.btn:hover { background-color: #f57c00; }

/* Force 1200px hero on large desktops */
@media (min-width: 1200px) {
  .hero-has-bg {
    height: 1200px;
    min-height: 1200px;
  }
}

/* =========================
   Sections
   ========================= */
section { padding: 80px 0; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.5rem;
  color: #2e7d32;
  margin-bottom: 15px;
}
.section-title p {
  color: #757575;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   Products
   ========================= */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
  transition: transform .3s;
  display: grid;
  gap: .75rem;
}
.product-card:hover { transform: translateY(-10px); }

.product-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform .25s ease;
  cursor: zoom-in;
}
.product-media:hover img { transform: scale(1.02); }

.product-info { padding: 20px; }
.product-info h3 { color: #1a1a1a; margin-bottom: 10px; }
.product-info p  { color: #757575; margin-bottom: 15px; }
.price { color: #ff9800; font-weight: 700; font-size: 1.2rem; }

/* =========================
   About / Contact
   ========================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 { color: #2e7d32; margin-bottom: 20px; }
.about-text p  { margin-bottom: 15px; }
.about-image {
  background-color: #2e7d32;
  height: 300px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info { margin-bottom: 30px; }
.contact-info h3 { color: #2e7d32; margin-bottom: 15px; }
.contact-info p  { margin-bottom: 10px; }

/* =========================
   Footer
   ========================= */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 50px 0 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-section h3 { margin-bottom: 20px; font-size: 1.2rem; color: #ff9800; }
.footer-section p  { margin-bottom: 10px; }
.footer-section a  { color: #fff; text-decoration: none; }
.footer-section a:hover { color: #ff9800; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* =========================
   Lightbox (WHITE modal with specs)
   ========================= */
.lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;              /* toggled by .open */
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}
.lb-backdrop.open { display: flex; }

.lb-dialog {
  position: relative;
  width: min(1100px, 95vw);
  max-height: 90vh;
  background: #fff;           /* WHITE modal */
  color: #111;                /* dark text */
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr; /* stacked by default */
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.lb-media { background: #fff; }
.lb-media .lb-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
}

.lb-details {
  padding: 1rem 1.25rem 1.25rem;
  overflow: auto;
  border-top: 1px solid rgba(0,0,0,.08);
}
.lb-title { color:#111; font-size: 1.25rem; margin: 0 0 .35rem; }
.lb-desc  { color:#333; margin: 0 0 .6rem; }

.lb-specs { list-style: none; padding: 0; margin: 0; }
.lb-specs li { padding: .25rem 0; border-bottom: 1px dashed rgba(0,0,0,.15); }
.lb-specs li:last-child { border-bottom: 0; }

.lb-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  font-size: 2rem;
  line-height: 1;
  color: #111;                /* dark close icon */
  background: rgba(0,0,0,.06);
  border: 0;
  border-radius: 8px;
  padding: .1rem .6rem .3rem;
  cursor: pointer;
}

/* Desktop: image + details side by side */
@media (min-width: 900px) {
  .lb-dialog { grid-template-columns: 3fr 2fr; }
  .lb-media .lb-image { max-height: 90vh; }
  .lb-details { border-top: 0; border-left: 1px solid rgba(0,0,0,.08); }
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 768px) {
  .hamburger { display: block; }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    background-color: #1a1a1a;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transition: left .3s;
  }
  .nav-links.active { left: 0; }
  .nav-links li { margin: 15px 0; }

  .about-content,
  .contact-container { grid-template-columns: 1fr; }

  .hero h1 { font-size: 2.2rem; }
}
