/* Import Gabriel Sans from Fontshare */
@import url('https://api.fontshare.com/v2/css?f[]=gabriel-sans@400,500,700&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }

body {
  font-family: "Gabriel Sans", sans-serif;
  color: #222;
  background: #faf9f7;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Gabriel Sans", sans-serif;
  font-weight: 700;
  color: #111;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
  background: transparent;
}

header.scrolled {
  background: #bbc7a2;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 70px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s ease, height 0.4s ease;
}

header.scrolled .logo {
  height: 55px; /* shrink slightly on scroll */
  transform: scale(0.95);
}


.logo:hover {
  transform: scale(1.05);
}


nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

nav ul li a:hover {
  color: #d4af37;
}


/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}
.hero-slider { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slide.active { opacity: 1; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}
.hero-title {
  font-family: "Gabriel Sans", sans-serif;
  font-weight: 600;
  font-size: 4rem;
  color: #7ba02f;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.4rem;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.btn {
  background: #d4af37;
  color: #222;
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn:hover { background: #b68b2d; color: #fff; }

/* Products */
.products { padding: 80px 0; text-align: center; }
.products h2 { font-size: 2.5rem; margin-bottom: 40px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-card h3 { padding: 15px; font-size: 1.2rem; }

/* About */
.about { padding: 80px 0; }
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.about-collage img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 160px;
}
.about-text h2 { font-size: 2.4rem; margin-bottom: 20px; }
.about-text p { color: #444; margin-bottom: 20px; }
.about-text ul { list-style: none; }
.about-text ul li { margin-bottom: 10px; font-size: 1.1rem; }

/* Contact */
.contact { padding: 80px 0; text-align: center; }
.contact h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact form {
  max-width: 500px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact input, .contact textarea {
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.contact button {
  padding: 14px;
  background: #d4af37;
  color: #222;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact button:hover { background: #b68b2d; }
.contact-info { margin-top: 20px; font-size: 1rem; }
.contact-info a { color: #333; text-decoration: none; }
.map-container { margin-top: 30px; }

/* Footer */
footer {
  background: #111;
  color: #ccc;
  padding: 25px 0;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-container p { margin: 0; font-size: 0.9rem; }
.socials a {
  margin-left: 15px;
  color: #ccc;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.socials a:hover { color: #d4af37; }

/* Responsive */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 3rem; }
  .hero p { font-size: 1.1rem; }
}
