/* ==========================================================
   ZENITHBLOG — ZENITHMATCH PREMIUM (DASHBOARD SYNC)
   THEME: OBSIDIAN, CHOCOLATE & LIQUID GOLD
   Based on dashboard.php design
========================================================== */

/* Fonts - preluate din dashboard.php */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ================= ROOT VARIABLES ================= */

:root {
    /* CULORI EXTRAGE DIN DASHBOARD.PHP */
    --obsidian: #080808;
    --brown-overlay: rgba(226, 194, 117, 0.1);
    
    /* Fundaluri */
    --bg-main: #080808;           /* Obsidian */
    --bg-soft: rgba(255, 255, 255, 0.03); /* Glass effect */
    --bg-card: rgba(255, 255, 255, 0.03); /* Glass mai inchis pentru carduri */
    --bg-card-hover: rgba(226, 194, 117, 0.05); /* Tentă maronie la hover */

    /* Accente */
    --accent-main: #e2c275;       /* Champagne */
    --accent-soft: #f7e1ad;       /* Gold Bright */
    --liquid-gold: linear-gradient(135deg, #c5a059 0%, #f7e1ad 50%, #b38728 100%); /* Gradientul butoanelor */

    /* Text */
    --text-dark: #ffffff;         /* Titluri Albe */
    --text-medium: #a8a095;       /* Gri cald / Bej sters */
    --text-muted: #666666;

    --white: #ffffff;
    
    /* Borduri */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.05);
    --border-gold: 1px solid rgba(226, 194, 117, 0.3);

    /* Structura */
    --radius: 20px;               /* Rotunjire mai mare ca in dashboard */
    --radius-soft: 12px;

    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-hover: 0 0 30px rgba(226, 194, 117, 0.15); /* Glow auriu */
}

/* ================= GLOBAL ================= */

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    /* Radial gradient pentru atmosfera "Brown" din dashboard */
    background-image: radial-gradient(circle at 50% 0%, var(--brown-overlay) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-medium);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: var(--accent-main);
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

a:hover {
    color: var(--accent-soft);
    text-shadow: 0 0 10px var(--accent-main);
}

/* Fontul italic elegant din dashboard */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
    margin-top: 0;
    font-weight: 600;
    font-style: italic; /* Stilul specific dashboard */
    letter-spacing: -0.5px;
}

/* ==========================================================
   NAVBAR PREMIUM — DARK GLASS ISLAND
========================================================== */

.navbar-premium {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(25px);
    background: rgba(10, 10, 10, 0.85); /* Nav Island style */
    border-bottom: var(--border-subtle);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.nav-logo svg {
    height: 40px;
    fill: var(--accent-main);
}

/* Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 20px;
    margin-right: auto;
}

.nav-links a {
    color: var(--accent-main);
    font-size: 14px; /* Mai mic, ca in dashboard */
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.nav-links a:hover {
    background: rgba(226, 194, 117, 0.1);
    opacity: 1;
}

/* Dropdown categorii */
.nav-dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    font: inherit;
    color: var(--accent-main);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.dropdown-btn:hover {
    background: rgba(226, 194, 117, 0.1);
}

/* Meniu dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #141210; /* Dark chocolate background */
    border: var(--border-gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 10px 0;
    min-width: 200px;
    display: none;
    z-index: 2000;
    backdrop-filter: blur(15px);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.5px;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: rgba(226, 194, 117, 0.15);
    color: var(--accent-main);
}

/* Search bar */
.nav-search {
    display: flex;
    align-items: stretch;
}

.nav-search input {
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    border-radius: 30px 0 0 30px;
    outline: none;
    width: 210px;
    font-size: 14px;
    background: rgba(255,255,255,0.05);
    color: white;
}

.nav-search input:focus {
    border-color: var(--accent-main);
}

.nav-search button {
    background: var(--liquid-gold); /* Gradient din dashboard */
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    color: #000;
    font-size: 16px;
    font-weight: bold;
}

/* Mobile hidden elements */
.nav-mobile,
.nav-toggle,
.nav-cta {
    display: none !important;
}

/* ==========================================================
   HERO (Homepage) — INTEGRATED WITH DASHBOARD BG
========================================================== */

.hero-blush {
    /* Transparent pentru a lăsa gradientul din body să se vadă */
    background: transparent;
    padding: 80px 20px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.hero-inner {
    max-width: 800px;
    margin: auto;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 16px;
    /* Efect text auriu */
    background: var(--liquid-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background: var(--liquid-gold);
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.6);
    filter: brightness(1.1);
}

/* ==========================================================
   PART 2: HOMEPAGE GRID (VAULT CARD STYLE)
========================================================== */

.posts-blush {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.post-card-blush {
    /* Stilul .vault-card din dashboard */
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 40px; /* Ca in dashboard */
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
}

.post-card-blush:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 194, 117, 0.3);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
}

.post-card-blush img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 40px 40px 0 0;
    display: block;
    opacity: 0.85;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.post-card-blush:hover img {
    opacity: 1;
}

.post-content {
    padding: 30px;
}

.post-title {
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text-dark);
}

