
*
{
    box-sizing:border-box
}
html,body{
    height:100%
}
body{
  margin:0;
  font-family: 'Caffeine Mono', serif;
  background:#fbf7f2;
  color:#2f2a25;
  line-height:1.6;
}

.bar{
  display:flex;
  align-items:center;
  padding:20px 6%;
  background:linear-gradient(180deg,#ebdbcbb3,#bca68c);
  position:sticky;
  top:0;
  z-index:40;
}

.logo{
  font-family:'Playfair Display',serif;
  font-size:1.55rem;
  color: rgb(32, 39, 32);
}

.header {
  position: relative;
  background: linear-gradient( 180deg,  rgba(108, 89, 76, 0.684),  rgba(122, 100, 80, 0.326) ),
    url('https://i.pinimg.com/1200x/4b/7a/e6/4b7ae629838d71d1de23cf2232ca823c.jpg') 
    center/cover;
  color: #fff;
  padding: 6rem 0 0;
  overflow: hidden;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6% 4rem; 
}

@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 0 6% 6rem;
  }
}

.header-text {
  flex: 1;
  color: #eee8de;
}

.header-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.5px;
}

.header-sub {
  max-width: 640px;
  opacity: 0.95;
}

.header-image {
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
}

.header-image img {
  width: 100%;
  border-radius: 28px 28px 12px 12px;
  box-shadow: 0 20px 40px rgba(47, 42, 37, 0.25);
  display: block;
}

.features {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.features p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #444;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.card {
  width: 220px;
  background: #ffffffa9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(47, 36, 27, 0.385);
  padding: 1rem;
  text-align: center;
}

.card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .card {
    width: 100%;
    max-width: 300px;
  }
}

.recipe-section{
    padding:2.5rem 6%; 
    max-width:1200px; 
    margin:0 auto
}
.recipe-inner{
    display:grid; 
    grid-template-columns:360px 1fr; 
    gap:36px; 
    align-items:start
}

.recipe-left{
    display:flex; 
    flex-direction:column; 
    gap:18px
}
.time-cards{
    display:flex; 
    gap:12px; 
    flex-wrap:wrap
}
.time-card{
  background:rgba(99, 83, 67, 0.767);
  padding:14px 12px;
  border-radius:12px;
  min-width:110px;
  text-align:center;
}
.time-card h4{
    margin:0 0 6px; 
    font-size:0.95rem; 
    color: rgb(246, 237, 231);
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.time-card p{
    font-weight:600;
    color: white;
}

.warning-card{
  background:rgba(182, 170, 161, 0.668);
  padding:14px;
  border-radius:10px;
}
.warning-card h4{
    margin:0 0 4px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.warning-card ul{
    margin:0; 
    padding-left:1rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.warning-card li{
    margin-bottom:8px; 
    font-size:0.75rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.ingredients-card{
  background:rgba(225, 210, 186, 0.608);
  padding:14px;
  border-radius:10px;
}
.ingredients-card ul{
    padding-left:1.5rem; 
    margin-top:3px
}
.ingredients-card li{
    margin-bottom:8px
}

.recipe-right h2{
    font-family:'Inria Serif',serif; 
    margin-top:0
}
.instruction-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
  margin-top:12px;
}
.step{
  background:rgba(255, 255, 255, 0.708);
  border-radius:12px;
  padding:14px;
  overflow:hidden;
  position:relative;
}
.step-media{
    position:relative; 
    margin-bottom:10px
}
.step-media img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:10px;
  display:block;
}
.step-num{
  position:absolute;
  top:10px;
  left:10px;
  background:rgba(237, 232, 228, 0.813);
  color:#2f2a25;
  font-weight:500;
  width:34px; height:34px;
  display:grid; 
  place-items:center;
  border-radius:50%;
}

.optional{
  margin-top:20px;
  padding:10px 12px;
  background:rgba(159, 127, 82, 0.393);
  border-left:4px;
  border-style: dotted;
}


.optional p{
  color: #282216;
}

.sources-section{
  text-align:center;
  padding:1.2rem 6%;
  color:#8f7a63;
  font-size:0.95rem;
}
.site-footer{
  padding:24px 6%;
  background:linear-gradient(180deg,#f4efe6,#efe7d8);
  text-align:center;
  color:#8f7a63;;
}
