/* Google Fonts */
@import url("https://fonts.googleapis.com/css?family=Varela+Round&display=swap");
@import url("https://fonts.googleapis.com/css?family=Noto+Serif:wght@400;700&display=swap");

@font-face {
  font-family: "TrashHand";
  src: url("../fonts/TrashHand.ttf");
}
/*-------------------------------------------------------------------*/
/* === Keyframes === */
/*======================
1.0. General
========================*/

a, body, div, footer, form, h1, h4, header, html, i, img, li, nav, p, span, ul{
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
}

html{
  overflow-x: hidden;
}
body {
  font-family: 'Varela Round', sans-serif;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: #000000;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}

/*======================
1.1. Typography
========================*/
h1,
h4 {
  margin: 0 0 20px;
  ##font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-weight: 700;
  line-height: 1.2;
  color: #222;
}
h1 {
  font-size: 50px;
}
h4 {
  font-size: 28px;
  line-height: 1.4;
}
p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #000000;
}
a {
  color: #ff0005;
  text-decoration: none;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
a:hover,
a:focus {
  color: #bc0004;
  text-decoration: none;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  outline: none;
}
ul {
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 20px;
}
ul li {
  margin: 10px 0 0;
  position: relative;
}

/*======================
1.2 Section Spacings
========================*/
/*=============================
1.6 Modal, Popups & Dropdowns
==============================*/
.modal-header .close:not(:disabled):not(.disabled):hover{
  background-color: #dd3333;
  opacity: 1;
}

/* 2.2. Header Style 3 */
/*======================
3. Footer
========================*/

/* Dark Footer */

/*======================
5. Subheader
========================*/

/*======================
6. Components
========================*/

/* 6.1. Blog Posts */

/* 6.1.2. Blog Post Details */

/* 6.12. Newsletter Popup */
.metro_newsletter-popup-modal .modal-header .close:not(:disabled):not(.disabled):hover{
  background-color: transparent;
}

/* 6.13. Recipe Cards */

@media (max-width: 768px){

  body{
    font-size: 14px;
  }

  h1{
    font-size: 34px;
  }
  h4{
    font-size: 22px;
  }


}

/* ================================
   GLOBAL
================================ */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* ================================
   HEADER
================================ */

/* ================================
   DESKTOP NAV (Improved Look)
================================ */

/* Subtle default look */

/* Hover effect */

/* Active page */

/* Remove underline animation (cleaner now) */
/* ================================
   DROPDOWN
================================ */

/* Show dropdown on hover */

/* ================================
   MOBILE TOGGLE
================================ */

/* ================================
   MOBILE MENU
================================ */

/* ================================
   OVERLAY
================================ */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: none;
    z-index: 998;
}

/* ================================
   SEARCH SECTION
================================ */

/* ================================
   RESPONSIVE
================================ */

/* ===== FIX DROPDOWN LAYOUT ===== */



/* ================================
   SEARCH SECTION PREMIUM
================================ */

.search-title {
    font-size: 42px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 15px;
}

/* Search Box */

/* Responsive */
@media (max-width: 768px) {
    .search-title {
        font-size: 28px;
    }
}

body{
font-family:'Inter',Arial,sans-serif;
}

/* recipe cards */
body{
font-family:'Source Sans 3',sans-serif;
}

h1{
font-family:'Libre Baskerville',serif;
}

/* HEADER */

/* =============================
SEARCH HEADER
============================= */

.search-header{
max-width:1180px;
margin:40px auto 30px auto;
}

.search-title{
font-size:32px;
margin-bottom:6px;
}

.search-count{
font-size:14px;
color:#777;
margin-bottom:20px;
}

/* SEARCH BOX */

/* GRID */

.result-section{
margin-top:40px;
margin-bottom:60px;
}

.recipe-card{
text-decoration:none;
color:#222;
display:block;
}

.recipe-card img{
width:100%;
height:220px;
object-fit:cover;
border-radius:6px;
margin-bottom:10px;
transition:transform .3s;
}

.recipe-card:hover img{
transform:scale(1.04);
}

.recipe-title{
font-size:18px;
margin-bottom:6px;
}

.recipe-meta{
font-size:13px;
color:#777;
display:flex;
gap:8px;
align-items:center;
}

.recipe-stars{
color:#f5b301;
}

/* PAGINATION */

.pagination-wrap{
margin-top:40px;
text-align:center;
}

.page-link{
display:inline-block;
padding:8px 14px;
margin:4px;
border:1px solid #ddd;
border-radius:4px;
text-decoration:none;
color:#333;
font-size:14px;
}

.page-link:hover{
background:#e63946;
color:#fff;
border-color:#e63946;
}

.page-current{
background:#e63946;
color:#fff;
border-color:#e63946;
font-weight:600;
}
body{
font-family:'Source Sans 3',sans-serif;
}

h1,h4{
font-family:'Libre Baskerville',serif;
}
/* HEADER */

