:root { --teal: #007478; --brown: #7C614D; --orange: #FBA80D; --stroke-grad: linear-gradient(to right, #FFDA46, #F8E295, #FFDA46); --bg-color: #f4eee7; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Oranienbaum", serif; }
body { background-color: var(--bg-color); color: var(--brown); overflow-x: hidden; }
a { color: var(--brown)}
a:focus {border: none;}
ul{ margin-bottom:20px; }
.MaxWidth{ margin-right:10%; margin-left:10%; }
.site-header { position: fixed; top: 0; width: 100%; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; background-color: var(--teal); color: white; transition: transform 0.3s ease; }
.site-header > .nav-links { flex: 1; justify-content: flex-end; padding-right: 9rem; }
.header-right-group { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: flex-start; padding-left: 9rem; }
.hamburger-icon { display: none; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; transition: opacity 0.3s ease; }
.hamburger-icon:hover { opacity: 0.7; }
.nav-links { display: flex; gap: 2rem; align-items: center;  font-size: 0.85rem; }
.logo-container a{ color:#fff; text-decoration:none; }
.nav-links a { color: white; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: opacity 0.3s ease; }
.nav-links a:hover { opacity: 0.7; }
.logo-container { position: absolute; left: 50%; top: -10%; transform: translateX(-50%); background: var(--teal); padding: 1rem 2rem 2rem; border-bottom-left-radius: 50%; border-bottom-right-radius: 50%; text-align:center; }
.logo-text { display: block; font-weight: bold; font-size: 1.8rem; text-align: center;  }
.mobile-menu-overlay { position: fixed; top: 0; left: -100%; width: 100vw; height: 100vh; background-color: var(--teal); z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.mobile-menu-overlay.active { left: 0; }
.mobile-menu-overlay a { color: white; text-decoration: none; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }
.close-menu-btn { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; transition: transform 0.3s ease; }
.close-menu-btn:hover { transform: rotate(90deg); }

/* Desktop Dropdown Styles */
.dropdown { position: relative; display: inline-block; }
.dropbtn { background: none; border: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; color: white; display: flex; align-items: center; gap: 4px; transition: opacity 0.3s ease; outline:none; }
.dropbtn:hover { opacity: 0.7; }
.dropdown-content { display: none; position: absolute; background-color: #ffffff; min-width: 180px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); z-index: 1; border-radius: 8px; overflow: hidden; top: 100%; left: 0; padding: 0.5rem 0; }
.dropdown-content a { color: var(--brown) !important; padding: 12px 16px; text-decoration: none; display: block; text-transform: capitalize; font-size: 1rem; letter-spacing: normal; }
.dropdown-content a:hover { background-color: #f7f1eb; color: var(--teal) !important; opacity: 1; }
.dropdown:hover .dropdown-content { display: block; }

/* Mobile Dropdown Styles */
.mobile-menu-overlay { position: fixed; top: 0; left: -100%; width: 100vw; height: 100vh; background-color: var(--teal); z-index: 999; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2.5rem; transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1); padding: 6rem 0 3rem 10%; overflow-y: auto; }
.mobile-menu-overlay.active { left: 0; }
.mobile-menu-overlay > a { color: white; text-decoration: none; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; flex-shrink: 0; }
.close-menu-btn { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; transition: transform 0.3s ease; }
.close-menu-btn:hover { transform: rotate(90deg); }
.mobile-dropdown { display: flex; flex-direction: column; align-items: flex-start; width: 100%; flex-shrink: 0; }
.mobile-dropbtn { background: none; border: none; color: white; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 0; }
.mobile-dropdown-content { display: none; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-top: 1.5rem; padding-left: 1.5rem; border-left: 2px solid rgba(255, 255, 255, 0.3); width: 100%; }
.mobile-dropdown-content.show { display: flex; }
.mobile-dropdown-content a { color: white; font-size: 1.2rem; text-transform: capitalize; letter-spacing: 1px; text-decoration: none; }


/*Home*/
.showcase-section { height: 100vh; position: relative; overflow: hidden; background-color: #f0e9df; }
.bg-layer { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease-in-out; z-index: 1; }
.bg-layer.active { opacity: 1; }
.content-overlay { position: absolute; inset: 0; z-index: 10; padding: 15vh 5% 0; display: flex; flex-direction: column; pointer-events: none; }
.text-panel { max-width: 550px; pointer-events: auto; }
.main-title { font-size: 4rem; color: var(--teal); font-weight: normal; margin-bottom: 0.2rem; }
.subtitle { font-size: 2rem; margin-bottom: 0.8rem; color: var(--brown); font-weight:600!important; }
.description { font-size: 1.1rem; line-height: 1.5; margin-bottom: 2rem; color: #555; max-width: 450px; }
.flavor-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(124, 97, 77, 0.3); padding-bottom: 0.5rem; margin-bottom: 1.5rem; position:relative; }
.dynamic-title { font-size: 1.3rem; color: var(--brown); font-weight: normal; transition: opacity 0.3s ease; }
.tea-leaf-icon { width: 32px; height: 32px; position:absolute; bottom:0; right:-15px; }
.ingredients-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; align-items: start; }
.ingredient-item { display: flex; align-items: center; gap: 1rem; opacity: 0; transform: translateY(10px); transition: all 0.5s ease; }
.ingredient-item.active { opacity: 1; transform: translateY(0); }
.ingredient-thumb { width: 60px; height: auto;  object-fit: cover; border-radius:50px;  mix-blend-mode: multiply;  }
.ingredient-text { font-size: 1.1rem; display: flex; flex-direction: column; }
.ingredient-subtext { font-size: 0.85rem; opacity: 0.7;  margin-top: 0.2rem; }
.btn-buy { display: inline-block; padding: 1rem 2.5rem; background-color: var(--orange); color: white; text-decoration: none;  font-weight: bold; border-radius: 8px; position: relative; border: 3px solid transparent; background-clip: padding-box; text-transform: uppercase; letter-spacing: 1px; transition: transform 0.2s; }
.btn-buy:hover { transform: translateY(-2px); }
.btn-buy::before { content: ""; position: absolute; inset: -3px; border-radius: 10px; background: var(--stroke-grad); z-index: -1; }
.wheel-nav-container { position: absolute; bottom: -250px; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; z-index: 20; pointer-events: none; }
.wheel-path { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 3px dashed rgba(124, 97, 77, 0.3); border-radius: 50%; z-index: 1; }
.wheel-item { position: absolute; bottom: -10%; left: 50%; width: 120px; height: 120px; margin-top: -45px; margin-left: -45px; border-radius: 50%;  background: rgba(217, 217, 217, 0.20); border: 2px solid #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; pointer-events: auto; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, border-color 0.3s ease; z-index: 2; outline: none;  padding: 0; opacity: 0; }
.wheel-item img { width: 70%; height: auto; border-radius: 50%; object-fit: cover; transition: transform 0.3s ease; }
.wheel-item.visible { opacity: 0.6; }
.wheel-item.active { border: 2px solid #007478;  opacity: .8; z-index: 10; }
.wheel-item.active img {  transform: scale(1.3); }
.wheel-item:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.leaf{ width:30px; }

/* Inner Page Specific Styling */
.fixed-background {  background-attachment: fixed; background-size: cover; background-position: center; min-height: 100vh; padding-top: 150px; padding-bottom: 80px; position: relative; }
.recipe-content-wrapper { max-width: 900px; margin: 0 5%; padding: 0 5%; position: relative; z-index: 10; }
.inner-recipe-title { font-size: 3.5rem; color: var(--teal); font-weight: normal; margin-bottom: 0.5rem; line-height: 1.1; }
.inner-recipe-subtitle { font-size: 1.3rem; color: var(--brown); margin-bottom: 4rem; font-weight: 500; opacity: 0.9; max-width: 600px; }
.section-heading { font-size: 1.8rem; color: var(--brown); border-bottom: 1px solid rgba(124, 97, 77, 0.3); padding-bottom: 0.8rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 0.5rem; font-weight: normal; }
.inline-icon { width: 24px; height: 24px; }
.ingredients-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 4rem; margin-bottom: 4rem; max-width:600px; }
.ingredient-row { display: flex; align-items: center; gap: 1rem; }
.ingredient-img-wrapper { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.ingredient-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.ingredient-details { display: flex; flex-direction: column; }
.ingredient-name { font-size: 1.1rem; color: #333; font-weight: 600;  }
.ingredient-qty { font-size: 0.9rem; color: #666;  }
.method-list { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; }
.method-step { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-number { width: 35px; height: 35px; border: 1px solid var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 1.1rem; flex-shrink: 0; }
.step-text { font-size: 1.05rem; color: #444; line-height: 1.6; }
.step-text strong { color: #222; }
.action-buttons { display: flex; gap: 1rem; margin-top: 2rem; }
.btn-action { padding: 0.8rem 1.5rem; border: none; border-radius: 6px; font-weight: 600; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;  transition: transform 0.2s, opacity 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-action:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-share { background-color: var(--teal); color: white; }
.btn-save { background-color: var(--orange); color: white; text-decoration:none; }

.youtube-shorts-container { width: 100%; max-width: 315px; height: 600px; margin: 20px 0; }
.youtube-shorts-container iframe { width: 100%; height: 600px; aspect-ratio: 9 / 16; border: none; border-radius: 12px; }

.PublishedDate{margin-top: 20px; font-style: italic; opacity: 0.7;}
.article-body p{ margin-bottom:10px; }

@keyframes editorialRender { 
    0% { opacity: 0; transform: translateY(20px) scale(0.98); } 
    100% { opacity: 1; transform: translateY(0) scale(1); } 
}
.card { animation: editorialRender 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.recipe-content-wrapper { animation: editorialRender 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }


/*dark styles*/
.DarkRecipe .inner-recipe-title{ color:#AEDF86;  }
.DarkRecipe .inner-recipe-subtitle{ color:#D2E7D0; }
.DarkRecipe .SubContent, .DarkRecipe .section-heading, .DarkRecipe .ingredient-name, .DarkRecipe .ingredient-qty, .DarkRecipe .step-text{ color:#fff; }
.DarkRecipe .step-text strong{ color:#87A855; }
.DarkRecipe .section-heading{ border-bottom: 1px solid #D2E7D0;}
.DarkRecipe .step-number{ border:1px solid #AEDF86; color:#87A855; }

/* Related Recipes Section */
.related-section { background-color: #ffffff; padding: 5rem 5%; }
.related-header { max-width: 1400px; margin: 0 auto 2.5rem; text-align: left; }
.related-title { font-size: 2.5rem; color: #1a1a1a; margin-bottom: 0.5rem; }
.related-subtitle { font-size: 1.1rem; color: #6b7280;  }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; max-width: 1400px; margin: 0 auto; }
.recipe-card { background: #ffffff; border: 1px solid #f3f4f6; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease; }
.recipe-card:hover { transform: translateY(-4px); }
.card-img-wrapper { position: relative; height: 240px; background-color: #e5e7eb; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; top: 1rem; left: 1rem; background: #ffffff; color: #374151; padding: 0.35rem 0.85rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600;  letter-spacing: 0.05em; text-transform: uppercase; }
.card-content { padding: 1.5rem; }
.card-title { font-size: 1.4rem; color: #111827; margin-bottom: 0.75rem; line-height: 1.3; }
.card-desc { font-size: 0.95rem; color: #6b7280; line-height: 1.5; margin-bottom: 1.5rem;  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 2rem;  color: #9ca3af; font-size: 0.9rem; font-weight: 500; }
.meta-item { display: flex; align-items: center; gap: 0.5rem; }
.meta-icon { color: var(--orange); font-size: 1.1rem; }

/*share on SM*/
.share-container { position: relative; display: inline-block; }
.share-popup { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #ddd; padding: 12px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 100; min-width: 140px; flex-direction: column; gap: 10px; margin-bottom: 3px; }
.share-container:hover .share-popup { display: flex; }
.share-popup::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px; border-width: 8px; border-style: solid; border-color: #fff transparent transparent transparent; }
.share-btn { display: block; text-decoration: none; color: #333; font-size: 14px; padding: 4px 0; font-family: sans-serif; transition: color 0.2s ease; }
.share-btn.fb:hover { color: #1877F2; }
.share-btn.x:hover { color: #000000; }
.share-btn.wa:hover { color: #25D366; }


/*Category*/

.category-page { padding:80px 40px; margin: 0 auto; }
.category-page-home{padding: 40px; margin: 0 auto; }
.category-header h1, .category-header h2 { color: #2b7a78; font-size: 3rem; margin-bottom: 8px; font-weight: normal; letter-spacing: 1px; }
.category-header p { color: #888; font-size: 1.1rem; margin-top: 0; margin-bottom: 40px; font-style: italic; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; display: block; text-decoration: none; color: inherit; border-radius: 8px; overflow: hidden; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.card-image { width: 100%; height: 100%; object-fit: cover; object-position: right center; aspect-ratio: 3 / 4; display: block; }
.glass-effect { background: rgba(217, 217, 217, 0.20); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(12px); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; cursor: pointer; pointer-events: auto; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, border-color 0.3s ease; z-index: 2; outline: none; padding: 15px; opacity: 0; position: absolute; bottom: -1px; left: 0; right: 0; box-sizing: border-box; }
.glass-effect.visible { opacity: 1; }
.glass-effect h2, .glass-effect h3 { margin: 0 0 5px 0; font-size: 1rem; color: #222; }
.glass-effect p { margin: 0; font-size: 0.75rem; color: #444; line-height: 1.4; font-family: sans-serif; }

/*dark styles*/
.DarkRecipe .glass-effect h2, .DarkRecipe .glass-effect h3, .DarkRecipe .glass-effect p{ color:#fff; }

/*Error page*/
.error-page .error-page-subheading{ margin-top:35%; color:#fff; margin-bottom:10px; }
.error-page .category-header{ margin-top:10%!important; text-align:center; }
.error-page .category-header p{ color:#eee; }
.error-page-browse a{ color:var(--orange) }


/* Breadcrumbs: small trail right under the fixed main navigation (nav.php). It is positioned over
   the top of the page, so it never shifts the hero layout. Light pill by default; .breadcrumbs--dark
   on dark recipe/article pages; .breadcrumbs--listing on category / cuisine / article-category pages. */
.breadcrumbs { position: absolute; top: 100px; left: 0; right: 0; z-index: 50; padding: 0 10%; pointer-events: none; }
.breadcrumbs ol { display: inline-flex; flex-wrap: wrap; align-items: center; max-width: 100%; list-style: none; margin: 0; padding: 0.3rem 0.85rem; border-radius: 12px; background: rgba(244, 238, 231, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 0.8rem; line-height: 1.5; color: #6b5a4d; pointer-events: auto; }
.breadcrumbs li { display: inline; }
.breadcrumbs li + li::before { content: "\203A"; margin: 0 0.45rem; opacity: 0.6; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--teal); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { opacity: 0.85; }
.breadcrumbs--dark ol { background: rgba(0, 0, 0, 0.38); color: rgba(255, 255, 255, 0.85); }
.breadcrumbs--dark a:hover, .breadcrumbs--dark a:focus-visible { color: #AEDF86; }
.breadcrumbs--listing { top: 74px; padding-left: calc(10% + 40px); }
.breadcrumbs--listing ~ main .category-page { padding-top: 115px; }

/* Footer */
.site-footer { background-color: #1a1a1a; padding: 4rem 5%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; }
.footer-col-1 { flex: 1; min-width: 280px; }
.footer-col-2 { flex: 1; min-width: 200px; }
.footer-col-3 { flex: 1; min-width: 320px; max-width: 400px; }
.footer-logo { font-weight: bold; font-size: 2rem; margin-bottom: 1rem; color: #ffffff; }
.footer-desc { color: #9ca3af; font-size: 1.1rem; line-height: 1.6; margin-bottom: 2rem;  }
.footer-copy { color: #9ca3af; font-size: 0.9rem;  }
.footer-heading { font-size: 1.3rem; margin-bottom: 1.5rem; color: #ffffff;  font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 1.2rem; }
.footer-links a { color: #d1d5db; text-decoration: none; transition: color 0.3s; font-size: 1.1rem;  }
.footer-links a:hover { color: #ffffff; }
.donate-card { background-color: #27272a; border: 1px solid #3f3f46; border-radius: 12px; padding: 2rem; }
.donate-title { font-size: 1.3rem; margin-bottom: 1rem; color: #ffffff;  font-weight: 600; }
.donate-desc { color: #9ca3af; font-size: 1rem; line-height: 1.5; margin-bottom: 1.5rem;  }
.btn-donate { display: block; width: 100%; text-align: center; background-color: #f59e0b; color: #000000; padding: 1rem; border-radius: 8px; text-decoration: none; font-weight: bold;  transition: transform 0.2s; }
.btn-donate:hover { transform: translateY(-2px); }

@media(max-width: 768px){
	.MaxWidth{ margin-right:0; margin-left:0; }
    .logo-container {left: 40%; top:12%; padding-left:0;  border-bottom-left-radius: 0; border-bottom-right-radius: 0; background:none; text-align:left; }
    .nav-links { display: none !important; }
    .main-title { font-size: 2.5rem;}
    .subtitle{ font-size:1.6rem; }
    .content-overlay { padding: 5vh 5% 0; }
    .header-right-group { display: none; }
    .hamburger-icon { display: block; }
    .inner-recipe-title { font-size: 2.5rem; }
    .ingredients-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .site-footer { flex-direction: column; gap: 2rem; }
    .recipe-content-wrapper{ margin: 0%;}
    .ReceipeHeader{ min-height:70vh; }
    .SubContent{ background-color: rgb(244 238 231 / 70%); padding:20px 5%; border-radius:10px;  }

    .cards-grid { grid-template-columns: repeat(1, 1fr); }
    .breadcrumbs, .breadcrumbs--listing { top: 96px; padding: 0 5%; }
    .breadcrumbs--listing { padding-left: 40px; padding-right: 40px; }
    .breadcrumbs--listing ~ main .category-page { padding-top: 140px; }
    .content-page .ReceipeHeader { min-height: 0; }

    /*dark*/
    .DarkRecipe .SubContent{ background-color: rgb(24 22 16 / 70%);  }


    
}