/* Base Styles */
:root {
  --primary-color: #c8a97e;
  --secondary-color: #4a4a4a;
  --accent-color: #e74c3c;
  --background-color: #f9f9f9;
  --white: #ffffff;
  --gray-light: #f0f0f0;
  --gray: #888888;
  --black: #1a1a1a;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--background-color);
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background-color: #b89669;
  transform: translateY(-3px);
}

.add-to-cart {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  width: 90%;
}

.add-to-cart:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  animation: vibrate 0.3s linear infinite;
  animation-play-state: running;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
  animation-play-state: running;
}

/* WhatsApp Button Animation */
@keyframes vibrate {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo img {
  height: 60px;
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.footer-logo {
  text-align: right;
}

.footer-logo img {
  border-radius: 50%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Us Section */
.about-us {
  background-color: #f9f9f9;
  padding: 5rem 0;
}

.about-us-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-us h2 {
  margin-bottom: 2rem;
  color: #333;
}

.about-us p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.founders {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.founder {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.founder img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #c8a97e;
}

.founder h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.founder p {
  font-size: 0.95rem;
  color: #666;
}

/* Products Section */
.products {
  background-color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.product-card p {
  font-size: 0.9rem;
  color: var(--gray);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.product-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-card .btn {
  margin: 0 auto;
  display: block;
}

.testimonials {
  margin-top: 4rem;
  text-align: center;
}

.testimonial {
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  color: var(--gray);
}

.testimonial p {
  font-size: 1.2rem;
  position: relative;
}

.testimonial p::before,
.testimonial p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--primary-color);
}

.testimonial cite {
  font-style: normal;
  font-weight: 500;
  color: var(--secondary-color);
}

/* CTA Section */
.cta {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta .btn {
  display: inline-flex;
  margin: 0 auto;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.map-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
  margin-top: 0.5rem;
}

.map-link:hover {
  text-decoration: underline;
}

.newsletter form {
  display: flex;
  margin-top: 1rem;
}

.newsletter input {
  flex-grow: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: var(--font-body);
}

.newsletter .btn {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 0 4px 4px 0;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--gray);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    height: 70vh;
  }

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

  .founders {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .footer-logo {
    text-align: center;
  }
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    gap: 0;
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
  }

  .hero {
    height: 60vh;
  }

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

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

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .newsletter form {
    flex-direction: column;
  }

  .newsletter input {
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }

  .newsletter .btn {
    width: 100%;
    border-radius: 4px;
  }

  .founders {
    flex-direction: column;
    align-items: center;
  }

  .founder {
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 1.2rem;
    line-height: 1.2;
    word-break: break-word;
  }

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

  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-content {
    padding: 1rem;
    margin: 0 0.5rem;
    width: calc(100% - 1rem);
  }
}