.hd-header{
background:#fff;
border-bottom:1px solid #eaeaea;
position:sticky;
top:0;
z-index:999;
font-family:Arial,Helvetica,sans-serif;
}

/* TOP ROW */

.hd-top{
max-width:1220px;
margin:auto;
display:flex;
align-items:center;
padding:18px 20px;
}

/* LOGO */

.hd-logo img{
height:50px;
width:auto;
display:block;
}

/* SEARCH */

.hd-search{
display:flex;
width:38%;
margin-left:210px;   /* move search right */
}

.hd-search input{
flex:1;
padding:9px 12px;
border:1px solid #ddd;
border-right:none;
font-size:13px;
outline:none;
border-radius:4px 0 0 4px;
}

.hd-search-btn{
background:#ff6b35;
border:1px solid #ff6b35;
color:#fff;
padding:9px 16px;
font-weight:700;
cursor:pointer;
border-radius:0 4px 4px 0;
font-size:13px;
}

/* UTILITY LINKS */

.hd-utility{
margin-left:auto;
display:flex;
gap:22px;
}

.hd-utility a{
text-decoration:none;
font-size:12px;
font-weight:700;
letter-spacing:.6px;
color:#444;
}

/* MENU ROW */

.hd-menu-row{
max-width:1220px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
padding:10px 20px;
border-top:1px solid #eee;
}

/* MAIN MENU */

.hd-menu{
display:flex;
gap:24px;
white-space:nowrap;
}

.hd-menu a{
text-decoration:none;
font-size:12px;
font-weight:700;
letter-spacing:.7px;
color:#222;
}

/* SUBMIT BUTTON */

.hd-orange-btn{
background:#ff6b35;
color:#fff;
text-decoration:none;
padding:7px 14px;
font-size:12px;
font-weight:700;
border-radius:4px;
}

/* HOVER */

.hd-menu a:hover,
.hd-utility a:hover{
color:#ff6b35;
}
/* MENU TOGGLE ICON */

.hd-menu-toggle{
display:none;
flex-direction:column;
gap:4px;
margin-left:auto;
cursor:pointer;
}

.hd-menu-toggle span{
width:24px;
height:3px;
background:#222;
display:block;
}


/* MOBILE */

@media (max-width:768px){

/* show menu icon */

.hd-menu-toggle{
display:flex;
}

/* hide desktop utility */

.hd-utility{
display:none;
}

/* search full width */

.hd-search{
width:100%;
margin-left:0;
margin-top:10px;
}

/* stack top */

.hd-top{
flex-wrap:wrap;
}

/* hide menu by default */

.hd-menu-row{
display:none;
flex-direction:column;
align-items:flex-start;
gap:12px;
}

/* open menu */

/* vertical menu */

.hd-menu{
flex-direction:column;
gap:10px;
width:100%;
}

.hd-menu a{
font-size:13px;
padding:6px 0;
}

/* submit button full width */

.hd-orange-btn{
width:100%;
text-align:center;
padding:10px;
}

}
.site-footer{
background:#111;
color:#ccc;
margin-top:60px;
font-size:14px;
}

.footer-main{
padding:60px 20px 40px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
}

.footer-col h4{
color:#fff;
margin-bottom:14px;
font-size:16px;
font-weight:600;
}

.footer-logo{
color:#fff;
font-size:22px;
margin-bottom:12px;
}

.footer-desc{
line-height:1.6;
color:#aaa;
max-width:280px;
}

.footer-col ul{
list-style:none;
padding:0;
margin:0;
}

.footer-col li{
margin-bottom:8px;
}

.footer-col a{
color:#aaa;
text-decoration:none;
transition:.2s;
}

.footer-col a:hover{
color:#fff;
}

.footer-social{
margin-top:15px;
display:flex;
gap:10px;
}

.footer-social a{
width:34px;
height:34px;
display:flex;
align-items:center;
justify-content:center;
background:#222;
border-radius:6px;
color:#fff;
font-size:14px;
transition:.2s;
}

.footer-social a:hover{
background:#e63946;
}

/* NEWSLETTER */

.newsletter-form{
margin-top:10px;
display:flex;
gap:8px;
}

.newsletter-form input{
flex:1;
padding:9px;
border:0;
border-radius:4px;
}

.newsletter-form button{
background:#e63946;
border:0;
color:#fff;
padding:9px 14px;
border-radius:4px;
cursor:pointer;
}

.newsletter-form button:hover{
background:#c92d39;
}

/* bottom */

.footer-bottom{
border-top:1px solid #222;
padding:15px 20px;
text-align:center;
font-size:13px;
color:#777;
}
.newsletter-text{
color:#aaa;
line-height:1.6;
margin-bottom:10px;
}
.footer-logo img{
height:50px;
width:auto;
display:block;
margin-bottom:12px;
}
/* show mobile menu when active */
.hd-menu-row.active{
display:flex;
}

/* show overlay */
.overlay.active{
display:block;
}