.post-card-blush:hover .post-title {
    color: var(--accent-main);
}

.post-date {
    font-size: 12px;
    color: var(--accent-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* ================= PAGINATION ================= */

.pagination-blush {
    text-align: center;
    margin: 80px 0;
}

.pag-btn,
.pag-number {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 6px;
    background: rgba(255,255,255,0.05);
    color: var(--text-medium);
    border-radius: 50px;
    border: 1px solid transparent;
    transition: 0.3s;
    font-size: 14px;
}

.pag-number.active {
    background: var(--accent-main);
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(226, 194, 117, 0.4);
}

.pag-btn:hover,
.pag-number:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-main);
    color: var(--accent-main);
}

/* ==========================================================
   SINGLE POST PAGE
========================================================== */

.hero-article-blush {
    text-align: center;
    padding: 60px 20px 40px;
    background: transparent;
}

.hero-article-blush h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.article-meta-blush {
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.article-meta-blush .cat {
    color: var(--accent-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.article-layout-blush {
    max-width: 1200px;
    margin: 20px auto 80px;
    padding: 0 20px;
    display: flex;
    gap: 60px;
}

.article-main-blush {
    flex: 2;
}

.article-sidebar-blush {
    flex: 1;
}

/* Tags */
.tags-blush {
    margin-bottom: 40px;
}

.tags-blush .tag-item-blush {
    background: rgba(226, 194, 117, 0.1);
    border: 1px solid rgba(226, 194, 117, 0.2);
    color: var(--accent-main);
    padding: 8px 18px;
    border-radius: 50px;
    margin-right: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: 0.3s;
}

.tags-blush .tag-item-blush:hover {
    background: var(--accent-main);
    color: #000;
    box-shadow: 0 0 15px rgba(226, 194, 117, 0.3);
}

/* Cover image */
.article-cover-blush img {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto 50px auto;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Content */
.article-content-blush {
    font-size: 19px;
    line-height: 1.9;
    color: #d0d0d0; /* Off-white pentru citire */
    margin-bottom: 80px;
}

.article-content-blush h2, 
.article-content-blush h3 {
    color: var(--accent-main);
    margin-top: 50px;
    margin-bottom: 25px;
}

.article-content-blush strong {
    color: #fff;
}

/* ================= COMMENTS ================= */

.comments-title-blush {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.comment-item-blush {
    background: rgba(255,255,255,0.03);
    padding: 25px;
    border-radius: 20px;
    border: var(--border-subtle);
    border-left: 3px solid var(--accent-main);
    margin-bottom: 25px;
}

.comment-author-blush {
    font-weight: 600;
    color: var(--white);
    font-size: 17px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.comment-date-blush {
    font-size: 13px;
    color: var(--text-muted);
}

.comment-item-blush p {
    color: #ccc;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Comment form */

.comment-form-blush input,
.comment-form-blush textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.3);
    font-size: 15px;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.comment-form-blush input:focus,
.comment-form-blush textarea:focus {
    border-color: var(--accent-main);
    background: rgba(0,0,0,0.5);
    outline: none;
    box-shadow: 0 0 15px rgba(226, 194, 117, 0.1);
}

.comment-form-blush textarea {
    resize: vertical;
    min-height: 140px;
}

.comment-form-blush button {
    padding: 14px 40px;
    background: var(--liquid-gold);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-form-blush button:hover {
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.4);
    transform: scale(1.02);
}

/* ==========================================================
   CATEGORY PAGE
========================================================== */

.category-layout-blush {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.category-main-blush {
    flex: 2;
}

.category-sidebar-blush {
    flex: 1;
}

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

.cat-card-blush {
    background: var(--bg-card);
    border-radius: 30px;
    border: var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.cat-card-blush:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(226, 194, 117, 0.3);
}

.cat-thumb-blush {
    width: 100%;
    height: 180px !important;
    object-fit: cover !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: block;
}

.cat-content-blush {
    padding: 25px;
}

.cat-title-blush {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--white);
}

.cat-date-blush {
    font-size: 12px;
    color: var(--accent-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================
   CONTACT + SIDEBAR + FOOTER
========================================================== */

/* CONTACT */
.contact-layout-blush {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.contact-form-box-blush {
    flex: 2;
    background: rgba(255,255,255,0.03);
    padding: 45px;
    border-radius: 30px;
    border: var(--border-gold);
    box-shadow: var(--shadow-soft);
}

.contact-form-blush label {
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    color: var(--accent-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-blush input,
.contact-form-blush textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 25px;
    background: rgba(0,0,0,0.4);
    font-size: 15px;
    color: white;
}

.contact-form-blush input:focus,
.contact-form-blush textarea:focus {
    border-color: var(--accent-main);
    outline: none;
    box-shadow: 0 0 15px rgba(226, 194, 117, 0.1);
}

.contact-form-blush button {
    background: var(--liquid-gold);
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-blush button:hover {
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.4);
}

/* SIDEBAR WIDGETS */

.sidebar-widget-blush {
    background: var(--bg-card); /* Glass effect */
    padding: 30px;
    border-radius: 30px;
    border: var(--border-subtle);
    box-shadow: var(--shadow-soft);
    margin-bottom: 35px;
}

.sidebar-widget-blush h3 {
    color: var(--accent-main);
    font-size: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.sidebar-item-blush {
    background: transparent;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 15px;
    align-items: center;
    transition: 0.25s ease;
}

.sidebar-item-blush:last-child {
    border-bottom: none;
}

.sidebar-item-blush:hover {
    background: rgba(226, 194, 117, 0.05);
    transform: translateX(5px);
    border-radius: 10px;
    padding-left: 10px;
}

.sidebar-thumb-blush img {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}

.sidebar-title-blush {
    font-size: 15px;
    font-weight: 500;
    color: #e0e0e0;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.sidebar-item-blush:hover .sidebar-title-blush {
    color: var(--accent-main);
}

.sidebar-date-blush {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    display: block;
}

/* ================= FOOTER ================= */

.footer-blush {
    background: #050505; /* Aproape negru, mai inchis ca body */
    padding: 80px 20px 30px;
    color: #888;
    margin-top: 100px;
    border-top: 1px solid rgba(226, 194, 117, 0.1);
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--accent-main);
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-col p {
    font-size: 15px;
    color: #999;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: #aaa;
    transition: 0.3s;
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--accent-main);
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(226, 194, 117, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: #444;
}

/* ================= MOBILE & RESPONSIVE ================= */

@media (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    .nav-search {
        order: 2;
        margin-left: auto;
    }

    .article-layout-blush,
    .contact-layout-blush,
    .category-layout-blush {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .single-container,
    .category-layout-blush,
    .contact-layout-blush {
        padding: 0 14px;
    }

    .hero-blush,
    .hero-article-blush {
        padding: 60px 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .article-cover-blush img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .article-layout-blush {
        flex-direction: column;
        gap: 40px;
    }

    .article-sidebar-blush,
    .category-sidebar-blush {
        width: 100%;
    }

    .article-content-blush {
        font-size: 17px;
        line-height: 1.65;
    }

    .category-grid-blush {
        grid-template-columns: 1fr;
    }

    .post-card-blush img {
        height: auto;
        aspect-ratio: 16/9;
    }

    .tags-blush {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-links {
        display: none;
    }

    .footer-blush {
        padding: 40px 16px;
        text-align: center;
    }
}

/* ================= MOBILE MENU ================= */

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: 0;
        cursor: pointer;
        color: var(--accent-main);
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        background: #080808; /* Obsidian */
        padding: 100px 30px;
        transform: translateX(100%);
        transition: 0.35s ease;
        z-index: 9999;
        background-image: radial-gradient(circle at 50% 0%, var(--brown-overlay) 0%, transparent 60%);
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu a {
        display: block;
        font-size: 24px;
        padding: 20px 0;
        color: var(--accent-main);
        font-family: 'Cormorant Garamond', serif;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        text-align: center;
    }
}