 /* === style.css === */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Global */
/* Make sure you link Poppins font in your HTML head section like this:
   <link href="fonts.googleapis.com" rel="stylesheet">
*/
body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.8;
}

/* Section spacing */
section { padding: 80px 30px; }

/* Header */
header {
  background: linear-gradient(180deg, #000 0%, #111 100%);
  text-align: center;
  padding: 40px;
  border-bottom: 2px solid #FFD700;
  animation: fadeDown 1s ease;
}
header img { width: 120px; margin-bottom: 15px; }
header h1 {
  font-size: 2.8em;
  letter-spacing: 2px;
  color: #FFD700;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255,215,0,0.6);
}
header p {
  font-size: 1.2em;
  font-style: italic;
  color: #ccc;
}

/* Navigation */
nav {
  background: #111;
  padding: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #333;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav ul li { margin: 0 18px; }
nav ul li a {
  color: #FFD700;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1em;
  position: relative;
  transition: color .3s ease;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0%; height: 2px;
  background: #FFD700;
  transition: width .3s ease;
}
nav ul li a:hover { color: #fff; }
nav ul li a:hover::after { width: 100%; }

/* Hero */
.hero {
  background: url('assets/hero-shutter.jpeg') no-repeat center center/cover;
  height: 500px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  position: relative;
}
.hero::after {
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,0.4);
}
.hero h1 {
  font-size: 3.2em;
  color: #FFD700;
  z-index:1;
  animation: fadeUp 1.2s ease;
}
.hero p {
  font-size: 1.4em;
  margin-top: 15px;
  color: #fff;
  z-index:1;
  animation: fadeUp 1.6s ease;
}
.hero button {
  background: linear-gradient(90deg, #FFD700, #e0be00);
  color: #000;
  padding: 14px 28px;
  font-size: 1.1em;
  border: none;
  border-radius: 6px;
  margin-top: 25px;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  z-index:1;
}
.hero button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,215,0,0.6);
}

/* Materials & Varieties */
.material, .variety {
  display: flex; align-items: center; gap: 25px;
  margin: 40px auto; max-width: 1000px;
  animation: fadeUp .8s ease;
}
.material img, .variety img {
  width: 40%;
  border: 2px solid #FFD700;
  border-radius: 8px;
  transition: transform .3s ease;
}
.material img:hover, .variety img:hover { transform: scale(1.05); }
.material div, .variety div { flex: 1; text-align: left; }
.material h3, .variety h3 {
  font-size: 1.6em;
  margin-bottom: 12px;
  color: #FFD700;
}
.material p, .variety p { font-size: 1.05em; color: #ddd; }

/* Gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.product-gallery img {
  width: 100%;
  border: 2px solid #FFD700;
  border-radius: 8px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}

/* Cards (Testimonials, FAQ) */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 30px;
}
.card {
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(255,215,0,0.3);
}
.card h4 {
  font-size: 1.3em;
  margin-bottom: 12px;
  color: #FFD700;
}
.card p { font-size: 1em; color: #eee; }
.author {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #aaa;
}

/* Footer */
.footer {
  background: #000;
  text-align: center;
  padding: 30px;
  margin-top: 40px;
  border-top: 2px solid #FFD700;
  color: #fff;
}
.footer .social-icons a {
  color: #FFD700;
  margin: 0 12px;
  text-decoration: none;
  font-size: 1.3em;
  transition: color .3s ease;
}
.footer .social-icons a:hover { color: #fff; }

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed; bottom: 20px; right: 20px;
  background: #25D366; color: #fff;
  padding: 14px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform .3s ease;
}
.floating-whatsapp:hover { transform: scale(1.05); }

/* Back to Top */
#backToTop {
  display: none;
  position: fixed; bottom: 70px; right: 20px;
  background: #FFD700; color: #000;
  border: none; border-radius: 50%;
  width: 42px; height: 42px; font-size: 1.2em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,215,0,0.4);
  transition: transform .3s ease;
}
#backToTop:hover { transform: scale(1.1); }

/* Animations (Generic fadeUp/fadeDown as provided previously) */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(20px); }
  to { opacity:1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity:0; transform: translateY(-20px); }
  to { opacity:1; transform: translateY(0); }
}

@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideUp { from{transform:translateY(40px);opacity:0} to{transform:translateY(0);opacity:1} }

/* --- MODAL STYLING (Fun & Easy Update) --- */

.modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center; align-items: center;
  z-index: 3000;
  animation: fadeIn .4s ease;
}

/* The Modal Content container - added a subtle glow */
.modal-content {
  background: #111;
  border: 2px solid #FFD700;
  border-radius: 12px;
  padding: 30px;
  width: 90%; max-width: 500px;
  box-shadow: 0 0 40px rgba(255,215,0,0.15); /* Soft outer glow */
  animation: slideUp .5s ease;
}

/* Close button style */
.close {
  position: absolute; top: 20px; right: 30px;
  font-size: 28px; color: #FFD700;
  cursor: pointer;
  transition: color 0.3s;
}
.close:hover {
    color: #fff;
}

/* Form Group (Container for label/input) */
.form-group {
  margin-bottom: 25px; /* Added more vertical space between fields */
}

/* Labels (The 'Name', 'Email', etc. text) */
.form-group label {
  display: block;
  margin-bottom: 8px; /* Slightly more space */
  color: #FFD700;
  font-weight: bold;
  font-size: 1.05em;
  letter-spacing: 0.5px;
}

/* Icons within labels (if you use them) */
.form-group i {
  margin-right: 8px; /* Added space for aesthetics */
  color: #fff;
}

/* The actual input fields (Name, Email, Phone, Textarea) */
.form-group input, .form-group textarea {
  width: 100%; 
  padding: 14px; /* Increased padding for easier clicking/typing */
  border: 1px solid #FFD700;
  border-radius: 8px;
  background: #000; /* Deep black background */
  color: #fff;
  font-size: 1em;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

/* Placeholder text color for inputs */
.form-group input::placeholder, .form-group textarea::placeholder {
    color: #888; /* Softer gray color */
    opacity: 1; /* Firefox default is lower opacity */
}

/* Focus State (When you click into the box) */
.form-group input:focus, .form-group textarea:focus {
  outline: none; /* Remove default blue browser outline */
  border-color: #fff; /* Border turns white */
  background-color: #0d0d0d; /* Background slightly lightens on focus */
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); /* Prominent gold glow */
}

/* The Submit Button */
.btn-primary {
  background: linear-gradient(90deg,#FFD700,#e0be00);
  color: #000;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  width: 100%; /* Make button full width for easy use */
  transition: transform .3s ease, box-shadow .3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,215,0,0.6);
}

/* Responsive */
@media (max-width: 768px) {
  header h1 { font-size: 2em; }
  .hero { height: 360px; }
  .hero h1 { font-size: 2.2em; }
  .hero p { font-size: 1.1em; }
  .material, .variety { flex-direction: column; text-align: center; }
  .material img, .variety img { width: 100%; }
  .cards { grid-template-columns: 1fr; }
}
