/* Chocolate Website Styling */
:root {
  --dark-chocolate: #3c1c0d;
  --milk-chocolate: #6b4226;
  --light-chocolate: #a67c52;
  --cream: #fff8e7;
  --accent: #d4a056;
  --text-dark: #2d2013;
  --text-light: #f9f3e9;
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

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

/* Header & Navigation */
header {
  background-color: var(--dark-chocolate);
  color: var(--text-light);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

header h1 {
  font-size: 1.8rem;
  margin: 0;
  display: flex;
  align-items: center;
}

header h1 i {
  margin-right: 10px;
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:hover {
  color: var(--accent);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1511381939415-e44015466834?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--dark-chocolate);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: #c08b3c;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Sections */
section {
  margin: 5rem 0;
  padding: 1rem 0;
}

section:first-of-type {
  margin-top: 3rem;
}

h2 {
  font-size: 2.2rem;
  color: var(--dark-chocolate);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--accent);
  bottom: -10px;
  left: 0;
}

h3 {
  font-size: 1.5rem;
  color: var(--milk-chocolate);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(60, 28, 13, 0.8);
  color: white;
  padding: 0.8rem;
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

/* Chocolate Types */
.chocolate-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.chocolate-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.chocolate-card-content {
  padding: 1.5rem;
  position: relative;
}

.tag {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--accent);
  color: var(--dark-chocolate);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Fun Fact */
.fun-fact {
  background-color: var(--light-chocolate);
  color: white;
  padding: 2.5rem;
  border-radius: 8px;
  margin: 3rem 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.fun-fact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1606312619070-d48b4c652a52?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.fun-fact h3 {
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.fun-fact h3 i {
  margin-right: 10px;
  color: var(--accent);
}

.fun-fact p {
  color: white;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  margin: 0;
}

/* Process Steps */
.process-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.process-step {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: var(--dark-chocolate);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.process-step h4 {
  color: var(--dark-chocolate);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.process-step p {
  margin: 0;
  font-size: 0.95rem;
}

/* Recipes Section */
.recipes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin: 2rem 0;
}

.recipe-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.recipe-content {
  padding: 1.5rem;
}

.recipe-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #666;
}

.recipe-meta span {
  display: flex;
  align-items: center;
}

.recipe-meta i {
  margin-right: 5px;
  color: var(--accent);
}

.recipe-content h4 {
  margin: 1.2rem 0 0.5rem;
  color: var(--milk-chocolate);
}

.recipe-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.recipe-content li {
  margin-bottom: 0.3rem;
}

/* Benefits Section */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.benefit-item {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  margin-bottom: 1rem;
}

.benefit-item p {
  margin: 0;
  font-size: 0.95rem;
}

.disclaimer {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 2rem;
}

/* Newsletter */
.newsletter {
  background-color: var(--dark-chocolate);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.newsletter h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.newsletter p {
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.newsletter-form .btn {
  border-radius: 0 4px 4px 0;
}

/* Footer */
footer {
  background-color: var(--dark-chocolate);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

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

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: var(--accent);
  bottom: -8px;
  left: 0;
}

.footer-section p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent);
  color: var(--dark-chocolate);
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent);
}

.footer-section i {
  margin-right: 10px;
  color: var(--accent);
}

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

.footer-bottom p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom i {
  color: #e25555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  header h1 {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.7rem;
  }
  
  .hero {
    height: 400px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 4px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form .btn {
    border-radius: 4px;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 350px;
    padding: 0 1rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section {
    margin: 3rem 0;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .process-container,
  .benefits-container {
    grid-template-columns: 1fr;
  }
  
  .recipe-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}