:root {
  --primary-color: #B05C3A;
  --secondary-color: #8A4028;
  --accent-color: #6B8F6B;
  --light-color: #FAF4EE;
  --dark-color: #281508;
  --gradient-primary: linear-gradient(135deg, #B05C3A 0%, #8A4028 100%);
  --hover-color: #C96A44;
  --background-color: #FBF7F3;
  --text-color: #261208;
  --text-color-secondary: #6E4C38;
  --border-color: rgba(176, 92, 58, 0.18);
  --divider-color: rgba(138, 64, 40, 0.12);
  --shadow-color: rgba(40, 21, 8, 0.1);
  --highlight-color: #E8C96A;
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.75;
  margin: 0; padding: 0;
  width: 100%; min-width: 320px;
}

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.22; }
h2 { font-size: clamp(1.4rem, 4vw, 2.3rem); line-height: 1.3; }
h3 { font-size: clamp(1rem, 3vw, 1.25rem); line-height: 1.4; }

p {
  margin: 0 0 1rem 0;
  font-size: clamp(0.97rem, 2vw, 1.07rem);
  line-height: 1.8;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 1.1rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 3px 18px rgba(40, 21, 8, 0.25);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 3rem; width: auto; }

.navigation ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--light-color);
  font-weight: 500;
  font-size: 0.94rem;
  transition: opacity 0.3s ease;
}

.navigation a:hover { opacity: 0.72; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 9px;
  background: rgba(255,255,255,0.14);
  border-radius: 6px;
}

.hamburger .line {
  width: 24px; height: 2px;
  background: var(--light-color);
  margin: 3px 0;
  border-radius: 1px;
  transition: 0.3s;
}

#menu-toggle { display: none; }

#menu-toggle:checked ~ .mobile-nav {
  max-height: 420px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--secondary-color);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 1000;
}

.mobile-nav ul { padding: 1.5rem 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 0.8rem 0; }

.mobile-nav a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--light-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.3s;
}

.mobile-nav a:hover { background: rgba(255,255,255,0.1); }

/* Pattern */
.pattern-bg {
  position: relative;
  overflow: hidden;
}

.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(176, 92, 58, 0.06) 60px, transparent 60px),
    radial-gradient(circle at 85% 20%, rgba(107, 143, 107, 0.06) 80px, transparent 80px),
    radial-gradient(circle at 50% 90%, rgba(176, 92, 58, 0.04) 100px, transparent 100px);
  pointer-events: none;
}

/* Feature cards — split color diagonal style */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 22px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 36px rgba(176, 92, 58, 0.2);
}

.feature-card-head {
  padding: 1.8rem 2rem 1.4rem 2rem;
  background: linear-gradient(135deg, var(--light-color) 0%, #f0e6da 100%);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 2px solid var(--border-color);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  margin: 0;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon { transform: rotate(8deg) scale(1.08); }

.feature-card-head h3 { margin: 0; font-size: 1.1rem; }

.feature-card-body {
  padding: 1.4rem 2rem 2rem 2rem;
  flex: 1;
}

.feature-card-body p { margin: 0; font-size: 0.95rem; color: var(--text-color); }

/* Random block — recipe/tip cards */
.tip-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tip-card:hover { transform: translateY(-5px); }

.tip-card-label {
  background: var(--gradient-primary);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
}

.tip-card-content { padding: 1.6rem 1.8rem; }

.tip-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.tip-card-content p {
  font-size: 0.92rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.tip-ingredients {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tip-ingredients li {
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-color-secondary);
  font-weight: 500;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(176, 92, 58, 0.18);
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 0.8;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: var(--main-font);
  margin-bottom: 0.8rem;
}

/* FAQ */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.3s ease;
  border-right: 4px solid transparent;
}

.faq-item:hover {
  border-right-color: var(--primary-color);
  box-shadow: 0 6px 24px rgba(176, 92, 58, 0.16);
  transform: translateX(-4px);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: var(--primary-color);
}

.faq-item p { margin: 0; color: var(--text-color); font-size: 0.97rem; }

/* Form */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  background: #ffffff;
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(176, 92, 58, 0.14);
}

/* Buttons */
.btn, button[type="submit"] {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(176, 92, 58, 0.32);
}

.btn:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(176, 92, 58, 0.44);
  background: linear-gradient(135deg, #C96A44 0%, #B05C3A 100%);
}

/* Contact */
.contact-wrapper {
  width: 80%;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer a {
  color: var(--light-color);
  text-decoration: none;
  transition: opacity 0.3s;
}

footer a:hover { opacity: 0.7; }

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--highlight-color);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-wrapper { width: 100%; }
  .grid-2col { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
}