/*
Theme Name: Mistress Julienne
Theme URI: https://example.com
Author: Mistress Julienne
Description: A dark gothic theme for Mistress Julienne.
Version: 1.2
Text Domain: mistress-julienne
*/

@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Raleway:wght@300;400;500;600&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --bg-primary:   #0a0a0a;
    --bg-section:   #0d0808;
    --bg-dark:      #0f0505;
    --bg-hero:      #150505;
    --red-bright:   #c8102e;
    --red-deep:     #8b0000;
    --red-border:   #2a1515;
    --text-primary: #e8e0d0;
    --text-muted:   #888888;
    --text-warm:    #9a7070;
    --text-dim:     #666666;
    --text-body:    #c8bfb0;
    --font-gothic:  'UnifrakturMaguntia', cursive;
    --font-serif:   'Cormorant Garamond', Georgia, serif;
    --font-sans:    'Raleway', sans-serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text-primary); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   AGE GATE
   ============================================================ */
#age-gate {
    position: fixed;
    inset: 0;
    background: rgba(5,0,0,0.97);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
#age-gate.hidden { display: none; }
.age-gate-box {
    background: #0d0505;
    border: 1px solid var(--red-border);
    max-width: 440px;
    width: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
}
.age-gate-crest { font-size: 40px; color: var(--red-deep); margin-bottom: 1.2rem; display: block; }
.age-gate-box h2 { font-family: var(--font-gothic); font-size: 28px; color: var(--red-bright); margin-bottom: 0.8rem; }
.age-gate-box p { font-size: 12px; color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; font-family: var(--font-sans); }
.age-gate-buttons { display: flex; gap: 12px; justify-content: center; }
.btn-enter, .btn-exit {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 12px 28px;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.2s;
}
.btn-enter { background: var(--red-deep); color: #f0e0e0; border-color: var(--red-deep); }
.btn-enter:hover { background: #6b0000; color: #fff; }
.btn-exit { background: transparent; color: var(--text-dim); border-color: #333; }
.btn-exit:hover { color: var(--text-muted); border-color: #555; }

/* ============================================================
   LAYOUT
   ============================================================ */
#page { display: flex; flex-direction: column; min-height: 100vh; }
#content { flex: 1; }

/* ============================================================
   HEADER
   ============================================================ */
#masthead {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--red-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.site-title { font-family: var(--font-gothic); font-size: 26px; color: var(--red-bright); line-height: 1; display: block; }
.site-title a { color: inherit; }
.site-title a:hover { color: var(--text-primary); }
.site-tagline { font-family: var(--font-sans); font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--text-muted); display: block; margin-top: 2px; }
#site-navigation { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-menu a { font-family: var(--font-sans); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); transition: color 0.2s; }
.nav-menu a:hover, .nav-menu .current-menu-item a { color: var(--red-bright); }
.menu-toggle { display: none; background: none; border: 1px solid var(--red-border); color: var(--text-muted); font-size: 18px; cursor: pointer; padding: 6px 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: linear-gradient(180deg, var(--bg-hero) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--red-border);
    padding: 6rem 2rem 5rem;
    text-align: center;
}
.hero-eyebrow { font-family: var(--font-sans); font-size: 9px; letter-spacing: 6px; color: var(--red-bright); text-transform: uppercase; display: block; margin-bottom: 1.2rem; }
.hero-title { font-family: var(--font-gothic); font-size: clamp(48px, 8vw, 80px); color: var(--text-primary); line-height: 1; margin-bottom: 0.6rem; }
.hero-subtitle { font-family: var(--font-serif); font-size: clamp(16px, 2.5vw, 22px); font-style: italic; color: var(--text-warm); margin-bottom: 2.8rem; }
.btn-primary {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 14px 48px;
    border: 1px solid var(--red-deep);
    background: rgba(139,0,0,0.15);
    color: #e8d0d0;
    transition: all 0.25s;
}
.btn-primary:hover { background: var(--red-deep); color: #fff; border-color: var(--red-deep); }

/* ============================================================
   GEOMETRIC GOTHIC ORNAMENT DIVIDER
   ============================================================ */
.ornament-row {
    background: var(--bg-primary);
    padding: 1.2rem 0;
    text-align: center;
    line-height: 1;
    overflow: hidden;
}
.ornament-row::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--red-border) 20%, var(--red-border) 80%, transparent 100%);
    margin-bottom: -0.6rem;
}
.ornament-svg {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
    padding: 0 1rem;
}

/* ============================================================
   HOME PAGE CONTENT
   ============================================================ */
.home-content-section {
    background: var(--bg-primary);
    padding: 5rem 2rem 4rem;
}
.home-content-inner {
    max-width: 740px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.95;
    color: var(--text-body);
}
.home-content-inner p {
    margin-bottom: 1.6rem;
}
.home-content-inner p:first-of-type::first-letter {
    font-family: var(--font-gothic);
    font-size: 4.5rem;
    line-height: 0.8;
    float: left;
    margin: 0.1rem 0.15rem 0 0;
    color: var(--red-bright);
}
.home-content-inner h1,
.home-content-inner h2,
.home-content-inner h3,
.home-content-inner h4,
.home-content-inner h5,
.home-content-inner h6 {
    font-family: var(--font-gothic) !important;
    color: var(--red-bright) !important;
    font-weight: 400 !important;
    margin: 3rem 0 1.2rem !important;
    line-height: 1.2 !important;
}
.home-content-inner h1 { font-size: 42px !important; }
.home-content-inner h2 { font-size: 34px !important; }
.home-content-inner h3 { font-size: 26px !important; }
.home-content-inner h4 { font-size: 22px !important; }
.home-content-inner hr {
    border: none !important;
    height: 24px !important;
    background: transparent !important;
    margin: 2rem 0 !important;
    position: relative !important;
    overflow: visible !important;
    text-align: center !important;
}
.home-content-inner hr::before {
    content: '◆ ◇ ◆';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--red-border);
    font-size: 10px;
    letter-spacing: 8px;
    white-space: nowrap;
}
.home-content-inner hr::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background: var(--red-border);
    z-index: -1;
}
.home-content-inner ul {
    list-style: none !important;
    padding-left: 1.2rem !important;
    margin-bottom: 1.6rem !important;
}
.home-content-inner ul li {
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
    position: relative;
    color: var(--text-body);
}
.home-content-inner ul li::before {
    content: '✦';
    color: var(--red-deep);
    position: absolute;
    left: 0;
    font-size: 9px;
    top: 7px;
}
.home-content-inner ol {
    padding-left: 1.8rem;
    margin-bottom: 1.6rem;
}
.home-content-inner ol li { margin-bottom: 0.6rem; color: var(--text-body); }
.home-content-inner ol li::marker { color: var(--red-bright); }
.home-content-inner a { color: var(--red-bright); border-bottom: 1px solid var(--red-border); }
.home-content-inner a:hover { color: var(--text-primary); }
.home-content-inner strong { color: var(--text-primary); font-weight: 600; }

