:root {
  --primary: #c98a6c;
  --primary-dark: #b07052;
  --secondary: #2c2c2c;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --text-muted: #666666;
  --bg-color: #faf9f6;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Playfair Display', serif;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 138, 108, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 138, 108, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

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

/* Navbar Layer */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.2rem 0;
  transition: var(--transition);
}

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

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  position: relative;
  transition: var(--transition);
}

.icon-btn:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cart-badge.pop {
  animation: pop 0.3s ease-out;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  position: relative;
}

.hero > div {
  flex: 1;
}

.hero-content {
  padding-left: 10%;
  z-index: 2;
  animation: fadeUp 1s ease-out;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 450px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  animation: fadeIn 1.2s ease-out;
}

.blob-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 8s ease-in-out infinite;
  box-shadow: inset 0 0 50px rgba(201, 138, 108, 0.1);
  z-index: 1;
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 85%;
  max-width: 550px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Products Section */
.products-section {
  padding: 6rem 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.product-image-container {
  position: relative;
  height: 350px;
  overflow: hidden;
}

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

.product-card:hover .product-image-container img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  justify-content: center;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  bottom: 0;
}

.order-whatsapp-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 85%;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(201, 138, 108, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.order-whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.order-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(201, 138, 108, 0.6);
}

.order-whatsapp-btn:active {
  transform: translateY(1px);
}


.product-info {
  padding: 1.5rem;
  text-align: center;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.product-info h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.product-info .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Features */
.features-section {
  display: flex;
  justify-content: space-around;
  padding: 4rem 2rem;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 6rem;
}

.feature {
  text-align: center;
  flex: 1;
  padding: 0 2rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 138, 108, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.feature:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotateY(180deg);
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: 6rem 0 2rem;
}

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

.footer-brand {
  flex: 2;
  min-width: 300px;
}

.footer-brand h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-brand p {
  color: #ccc;
  max-width: 300px;
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: #ccc;
  transition: var(--transition);
}

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

.footer-newsletter {
  flex: 1.5;
  min-width: 250px;
}

.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-newsletter p {
  color: #ccc;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  background: rgba(255,255,255,0.1);
  padding: 0.3rem;
  border-radius: 50px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  color: white;
  outline: none;
}

.newsletter-form button {
  background: var(--primary);
  color: white;
  border: none;
  width: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  .hero-content {
    padding-left: 0;
    margin-bottom: 3rem;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-wrapper {
    height: 400px;
  }
  .nav-links {
    display: none;
  }
  .features-section {
    flex-direction: column;
    gap: 3rem;
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(0);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal.hidden .modal-content {
  transform: translateY(30px);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.close-modal:hover {
  background: rgba(0,0,0,0.05);
  color: var(--primary);
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-header h2 {
  color: var(--secondary);
  font-size: 2rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  transition: var(--transition);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 138, 108, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
