/* =========================
   PRODUCT.HTML SPECIFIC CSS WITH ANIMATIONS
========================= */

/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #A6882B;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   HEADER / NAVIGATION
========================= */
header {
  background: #000;
  border-bottom: 1px solid #A6882B;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: fadeDown 1s ease forwards;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 45px;
}

.company-name {
  font-size: 15px;
  font-weight: bold;
  color: #A6882B;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a::after {
  content: none;
}

.nav-links a:hover {
  color: #A6882B;
}

/* =========================
   BUTTONS
========================= */
.btn, .btn-outline {
  display: inline-block;
  min-width: 120px;
  text-align: center;
  border-radius: 25px;
  font-weight: bold;
  padding: 9px 20px;
  transition: 0.3s;
}

.btn {
  background: #A6882B;
  color: #000;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid #A6882B;
  color: #A6882B;
}

.btn-outline:hover {
  background: #A6882B;
  color: #000;
}

/* =========================
   PAGE HEADER
========================= */
.page-header {
  text-align: center;
  padding: 120px 20px 50px 20px;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(-50px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.5s;
}

.page-header h1 {
  font-size: 36px;
  color: #A6882B;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #fff;
}

/* =========================
   CONTENT SECTION
========================= */
.content {
  padding: 0 40px 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.content p {
  font-size: 17px;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.content p:nth-child(1) { animation-delay: 0.7s; }
.content p:nth-child(2) { animation-delay: 0.9s; }

/* =========================
   PRODUCTS GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #111;
  padding: 30px;
  border: 1px solid #A6882B;
  border-radius: 12px;
  text-align: left;
  transition: 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

.card h3 {
  color: #A6882B;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

/* Staggered animation for grid cards */
.grid .card:nth-child(1) { animation: fadeUp 0.8s ease forwards; animation-delay: 1s; }
.grid .card:nth-child(2) { animation: fadeUp 0.8s ease forwards; animation-delay: 1.2s; }
.grid .card:nth-child(3) { animation: fadeUp 0.8s ease forwards; animation-delay: 1.4s; }
.grid .card:nth-child(4) { animation: fadeUp 0.8s ease forwards; animation-delay: 1.6s; }

/* Hover effect */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(166, 136, 43, 0.2);
}

/* =========================
   WHY OUR PRODUCTS / FEATURES
========================= */
.features {
  padding: 80px 40px 40px 40px;
  text-align: center;
}

.features h2 {
  font-size: 32px;
  color: #A6882B;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeUp 1s forwards;
  animation-delay: 1.8s;
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.features .card {
  background: #111;
  padding: 30px;
  border: 1px solid #A6882B;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  opacity: 0;
  transform: translateY(50px);
}

/* Staggered animations */
.features .grid .card:nth-child(1) { animation: fadeUp 0.8s forwards; animation-delay: 2s; }
.features .grid .card:nth-child(2) { animation: fadeUp 0.8s forwards; animation-delay: 2.2s; }
.features .grid .card:nth-child(3) { animation: fadeUp 0.8s forwards; animation-delay: 2.4s; }
.features .grid .card:nth-child(4) { animation: fadeUp 0.8s forwards; animation-delay: 2.6s; }

/* Hover effect */
.features .grid .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(166, 136, 43, 0.2);
}

/* =========================
   HERO / CALL TO ACTION
========================= */
.hero {
  padding: 120px 20px 120px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeUp 1s forwards;
  animation-delay: 3s;
}

.hero h1 {
  font-size: 36px;
  color: #A6882B;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  max-width: 800px;
  margin-bottom: 20px;
}

.hero .btn {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.hero .btn:hover {
  transform: scale(1);
}

/* =========================
   FOOTER
========================= */
footer {
  border-top: 1px solid #A6882B;
  padding: 25px;
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .header-wrapper {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-header {
    padding: 100px 20px 40px 20px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .page-header p {
    font-size: 16px;
  }

  .content p {
    font-size: 15px;
  }

  .grid, .features .grid {
    gap: 20px;
    margin-top: 30px;
  }

  .card, .features .card {
    padding: 25px;
  }

  .hero {
    padding: 100px 20px 80px 20px;
    gap: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }
}