/* ============================================================
   POSTS GRID
   ============================================================ */
.posts-section { background: var(--bg-primary); padding-bottom: 3rem; }
.section-header { text-align: center; padding: 3rem 2rem 1.5rem; }
.section-header h2 { font-family: var(--font-gothic); font-size: clamp(28px,4vw,40px); color: var(--text-primary); margin-bottom: 0.4rem; }
.section-header p { font-family: var(--font-serif); font-style: italic; color: var(--text-muted); font-size: 14px; }
.posts-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--red-border);
    width: 100%;
    box-sizing: border-box;
}
.posts-empty { text-align: center; padding: 3rem 2rem; color: var(--text-muted); font-family: var(--font-serif); font-style: italic; }
.post-card { background: var(--bg-section); display: flex; flex-direction: column; }
.post-card-thumb { display: block; overflow: hidden; aspect-ratio: 16/10; background: #1a0a0a; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #2a1515; font-size: 32px; }
.post-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.post-card-date { font-family: var(--font-sans); font-size: 9px; letter-spacing: 3px; color: var(--red-bright); text-transform: uppercase; margin-bottom: 0.5rem; }
.post-card-title { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.4; }
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--red-bright); }
.post-card-excerpt { font-family: var(--font-serif); font-style: italic; font-size: 13px; color: var(--text-muted); flex: 1; margin-bottom: 1rem; }
.post-card-read-more { font-family: var(--font-sans); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--red-bright); margin-top: auto; }
.post-card-read-more:hover { color: var(--text-primary); }

