:root {
  --primary-color: #006B3F;
  --primary-hover: #005a34;
  --dark-bg: #1A1A1A;
  --accent-color: #C5A55A;
  --text-main: #333333;
  --text-light: #666666;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

/* Header */
.top-bar {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

header {
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background: white;
  z-index: 40;
}

.header-container {
  max-w-7xl: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--dark-bg);
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

nav.desktop-nav {
  display: none;
  gap: 2rem;
}

nav.desktop-nav a {
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}

nav.desktop-nav a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  nav.desktop-nav {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Main Content */
main {
  flex-grow: 1;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  background-color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: #e5e7eb;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

.btn-secondary {
  background-color: white;
  color: var(--dark-bg);
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }
}

/* Features */
.features {
  background-color: var(--bg-light);
  padding: 3rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(0, 107, 63, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Products Section */
.products-section {
  padding: 5rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-light);
}

.view-all {
  color: var(--primary-color);
  font-weight: 500;
  display: none;
}

.view-all:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .view-all {
    display: block;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  display: block;
  group: hover;
}

.product-image-container {
  position: relative;
  aspect-ratio: 3/4;
  background-color: var(--bg-light);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: white;
  color: var(--dark-bg);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.product-card:hover .product-title {
  color: var(--primary-color);
}

.product-price {
  color: var(--accent-color);
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 4rem 1rem 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h3 {
  color: var(--accent-color);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.social-link:hover {
  background-color: var(--primary-color);
}

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

.footer-links a {
  color: #9ca3af;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

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

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-input {
  background-color: #374151;
  border: 1px solid #4b5563;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom-links a:hover {
  color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 50;
  transition: transform 0.2s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-3xl { font-size: 1.875rem; }
.font-bold { font-weight: 700; }

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

/* Product Detail */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 0.5rem;
  background-color: var(--bg-light);
}

.thumbnail-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
}

.thumbnail {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.25rem;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumbnail.active {
  border-color: var(--primary-color);
}

.product-info h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-info .price {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.product-info .description {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.product-meta {
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.product-meta p {
  margin-bottom: 0.5rem;
}

.product-meta strong {
  color: var(--dark-bg);
}

/* Blog Specific Styles */
.blog-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 32px;
}

.blog-product-card {
  max-width: 400px;
  margin: 2rem auto;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.blog-product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-product-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
}

.blog-product-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0 4px;
  color: #1A1A1A;
}

.blog-product-card .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.blog-product-card .shop-btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 12px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.blog-product-card .shop-btn:hover {
  background: var(--primary-dark);
}

.shop-featured-products {
  padding: 48px 24px;
  background: #f9f9f9;
  margin-top: 4rem;
  border-radius: 8px;
}

.shop-featured-products h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

.shop-featured-products .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .blog-product-card {
    width: 100%;
    max-width: 100%;
  }
}
