/* =========================
   Global Reset & Base Styles
   ========================= */
* { margin:0; padding:0; box-sizing:border-box; }

html, body { height:100%; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: url("background.jpeg") no-repeat center center fixed;
  background-size: cover;
  color: #333;
  line-height: 1.6;
}

/* =========================
   Header & Navigation
   ========================= */
header {
  background-color: rgba(255,255,255,0.85);
  padding: 10px 20px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo { max-height:70px; }
nav ul { list-style:none; display:flex; gap:20px; }
nav ul li a {
  color:#B8860B; text-decoration:none; font-weight:bold;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}
nav ul li a:hover { color:#000; border-bottom:2px solid #B8860B; }
.menu-toggle { display:none; font-size:24px; cursor:pointer; color:#B8860B; }
@media(max-width:768px){
  nav ul { display:none; flex-direction:column; background:#fff; position:absolute;
           top:70px; right:0; width:200px; padding:20px; border:1px solid #ddd; }
  nav ul.active { display:flex; }
  .menu-toggle { display:block; }
}

/* =========================
   Brands Top Line
   ========================= */
.brands-top {
  display:flex; justify-content:center; align-items:center;
  background:rgba(255,255,255,0.9);
  padding:20px;
  border-bottom:2px solid #ccc;
  flex-wrap:wrap;
}
.brands-top img {
  height:100px;
  margin:0 20px;
  object-fit:contain;
}

/* =========================
   Main Content
   ========================= */
main {
  padding:40px 20px; max-width:1400px; margin:auto;
  background-color:rgba(255,255,255,0.9); border-radius:8px;
}
h1,h2,h3 {
  text-align:center;
  color:#B8860B;
  margin-bottom:20px;
  font-weight:bold;
}
h1 { font-size:2.5em; margin-bottom:40px; }

/* =========================
   Scrolling Strip
   ========================= */
.slider {
  overflow:hidden;
  white-space:nowrap;
  width:100%;
  background:#fff;
  border-top:3px solid #ccc;
  border-bottom:3px solid #ccc;
  padding:15px 0;
  margin-top:40px;
}
.slider-track {
  display:inline-flex;
  animation: scroll 30s linear infinite;
}
.slider-track img {
  height:220px;
  width:auto;
  margin:0 15px;
  border-radius:8px;
  box-shadow:0 4px 8px rgba(0,0,0,0.2);
  object-fit:contain;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media(max-width:768px) {
  .slider-track { animation: scroll 18s linear infinite; }
}

/* =========================
   Discover & Contact Buttons
   ========================= */
.discover-more {
  margin:40px 0;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:15px;
}
.discover-btn,
.contact-btn {
  flex:0 0 auto;
  background:#B8860B;
  color:#000;
  font-weight:bold;
  font-size:1.1em;
  padding:12px 30px;
  border-radius:6px;
  text-decoration:none;
  transition:background-color 0.3s ease, color 0.3s ease;
}
.discover-btn:hover,
.contact-btn:hover {
  background:#000;
  color:#B8860B;
}

/* =========================
   Products Grid
   ========================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.product {
  background:#f9f9f9; border:1px solid #ddd; padding:20px; text-align:center;
  border-radius:8px; transition:transform 0.3s ease, border-color 0.3s ease;
  min-height:320px; display:flex; flex-direction:column; justify-content:space-between;
}
.product:hover { transform:translateY(-5px); border-color:#B8860B; }
.product-img {
  width:100%; max-width:220px; height:180px;
  object-fit:contain; margin:0 auto 10px auto;
}
.product h2 { color:#000; font-weight:bold; margin-bottom:10px; }
.product p { font-size:14px; color:#000; font-weight:bold; }

/* =========================
   Services Section
   ========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.service {
  background: rgba(255,255,255,0.95);
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service:hover { transform: translateY(-5px); border-color: #B8860B; }

.service h2 {
  color: #000;
  font-weight: bold;
  margin-bottom: 15px;
}

.service p {
  font-size: 15px;
  line-height: 1.7;
  color: #000;
  font-weight: bold;
}

.service-img {
  display: block;
  margin: 20px auto;
  width: 100%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =========================
   Responsive Fix for Mobile
   ========================= */
@media(max-width:800px){
  .services-grid {
    grid-template-columns: 1fr;   /* stack vertically */
  }
  .service {
    text-align: center;           /* center text for readability */
  }
  .service-img {
    max-width: 100%;              /* scale image to fit screen */
    height: auto;
  }
}

/* =========================
   About Us Section
   ========================= */
.about-section { text-align:center; margin-bottom:50px; }
.about-section p {
  max-width:900px; margin:0 auto 20px auto;
  font-size:16px; line-height:1.6;
  color:#000; font-weight:bold;
}
.about-img {
  display:block;
  margin:20px auto;
  width:100%;
  max-width:700px;
  height:auto;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

/* =========================
   Core Values Section
   ========================= */
.core-values { text-align:center; margin-top:40px; }
.core-values h2 { color:#000; font-weight:bold; margin-bottom:20px; }
.core-values p {
  max-width:900px; margin:0 auto 20px auto;
  font-size:16px; line-height:1.6;
  color:#000; font-weight:bold;
}

/* =========================
   Contact Form
   ========================= */
.contact-form {
  display:flex; flex-direction:column; gap:15px;
  max-width:500px; margin:auto; margin-bottom:50px;
}
.contact-form label { font-weight:bold; color:#B8860B; }
.contact-form input, .contact-form textarea {
  padding:10px; border:1px solid #ccc; border-radius:6px; font-size:14px;
}
.contact-form button {
  background:#B8860B; color:#000; font-weight:bold; padding:12px;
  border:none; border-radius:6px; cursor:pointer;
  transition:background-color 0.3s ease, color 0.3s ease;
}
.contact-form button:hover { background:#000; color:#B8860B; }

/* =========================
   Contact Details
   ========================= */
.contact-details { text-align:center; margin-top:40px; }
.contact-details h2 {
  color:#B8860B;
  font-weight:bold;
  font-size:1.6em;
  margin-bottom:20px;
}
.contact-details p { color:#000; font-weight:bold; font-size:16px; line-height:1.8; }
.contact-details a {
  color:#000; font-weight:bold; text-decoration:none;
  display:inline-block; margin:5px 0;
}
.contact-details a:hover { color:#B8860B; text-decoration:underline; }

/* =========================
   Footer
   ========================= */
footer {
  background:rgba(255,255,255,0.85); color:#B8860B;
  text-align:center; padding:20px; margin-top:40px;
}
footer p { font-size:14px; }

/* =========================
   Responsive Adjustments
   ========================= */
@media (max-width:1200px){
  .products-grid { grid-template-columns: repeat(3,1fr); }
}

/* =========================
   Mobile Heading Adjustments
   ========================= */
@media (max-width:768px){
  h1 {
    font-size: 1.6em !important;  /* smaller heading on mobile */
    line-height: 1.3;
  }

  h1 em {
    font-size: 1.4em !important;  /* tagline smaller */
    font-style: italic;
  }
}