/* ============================================================
   BECOME MINE CTA
   ============================================================ */
.become-mine-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--red-border);
    border-bottom: 1px solid var(--red-border);
    padding: 5rem 2rem;
    text-align: center;
}
.become-mine-section h2 { font-family: var(--font-gothic); font-size: clamp(32px,5vw,50px); color: var(--text-primary); margin-bottom: 0.8rem; }
.become-mine-section .lead { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--text-muted); max-width: 500px; margin: 0 auto 2.5rem; }
.features-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; margin-bottom: 2.5rem; list-style: none; }
.features-list li { font-family: var(--font-sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-warm); }
.features-list li::before { content: '✦'; color: var(--red-deep); margin-right: 8px; }
.btn-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 16px 56px;
    background: var(--red-deep);
    color: #f0e0e0;
    border: 1px solid var(--red-deep);
    transition: all 0.25s;
}
.btn-cta:hover { background: #6b0000; border-color: #6b0000; color: #fff; }

/* ============================================================
   SOCIAL SECTION
   ============================================================ */
.social-section { background: var(--bg-primary); border-top: 1px solid var(--red-border); padding: 4rem 2rem; text-align: center; }
.social-section h3 { font-family: var(--font-gothic); font-size: 26px; color: var(--text-muted); font-weight: 400; margin-bottom: 1.8rem; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.social-links a { display: inline-block; font-family: var(--font-sans); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--red-border); padding: 8px 18px; transition: all 0.2s; }
.social-links a:hover { color: var(--red-bright); border-color: var(--red-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon { background: var(--bg-primary); border-top: 1px solid var(--red-border); padding: 1.2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--font-gothic); font-size: 20px; color: #3a1515; }
.footer-copy { font-family: var(--font-sans); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-darkest, #444); }
.footer-legal { font-family: var(--font-sans); font-size: 9px; color: var(--text-darkest, #444); letter-spacing: 1px; }

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */
.entry-wrapper { max-width: 760px; margin: 0 auto; padding: 4rem 2rem; }
.entry-content { padding: 0; margin: 0; }
.entry-header { margin-bottom: 2.5rem; }
.entry-title { font-family: var(--font-gothic); font-size: clamp(32px,5vw,52px); color: var(--text-primary); margin-bottom: 0.8rem; }
.entry-meta { font-family: var(--font-sans); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--red-bright); }
.entry-content { font-family: var(--font-serif); font-size: 17px; line-height: 1.85; color: #c8bfb0; }
.entry-content h2, .entry-content h3 { font-family: var(--font-gothic); color: var(--red-bright); margin: 2rem 0 0.8rem; }
.entry-content p { margin-bottom: 1.4rem; }
.entry-content a { color: var(--red-bright); border-bottom: 1px solid var(--red-border); }
.entry-content img { margin: 1.5rem 0; border: 1px solid var(--red-border); }

/* ============================================================
   BLOG PAGINATION
   ============================================================ */
.nav-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nav-links a, .nav-links span { font-family: var(--font-sans); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; padding: 8px 16px; border: 1px solid var(--red-border); color: var(--text-muted); transition: all 0.2s; }
.nav-links a:hover { color: var(--red-bright); border-color: var(--red-deep); }
.nav-links span.current { color: var(--red-bright); border-color: var(--red-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .nav-menu { display: none; flex-direction: column; gap: 0; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg-primary); border-bottom: 1px solid var(--red-border); padding: 1rem 0; }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 0.6rem 2rem; font-size: 11px; }
    .menu-toggle { display: block; }
    .posts-grid { grid-template-columns: 1fr; }
    .hero-section { padding: 4rem 1.5rem 3rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .age-gate-box { padding: 2rem 1.5rem; }
    .home-content-section { padding: 3rem 1.5rem; }
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero-slideshow {
    width: 100%;
    max-width: 700px;
    margin: 2rem auto 2.5rem;
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 1px solid var(--red-border);
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
@media (max-width: 768px) {
    .hero-slideshow {
        aspect-ratio: 4/3;
        margin: 1.5rem auto 2rem;
    }
}
