/* ========================================
   JAIELLE WILLIAMS - DARK ROMANCE THEME
   Black, Gold, Red & Citrine Aesthetic
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Dancing+Script:wght@400;700&family=Lora:ital,wght@0,400;0,600;1,400&family=Playfair+Display:wght@400;700;900&display=swap');

/* ----- GLOBAL ----- */
body {
    background-color: #1a1a1a !important;
    color: #f7f3ec !important;
    font-family: 'Raleway', sans serif !important;
}

/* ----- LINKS ----- */
a {
    color: #C9A84C !important;
    transition: all 0.3s ease;
}

a:hover {
    color: #C41E3A !important;
    text-shadow: 0 0 8px rgba(196, 30, 58, 0.4);
}

/* ----- SITE HEADER ----- */
.site-header,
.header-inner {
    background-color: #0d0d0d !important;
    border-bottom: 2px solid #C9A84C !important;
    box-shadow: 0 2px 15px rgba(139, 0, 0, 0.3) !important;
}

.site-title,
.site-title a {
    color: #C9A84C !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 2.5em !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
}

.site-description {
    color: #B76E79 !important;
    font-family: 'Dancing Script', cursive !important;
    font-size: 1.2em !important;
    font-style: italic !important;
}

/* ----- NAVIGATION ----- */
.main-navigation a,
.nav-menu a {
    color: #C9A84C !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.85em !important;
    position: relative;
}

.main-navigation a:hover,
.nav-menu a:hover {
    color: #C9A84C !important;
}

/* RED underline on nav hover */
.main-navigation a::after,
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8B0000;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.nav-menu a:hover::after {
    width: 100%;
}

/* ----- CONTENT AREA ----- */
.post,
.page,
.entry-content,
.post-inner {
    background-color: #1A1A1A !important;
    border: 1px solid #333 !important;
    border-left: 3px solid #8B0000 !important;
    border-radius: 5px;
    padding: 30px !important;
    margin-bottom: 30px !important;
}

/* ----- HEADINGS ----- */
h1, h2, h3, h4, h5, h6 {
    color: #8B0000 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
}

h1 {
    letter-spacing: 2px;
}

/* RED underline on h2 headings */
h2 {
    border-bottom: 2px solid #8B0000 !important;
    padding-bottom: 10px;
    display: inline-block;
}

h3 {
    color: #C9A84C !important;
}

/* ----- ENTRY TITLES ----- */
.entry-title,
.entry-title a {
    color: #C9A84C !important;
    font-family: 'Playfair Display', Georgia, serif !important;
}

.entry-title a:hover {
    color: #C9A84C !important;
}

/* ----- PRIMARY BUTTONS (Buy on Amazon, CTAs) ----- */
.wp-block-button__link,
button,
input[type="submit"] {
    background: linear-gradient(135deg, #C9A84C, #FFBF00) !important;
    color: #1a1a1a !important;
    border: none !important;
    padding: 14px 35px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    font-size: 0.9em !important;
    font-family: 'Playfair Display', Georgia, serif !important;
}

/* RED hover effect on buttons */
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, #8B0000, #C41E3A) !important;
    color: #C9A84C !important;
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.5),
                0 0 10px rgba(228, 160, 16, 0.3) !important;
    transform: translateY(-2px);
}

/* ----- BLOCKQUOTES (Book Excerpts) ----- */
blockquote {
    border-left: 4px solid #8B0000 !important;
    border-right: 1px solid #333 !important;
    background: linear-gradient(135deg, #151515, #1a1015) !important;
    padding: 25px 30px !important;
    font-style: italic !important;
    color: #C27B8A !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.2em !important;
    margin: 30px 0 !important;
    position: relative;
}

/* Decorative quote mark */
blockquote::before {
    content: '"';
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4em;
    color: #8B0000;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 10px;
}

/* ----- GOLD & RED DIVIDER ----- */
hr {
    border: none !important;
    height: 2px !important;
    background: linear-gradient(
        to right,
        transparent,
        #8B0000,
        #C9A84C,
        #C9A84C,
        #C9A84C,
        #8B0000,
        transparent
    ) !important;
    margin: 40px 0 !important;
}

/* ----- SIDEBAR & WIDGETS ----- */
.sidebar,
.widget,
.widget-area {
    background-color: #151515 !important;
    border: 1px solid #2a2a2a !important;
    border-top: 3px solid #8B0000 !important;
    padding: 20px !important;
    border-radius: 5px;
}

.widget-title {
    color: #C9A84C !important;
    border-bottom: 1px solid #8B0000 !important;
    padding-bottom: 8px !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* ----- FOOTER ----- */
.site-footer,
.footer-inner {
    background-color: #0d0d0d !important;
    border-top: 2px solid #8B0000 !important;
    color: #888 !important;
    box-shadow: 0 -2px 15px rgba(139, 0, 0, 0.2) !important;
}

.site-footer a {
    color: #C9A84C !important;
}

.site-footer a:hover {
    color: #C41E3A !important;
}

/* ----- IMAGES ----- */
.entry-content img,
.post-thumbnail img {
    border: 2px solid #333 !important;
    border-radius: 3px;
    transition: all 0.4s ease;
}

.entry-content img:hover,
.post-thumbnail img:hover {
    border-color: #8B0000 !important;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3),
                0 0 30px rgba(228, 160, 16, 0.15);
}

/* ----- BOOK COVER IMAGES (add class "book-cover") ----- */
.book-cover {
    border: 2px solid #C9A84C !important;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    max-width: 300px;
}

.book-cover:hover {
    border-color: #C41E3A !important;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.4),
                0 0 40px rgba(228, 160, 16, 0.2);
    transform: scale(1.03);
}

/* ---- SPICE & CONTENT RATING ---- */
.spice-rating {
    color: #C41E3A !important;
    font-size: 1.3em;
    letter-spacing: 3px;
}

/* ---- NEW RELEASE BADGE ---- */
.new-release {
    background-color: #8B0000;
    color: #C9A84C;
    padding: 5px 15px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    display: inline-block;
    font-family: 'Playfair Display', Georgia, serif;
}

/* ---- CONTENT WARNING BOX ---- */
.content-warning {
    background-color: #1a1015;
    border: 1px solid #8B0000;
    border-left: 4px solid #C41E3A;
    padding: 15px 20px;
    margin: 20px 0;
    color: #C27B8A;
    font-size: 0.9em;
}

/* ---- NEWSLETTER SIGNUP ---- */
.newsletter-signup {
    background: linear-gradient(
        135deg, 
        #1a1a1a, 
        #2a1015, 
        #1a1a1a
    );
    border: 2px solid #C9A84C;
    border-top: 4px solid #8B0000;
    padding: 40px;
    text-align: center;
    border-radius: 5px;
    margin: 30px 0;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.15);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#8B0000, #C9A84C);
    border-radius: 4px;
}

/* ---- TEXT SELECTION ---- */
::selection {
    background: #8B0000;
    color: #C9A84C;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .site-title,
    .site-title a {
        font-size: 1.8em !important;
        letter-spacing: 1px !important;
    }
    
    .post,
    .page,
    .post-inner {
        padding: 15px !important;
        border-left: 2px solid #8B0000 !important;
    }
}