/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f5f5f1; /* Premium Off-White */
  color: #2c2c2c; /* Soft Charcoal */
  font-family: "Lato", sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

/* --- Typography Utilities --- */
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  color: #1a1a1a;
}

.subtitle {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: #c8a165; /* Jute Gold */
  display: block;
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #2c2c2c;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-top: 2rem;
  border: 1px solid #2c2c2c;
  border-radius: 0;
}

.btn-primary:hover {
  background-color: transparent;
  color: #2c2c2c;
}

/* --- Components --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header .line {
  width: 60px;
  height: 2px;
  background-color: #c8a165;
  margin: 0 auto;
}

/* --- Navbar --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(245, 245, 241, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar .nav-links {
  display: flex;
  gap: 3rem;
}

.navbar .nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar .nav-links a:hover {
  color: #c8a165;
}

.navbar .nav-links .btn-nav {
  border-bottom: 1px solid #2c2c2c;
  padding-bottom: 2px;
}

.navbar .hamburger {
  display: none;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  padding-top: 80px;
}

.hero .hero-content {
  flex: 1;
  padding-right: 5%;
  z-index: 2;
}

.hero .hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero .hero-content p {
  font-size: 1.1rem;
  color: #666;
  max-width: 450px;
}

.hero .hero-image {
  flex: 1;
  height: 85vh;
  position: relative;
}

.hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-image::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid #c8a165;
  z-index: -1;
}

/* --- Best Sellers --- */
.bestsellers {
  padding: 6rem 5%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  cursor: pointer;
}

.product-card .img-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.product-card .card-info {
  text-align: center;
}

.product-card .card-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-card .card-info p {
  color: #c8a165;
  font-weight: 700;
}

/* --- About --- */
.about {
  padding: 6rem 5%;
  background-color: #ecece8;
}

.about .about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about .about-text {
  flex: 1;
}

.about .about-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about .about-text p {
  margin-bottom: 1.5rem;
  color: #555;
}

.about .about-text .btn-text {
  border-bottom: 1px solid #2c2c2c;
  padding-bottom: 5px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.about .about-image {
  flex: 1;
  height: 500px;
}

.about .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Categories --- */
.categories {
  padding: 6rem 5%;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 1rem;
}

.cat-item {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.cat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.cat-item:hover::before {
  background: rgba(0, 0, 0, 0.4);
}

.cat-item h3 {
  position: relative;
  color: white;
  z-index: 2;
  font-size: 1.5rem;
}

.cat-item.large {
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
}

/* --- Testimonials --- */
.testimonials {
  padding: 6rem 5%;
  text-align: center;
  background: #2c2c2c;
  color: #fff;
}

.testimonial-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.testimonials .quote-icon {
  font-family: "Playfair Display", serif;
  font-size: 6rem;
  color: #c8a165;
  opacity: 0.5;
  line-height: 1;
}

.testimonials .review {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.testimonials .reviewer {
  display: flex;
  flex-direction: column;
}

.testimonials .reviewer .name {
  font-weight: 700;
  letter-spacing: 1px;
}
.testimonials .reviewer .designation {
  font-size: 0.8rem;
  color: #c8a165;
}

/* --- Footer --- */
footer {
  padding: 4rem 5% 2rem;
  background: #1a1a1a;
  color: #888;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

footer h3,
footer h4 {
  color: #fff;
  margin-bottom: 1.5rem;
}
footer h3 {
  font-size: 1.5rem;
}
footer .brand-col p {
  max-width: 200px;
}

footer .links-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

footer .links-col a:hover {
  color: #c8a165;
}

footer .footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
}

/* --- ANIMATION CLASSES (Needed for JS) --- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .hero-content h1 {
    font-size: 3.5rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar .nav-links {
    display: none;
  }
  .hero {
    flex-direction: column-reverse;
    height: auto;
    padding-bottom: 4rem;
  }
  .hero .hero-image {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
  }
  .hero .hero-content {
    padding-right: 0;
    text-align: center;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .about .about-container {
    flex-direction: column;
  }
  .category-grid {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .cat-item {
    height: 250px;
  }
  .footer .footer-content {
    flex-direction: column;
    gap: 3rem;
  }
}
