/* =============================================================
   AYTNADIR THEME - Modern Layout (Glassmorphism & New Colors)
   ============================================================= */
body { font-family: 'Outfit', sans-serif; background: #fafafa; }

/* --- HEADER --- */
.modern-header {
    position: fixed;
    top: 20px;
    left: 5%;
    right: 5%;
    width: 90%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.modern-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}
.modern-header__brand img {
    max-height: 50px;
    width: auto;
}
.modern-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}
.modern-nav-list a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
    text-transform: capitalize;
    transition: color 0.3s;
}
.modern-nav-list a:hover {
    color: #ec4899; /* Vibrant Pink Accent */
}
.modern-search .search-form { display: flex; align-items: center; }
.modern-search input[type="search"] {
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 8px 16px;
    outline: none;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
}
.modern-search input[type="search"]:focus { border-color: #ec4899; box-shadow: 0 0 0 3px rgba(236,72,153,0.1); }
.modern-search button {
    background: #ec4899;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin-left: -40px;
    cursor: pointer;
    transition: background 0.3s;
}
.modern-search button:hover { background: #db2777; }

.modern-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.modern-nav-toggle span { display: block; width: 25px; height: 3px; background: #1e293b; border-radius: 3px; transition: 0.3s; }
.modern-mobile-menu {
    display: none;
    padding: 20px 30px;
    border-top: 1px solid #eee;
}
.modern-mobile-menu.active { display: block; }
.modern-nav-list-mobile { list-style: none; padding: 0; margin: 0; }
.modern-nav-list-mobile a { display: block; padding: 10px 0; color: #1e293b; font-weight: 600; text-decoration: none; border-bottom: 1px solid #f1f5f9; }

@media(max-width: 991px) {
    .modern-header__nav, .modern-search { display: none; }
    .modern-nav-toggle { display: flex; }
}

/* --- FOOTER --- */
.modern-footer { margin-top: 80px; position: relative; }
.modern-footer__wave { line-height: 0; }
.modern-footer__content { background: #0f172a; color: #cbd5e1; padding: 60px 0 30px; }
.modern-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.modern-footer__brand-col img { max-height: 60px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.modern-footer__widget-col h3 { color: #fff; font-size: 1.2rem; margin-bottom: 20px; border-bottom: 2px solid #ec4899; padding-bottom: 10px; display: inline-block; }
.modern-footer__widget-col a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; }
.modern-footer__widget-col a:hover { color: #ec4899; }
.modern-footer__widget-col ul { list-style: none; padding: 0; }
.modern-footer__widget-col ul li { margin-bottom: 10px; }
.modern-footer__bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; }

@media(max-width: 991px) {
    .modern-footer__grid { grid-template-columns: 1fr; }
}

/* =============================================================
   AYTNADIR THEME - Modern Single Recipe Page Styles
   ============================================================= */
.modern-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #ec4899;
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
}

.modern-single-article {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding-top: 40px;
}

/* Header & Meta */
.modern-entry-header {
    text-align: center;
    margin-bottom: 40px;
}
.modern-entry-cats a {
    display: inline-block;
    background: #f1f5f9;
    color: #ec4899;
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 5px;
    transition: all 0.3s;
}
.modern-entry-cats a:hover {
    background: #ec4899;
    color: #fff;
}
.modern-entry-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin: 20px 0;
    line-height: 1.2;
}
.modern-entry-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    gap: 15px;
}
.meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.meta-author a { color: #1e293b; font-weight: 700; text-decoration: none; }
.modern-meta-avatar { border-radius: 50%; width: 32px; height: 32px; }
.meta-divider { width: 4px; height: 4px; background: #cbd5e1; border-radius: 50%; }
.meta-date, .meta-read, .meta-comments { display: flex; align-items: center; gap: 6px; }
.meta-date .dashicons, .meta-read .dashicons, .meta-comments .dashicons { font-size: 16px; width: 16px; height: 16px; color: #94a3b8; }

/* Hero Image */
.modern-hero-thumb {
    margin-bottom: -60px; /* Pull content up over the image */
    position: relative;
    z-index: 1;
}
.modern-hero-thumb img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Content Wrap */
.modern-entry-content-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 80px 60px 60px;
    margin: 0 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.modern-entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}
.modern-entry-content h2, .modern-entry-content h3 {
    color: #1e293b;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}
.modern-entry-content p { margin-bottom: 25px; }
.modern-entry-content img { border-radius: 16px; height: auto; }

/* Tags */
.modern-tag-list {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.modern-tag-list .tag-label { font-weight: 700; color: #1e293b; margin-right: 10px; }
.modern-tag-list a {
    background: #f8fafc;
    color: #64748b;
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}
.modern-tag-list a:hover { border-color: #ec4899; color: #ec4899; }

/* Share Bar */
.modern-share-bar {
    margin-top: 40px;
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}
.share-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; color: #1e293b; }
.share-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.share-btn {
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); color: #fff; }
.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #0f1419; }
.share-btn.wa { background: #25D366; }

/* Author Box */
.modern-author-box {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 24px;
}
.author-avatar-wrap img { border-radius: 50%; width: 100px; height: 100px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.author-label { color: #ec4899; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 5px; }
.author-name { font-size: 1.5rem; margin-bottom: 10px; }
.author-name a { color: #1e293b; text-decoration: none; }
.author-bio { color: #64748b; line-height: 1.6; margin: 0; }

/* Prev/Next */
.modern-prevnext {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.modern-prevnext a {
    flex: 1;
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.prev-post { text-align: left; }
.next-post { text-align: right; }
.modern-prevnext a:hover { background: #f1f5f9; transform: translateY(-2px); }
.nav-label { color: #94a3b8; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.nav-title { color: #1e293b; font-weight: 700; font-size: 1.1rem; }

/* Related Posts */
.modern-related {
    background: #f1f5f9;
    padding: 60px 0;
    margin-top: 60px;
}
.modern-related-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 40px;
}

@media(max-width: 768px) {
    .modern-entry-title { font-size: 2rem; }
    .modern-entry-content-wrap { margin: 0 15px; padding: 40px 20px 20px; }
    .modern-hero-thumb { margin-bottom: -30px; }
    .modern-hero-thumb img { height: 300px; border-radius: 0; }
    .modern-author-box { flex-direction: column; text-align: center; padding: 30px 20px; }
    .modern-prevnext { flex-direction: column; }
    .modern-prevnext a { text-align: center; }
}

/* Mobile Search Fix */
.modern-mobile-search {
    margin-bottom: 20px;
}
.modern-mobile-search .search-form { display: flex; align-items: center; width: 100%; }
.modern-mobile-search input[type="search"] {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 10px 16px;
    outline: none;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
}
.modern-mobile-search input[type="search"]:focus { border-color: #ec4899; box-shadow: 0 0 0 3px rgba(236,72,153,0.1); }
.modern-mobile-search button {
    background: #ec4899;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: -44px;
    cursor: pointer;
    transition: background 0.3s;
}
.modern-mobile-search button:hover { background: #db2777; }
