:root {
  --primary: #b6895b;
  --bg: #010101;
  --card: #0f0f0f;
  --text-soft: #cfcfcf;
  --border-soft: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: white;
  line-height: 1.7;
}

/* ========================
   Floating WhatsApp Button
======================== */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  padding: 1rem;
  border-radius: 50%;
  color: white;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* ========================
   Navbar
======================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 7%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-soft);
}

.navbar-logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.navbar-logo span {
  color: var(--primary);
}

.navbar-nav a {
  color: white;
  margin: 0 1rem;
  position: relative;
  font-size: 0.95rem;
}

.navbar-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.navbar-nav a:hover::after {
  width: 100%;
}

/* ========================
   Hero
======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
    url("../img/head_bg.jpg") center / cover;
}

.hero .content {
  padding: 7%;
  max-width: 680px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--primary);
}

.cta {
  display: inline-block;
  background: var(--primary);
  padding: 0.8rem 2.2rem;
  color: white;
  margin-top: 1.5rem;
  border-radius: 50px;
  transition: 0.3s ease;
  font-weight: 500;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(182, 137, 91, 0.4);
}

/* ========================
   Sections
======================== */
.about,
.products,
.contact {
  padding: 6rem 7%;
}

h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 3rem;
}

h2 span {
  color: var(--primary);
}

/* ========================
   About
======================== */
.about .row {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-img {
  flex: 1 1 40%;
}

.about-img img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.about .content {
  flex: 1 1 55%;
}

.about .content h3 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.about .content p {
  color: var(--text-soft);
}

/* ========================
   Products
======================== */
.products .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--card);
  border-radius: 22px;
  padding: 1.7rem;
  text-align: center;
  cursor: pointer;
  transition: 0.35s ease;
  border: 1px solid var(--border-soft);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.product-image img {
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  transition: 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-content h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* hide eye icon */
.product-icon {
  display: none;
}

/* ========================
   Contact
======================== */
.input-group {
  display: flex;
  align-items: center;
  background: #0f0f0f;
  margin: 1rem 0;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

.input-group input {
  background: none;
  color: white;
  padding: 0.5rem;
  width: 100%;
  border: none;
  outline: none;
}

.btn {
  background: var(--primary);
  color: white;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ========================
   Footer
======================== */
footer {
  background: #0c0c0c;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-soft);
}

footer a {
  color: white;
  margin: 0 1rem;
}

/* ========================
   Modal (export-grade)
======================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  z-index: 2000;
}

.modal.active {
  display: flex;
}

.modal-container {
  background: #ffffff;
  color: #111;
  padding: 2rem;
  width: 92%;
  max-width: 900px;
  border-radius: 22px;
  animation: scaleIn 0.3s ease;
  max-height: 88vh;
  overflow: hidden;
}

.modal-content {
  display: flex;
  gap: 2rem;
  overflow-y: auto;
  max-height: 80vh;
  padding-right: 10px;
}

.modal-content img {
  width: 260px;
  object-fit: contain;
  border-radius: 12px;
}

/* typography inside modal */
.modal-content h1,
.modal-content h2 {
  margin: 1rem 0 0.6rem;
}

.modal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* table styling */
.modal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.modal-content th,
.modal-content td {
  border: 1px solid #ddd;
  padding: 0.6rem;
  text-align: left;
}

.modal-content th {
  background: #f3f3f3;
}

/* scrollbar modern */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}

/* animation */
@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================
   Responsive
======================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .modal-content {
    flex-direction: column;
    text-align: left;
  }

  .modal-content img {
    width: 100%;
    max-height: 220px;
  }

  .about .row {
    flex-direction: column;
  }
}
