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

/* Define FS Joey font fallback - using Montserrat as elegant substitute */
@font-face {
  font-family: "FS Joey";
  src: url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
  font-weight: normal;
  font-style: normal;
}

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

body {
  font-family: "FS Joey", "Lora", serif;
  background-color: #f9f7f4;
  color: #4a4a4a;
  line-height: 1.6;
}

/* ============ Hero Section ============ */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(200, 180, 170, 0.65), rgba(200, 180, 170, 0.65)),
    url("/placeholder.svg?height=800&width=1200") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 600px;
  padding: 20px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 1.8;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

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

/* ============ About Section ============ */
.about {
  padding: 60px 20px;
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url("/placeholder.svg?height=400&width=1200") center / cover;
  text-align: center;
  background-color: #faf8f5;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #8b6f5f;
  font-weight: 600;
}

.about-content p {
  font-size: 1.1rem;
  color: #6a6a6a;
  font-weight: 300;
  line-height: 1.8;
}

/* ============ Products Section ============ */
.products {
  padding: 80px 20px;
  background-color: #f9f7f4;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: #8b6f5f;
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 20px;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.product-name {
  font-size: 1.4rem;
  color: #4a4a4a;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-price {
  font-size: 1.3rem;
  color: #8b6f5f;
  font-weight: 700;
}

/* ============ Modal ============ */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 20px 25px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #8b6f5f;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
}

.modal-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

.modal-info h2 {
  font-size: 2rem;
  color: #4a4a4a;
  margin-bottom: 15px;
  font-weight: 600;
}

.modal-price {
  font-size: 1.8rem;
  color: #8b6f5f;
  font-weight: 700;
  margin-bottom: 20px;
}

.modal-description {
  color: #6a6a6a;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ============ Buttons ============ */
.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  font-family: "FS Joey", "Lora", serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #8b6f5f;
  color: white;
}

.btn-primary:hover {
  background-color: #6f5848;
  transform: scale(1.05);
}

.btn-whatsapp {
  width: 100%;
  margin-top: 10px;
}

/* ============ Footer ============ */
.footer {
  background-color: #4a4a4a;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-content p {
  margin: 10px 0;
  font-weight: 300;
}

.footer-content a {
  color: #c8b4aa;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ============ Responsive Design ============ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .modal-image {
    height: 300px;
  }

  .modal-info h2 {
    font-size: 1.5rem;
  }

  .modal-price {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .product-card {
    padding: 15px;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.1rem;
  }
}
