/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;600&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A18;
  background-color: #FAFAF8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  margin-bottom: 1rem;
}

h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 36px;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

a {
  color: #C0392B;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #A93226;
}

button, .btn {
  background-color: #C0392B;
  color: white;
  border: none;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
  background-color: #A93226;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #1A1A18;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #C0392B;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #FAFAF8;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  font-size: 20px;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #C0392B;
}

/* Social proof */
.social-proof {
  background-color: #F8F8F6;
  padding: 2rem 0;
  text-align: center;
}

.social-proof p {
  font-weight: 500;
}

/* Footer */
footer {
  background-color: #1A1A18;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.social-links a {
  color: white;
  font-size: 24px;
}

/* About page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.owner-photo {
  width: 300px;
  height: 300px;
  background-color: #F0F0F0;
  border-radius: 8px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-style: italic;
}

/* Calculator page */
.calculator {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.calculator h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.calculator p {
  margin-bottom: 2rem;
  text-align: center;
}

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

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

input, select {
  width: 100%;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

input:focus, select:focus {
  outline: none;
  border-color: #C0392B;
}

.results {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.results h3 {
  margin-bottom: 1rem;
  color: #C0392B;
}

.ingredient {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #F0F0F0;
}

.ingredient:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tip {
  margin-top: 1rem;
  font-style: italic;
  color: #666;
}

/* Mobile responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .section {
    padding: 2rem 0;
  }

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

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