/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #9c8861;
  --secondary-color: #444444;
  --light-color: #f8f8f8;
  --dark-color: #222222;
  --border-color: #e8e8e8;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--dark-color);
}

/* Header Styles */
header {
  background-color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo a {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.logo img {
  max-width: 25%;
  height: auto;
}
.logo span {
  font-size: 12px;
  color: var(--secondary-color);
}

.menu {
  display: flex;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: var(--transition);
  padding-bottom: 5px;
  position: relative;
}

.menu a:hover,
.menu a.active {
  color: var(--primary-color);
}

.menu a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.menu a:hover:after,
.menu a.active:after {
  width: 100%;
}

.search-icon {
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.search-icon:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 40px 0;
  background-color: var(--light-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 400px;
}

.hero-content {
  padding: 30px;
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 50%, transparent);
}

.hero-content h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.hero-content h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  max-width: 70%;
}

.hero-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

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

/* Products Section */
.products {
  padding: 60px 0;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.products-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #888;
}

.products-title h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--secondary-color);
}

.product-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background-color: #f1f1f1;
  border-radius: 4px;
  transition: var(--transition);
}

.category-item:hover {
  background-color: var(--primary-color);
  color: white;
}

.category-item i {
  font-size: 18px;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: var(--light-color);
  padding: 60px 0 20px;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}


.footer-logo img {
  max-width: 35%;
  height: auto;
}

.footer-logo h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.footer-logo span {
  font-size: 12px;
  color: var(--secondary-color);
}

.footer-company p {
  margin: 10px 0;
  font-size: 14px;
  font-style: italic;
}

.footer-company h4 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #e5e5e5;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-section p {
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  font-size: 14px;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-info i {
  margin-top: 5px;
  color: var(--primary-color);
}

.contact-info span {
  font-size: 14px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 13px;
  color: #777;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.back-to-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.back-to-top a:hover {
  background-color: var(--dark-color);
  transform: translateY(-5px);
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 2fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .menu {
    margin: 15px 0;
  }

  .hero-content h1 {
    font-size: 24px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .products-header {
    flex-direction: column;
    gap: 20px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu li {
    margin: 5px 10px;
  }

  .hero-content {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 50%, transparent);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-content h2 {
    font-size: 18px;
  }

  .hero-content h1 {
    font-size: 20px;
  }

  .products-title h2 {
    font-size: 28px;
  }

  .products-title h3 {
    font-size: 20px;
  }
}
