/* Google Fonts */
body{
    margin:0;
    font-family:'Poppins',sans-serif;
    background:#fff8f2;
    color:#333;
    line-height:1.7;
}

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

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Header */

header{
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:100;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo{
    height:50px;
    width:auto;
    display:block;
    transition:0.3s;
}

.logo:hover{
    transform:scale(1.05);
}



nav{
    display:flex;
    align-items:center;
}

nav a{
    text-decoration:none;
    color:#2e7d32;
    margin-left:25px;
    font-weight:600;
    transition:.3s;
    position:relative;
}

nav a:first-child{
    margin-left:0;
}

nav a:hover,
nav a.active{
    color:#ff6f00;
}

nav a.active::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-6px;
    height:2px;
    background:#ff6f00;
    border-radius:2px;
}

/* Hamburger toggle (hidden on desktop) */

.nav-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:34px;
    height:34px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
}

.nav-toggle span{
    display:block;
    width:100%;
    height:3px;
    background:#2e7d32;
    border-radius:3px;
    transition:.3s;
}

.nav-toggle.open span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2){
    opacity:0;
}

.nav-toggle.open span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/* Hero */

.hero{
    padding:55px 0;
}

.hero-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.hero-text{
    flex:1;
}

.hero-text h1{
    font-family:'Playfair Display',serif;
    font-size:60px;
    line-height:1.2;
    margin-bottom:20px;
    color:#2e7d32;
}

.hero-text p{
    font-size:18px;
    margin-bottom:30px;
}



.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:100%;
    height:auto;              /* keep the natural aspect ratio (fixes stretched hero image) */
    max-width:440px;
    aspect-ratio:1402 / 1122; /* reserve correct space so there is no layout shift */
    object-fit:cover;
    display:block;
    margin:0 auto;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.btn{
    display:inline-block;
    padding:15px 35px;
    background:#2e7d32;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#1b5e20;
    transform:translateY(-3px);
}

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible{
    outline:2px solid #ff6f00;
    outline-offset:3px;
}

.recipe-card.coming-soon{
    opacity:.7;
}

.recipe-card .coming-soon-label{
    display:inline-block;
    margin:0 20px 20px;
    color:#9e9e9e;
    font-weight:600;
    cursor:default;
}

/* Featured */

.featured{
    padding:60px 0;
}

.featured h2{
    text-align:center;
    font-family:'Playfair Display', serif;
    font-size:48px;
    font-weight:700;
    margin-bottom:50px;
    color:#2e7d32;
}

.recipe-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.recipe-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

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

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

.recipe-card h3{
    padding:20px 20px 10px;
    color:#2e7d32;
}

.recipe-card p{
    padding:0 20px 20px;
}

.recipe-card a{
    display:inline-block;
    margin:0 20px 20px;
    color:#ff6f00;
    font-weight:600;
    text-decoration:none;
}

.about-page{
    padding:70px 0;
}

.about-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    flex-wrap:wrap;
}

.about-image{
    flex:1;
    text-align:center;
}

.about-image img{
    width:100%;
    height:auto;
    max-width:420px;
    border-radius:20px;
    box-shadow:0 12px 35px rgba(0,0,0,.15);
}

.about-content{
    flex:1;
}

.about-content h1{
    font-family:'Playfair Display',serif;
    font-size:48px;
    color:#2e7d32;
    margin-bottom:20px;
}

.about-content p{
    font-size:18px;
    line-height:1.9;
    margin-bottom:20px;
}

@media(max-width:768px){

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

.about-content h1{
    font-size:38px;
}

}

/* Sitemap Links */

.policy-page ul{
    margin-left:25px;
    line-height:2;
}

.policy-page ul li a{
    color:#2e7d32;
    text-decoration:none;
    font-weight:600;
}

.policy-page ul li a:hover{
    text-decoration:underline;
}

/* Privacy Policy Page */

.policy-page{
    padding:70px 0;
}

.policy-page h1{
    text-align:center;
    font-family:'Playfair Display',serif;
    font-size:48px;
    color:#2e7d32;
    margin-bottom:25px;
}

.policy-page h2{
    color:#2e7d32;
    margin-top:35px;
    margin-bottom:15px;
}

.policy-page p{
    font-size:17px;
    line-height:1.9;
    margin-bottom:18px;
}

@media(max-width:768px){

.policy-page h1{
    font-size:36px;
}

}


/* CONTACT PAGE */

.contact-page{
    padding:70px 0;
}

.contact-page h1{
    text-align:center;
    font-family:'Playfair Display',serif;
    font-size:48px;
    color:#2e7d32;
    margin-bottom:20px;
}

.contact-intro{
    text-align:center;
    max-width:700px;
    margin:0 auto 50px;
    font-size:18px;
    line-height:1.8;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact-info,
.contact-form{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.contact-info h2{
    color:#2e7d32;
    margin-bottom:20px;
}

.contact-info p{
    margin-bottom:20px;
    line-height:1.8;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    font-family:'Poppins',sans-serif;
}

.contact-form textarea{
    resize:vertical;
}

.contact-form button{
    width:100%;
}

@media(max-width:768px){

.contact-page h1{
    font-size:38px;
}

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

.contact-info,
.contact-form{
    padding:25px;
}

}

/* Recipe Page */

.recipe-page{
    padding:70px 0;
}

.recipe-hero{
    width:100%;
    height:auto;
    max-width:700px;
    display:block;
    margin:0 auto 30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.recipe-page h1{
    text-align:center;
    font-family:'Playfair Display',serif;
    color:#2e7d32;
    font-size:46px;
    margin-bottom:20px;
}

.recipe-intro{
    max-width:850px;
    margin:0 auto 35px;
    text-align:center;
    line-height:1.8;
}

.recipe-info{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin:40px 0;
    text-align:center;
}

.recipe-info div{
    background:#f7f7f7;
    padding:18px;
    border-radius:12px;
}

.recipe-page h2{
    color:#2e7d32;
    margin:35px 0 15px;
}

.recipe-page h3{
    margin:20px 0 10px;
}

.recipe-page ul,
.recipe-page ol{
    line-height:2;
    margin-left:22px;
}

.recipe-actions{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin:40px 0;
}

.related-recipes{
    margin-top:70px;
}

.related-recipes h2{
    text-align:center;
}

@media(max-width:768px){

.recipe-info{
    grid-template-columns:repeat(2,1fr);
}

.recipe-page h1{
    font-size:34px;
}

}


/* 404 Page */

.error-page{
    padding:100px 20px;
    text-align:center;
}

.error-page h1{
    font-size:120px;
    color:#2e7d32;
    margin-bottom:10px;
    font-family:'Playfair Display',serif;
}

.error-page h2{
    font-size:38px;
    margin-bottom:20px;
    color:#333;
}

.error-page p{
    font-size:18px;
    max-width:600px;
    margin:0 auto 35px;
    line-height:1.8;
}

@media(max-width:768px){

.error-page{
    padding:70px 20px;
}

.error-page h1{
    font-size:80px;
}

.error-page h2{
    font-size:28px;
}

}

/* Footer */




.footer{
    background:#2e7d32;
    color:#fff;
    text-align:center;
    padding:60px 20px;
    margin-top:80px;
}

.footer h2,
.footer h3{
    font-family:'Playfair Display',serif;
    font-size:42px;
    margin-bottom:20px;
    color:#fff;
}

.footer p{
    font-size:18px;
    color:#e8f5e9;
    margin-bottom:25px;
    line-height:1.8;
}

.footer-links a{
display:inline-block;
    color:#ffffff;
    text-decoration:none;
    margin:0 12px;
    font-weight:600;
    transition:0.3s;
}

.footer-links a:visited{
    color:#ffffff;
}

.footer-links a:hover{
    color:#ffd180;
}

.footer-links a:active{
    color:#ffb74d;
}

.footer .copyright{
    border-top:1px solid rgba(255,255,255,.25);
    margin-top:30px;
    padding-top:25px;
    font-size:16px;
    color:#dcedc8;
}

.footer-logo{
    width:180px;
    height:auto;
    display:block;
    margin:0 auto 20px;
}

/* Tablet */

@media(max-width:1024px){

.hero-text h1{
    font-size:48px;
}

.featured h2{
    font-size:38px;
}

.recipe-info{
    grid-template-columns:repeat(2,1fr);
}

}

/* Mobile */

@media(max-width:768px){

.navbar{
    flex-wrap:wrap;
    justify-content:space-between;
}

.nav-toggle{
    display:flex;
}

nav{
    display:none;
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    gap:5px;
    padding:15px 0 5px;
}

nav.open{
    display:flex;
}

nav a{
    margin-left:0;
    width:100%;
    padding:10px 5px;
    border-bottom:1px solid #f0f0f0;
}

nav a.active::after{
    display:none;
}

.hero{
    padding:45px 0;
}

.hero-content{
flex-direction:column;
text-align:center;
}

.hero-text h1{
font-size:36px;
}

.hero-text p{
    font-size:16px;
}

.featured h2{
    font-size:30px;
    margin-bottom:30px;
}

.recipe-info{
    grid-template-columns:repeat(2,1fr);
}

.footer h3{
    font-size:32px;
}

.logo{
height:44px;
}

}

@media(max-width:420px){

.recipe-info{
    grid-template-columns:1fr;
}

.recipe-hero{
    border-radius:14px;
}

}