                /*
 Theme Name:   Chika Book Child
 Theme URI:    https://chikabook.in
 Description:  GeneratePress Child Theme for Chika Book IP Management
 Author:       Sanjib Sinha
 Template:     generatepress
 Version:      2.0.1
*/
@import url('https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&display=swap');
/* ==========================================================================
   1. GLOBAL BRANDING & TYPOGRAPHY
   ========================================================================== */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Tiro Bangla', 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#page {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-family: 'Tiro Bangla', 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: #b71c1c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d32f2f;
}

/* Standard Buttons */
.chika-btn {
    display: inline-block;
    background-color: #b71c1c;
    color: #ffffff !important;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #b71c1c;
}

.chika-btn:hover {
    background-color: #7f0000;
    border-color: #7f0000;
}

.btn-outline {
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #b71c1c;
    color: #ffffff !important;
}

/* ==========================================================================
   2. MASTER STICKY HEADER & NAVIGATION COLORS
   ========================================================================== */
.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #2a2a2a;
}

.site-header,
.site-header .inside-header,
.main-navigation,
.main-navigation .inside-navigation {
    background-color: #0a0a0a !important;
}

.main-title a,
.main-navigation .main-nav ul li a {
    color: #ffffff !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-title a:hover,
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li:hover > a {
    color: #b71c1c !important;
    background-color: transparent !important;
}

/* ==========================================================================
   3. GENERATEPRESS DEFAULT OVERRIDES (Fixing White Backgrounds)
   ========================================================================== */
.site-content {
    background-color: #121212;
}

.inside-article,
.sidebar .widget,
.page .inside-article, 
.single .inside-article,
.type-page .inside-article {
    background-color: #1a1a1a !important; 
    color: #e0e0e0;
    padding: 30px;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
}

.page-header,
.archive .page-header {
    background-color: #1a1a1a !important;
    border: 1px solid #2a2a2a;
    padding: 40px;
    border-radius: 4px;
    margin-bottom: 40px;
}

.inside-article h1, 
.inside-article h2, 
.inside-article h3, 
.inside-article h4,
.widget-title {
    color: #ffffff;
}

.inside-article p,
.sidebar .widget p {
    color: #cccccc;
    line-height: 1.6;
}

.sidebar .widget a {
    color: #b71c1c;
}

/* ==========================================================================
   4. FRONT PAGE: FULL SPREAD AGENCY LAYOUT
   ========================================================================== */
.home-full-width {
    width: 100% !important;
    max-width: 100% !important;
}

.centered-grid-container {
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 100px 40px;
}

.chika-top-spread { background-color: #0a0a0a; width: 100%; }
.chika-bottom-spread { background-color: #121212; width: 100%; border-top: 1px solid #222; }

.grid-2-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.hero-column h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-large { padding: 18px 35px; font-size: 1rem; }

.news-sidebar-card {
    background-color: #1a1a1a;
    padding: 40px;
    border: 1px solid #b71c1c;
    border-radius: 4px;
}

.sidebar-title {
    font-size: 1.4rem;
    color: #b71c1c;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.news-date { color: #888; font-size: 0.9rem; margin-bottom: 10px; display: block; }
.news-sidebar-card h3 { font-size: 1.4rem; line-height: 1.4; margin-bottom: 15px; }

.section-heading { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }
.character-card { background-color: #1a1a1a; padding: 40px 30px; border: 1px solid #2a2a2a; }
.character-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.card-divider { height: 3px; width: 40px; background-color: #b71c1c; margin-bottom: 20px; }

/* ==========================================================================
   5. IP CATALOG (Archive & Single Pages)
   ========================================================================== */
.chika-archive-area { padding: 60px 0; }
.ip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.ip-card { background-color: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 4px; overflow: hidden; }
.ip-card-image img { width: 100%; height: auto; display: block; border-bottom: 2px solid #b71c1c; }
.ip-card-content { padding: 25px; }
.ip-card-title { font-size: 1.4rem; margin-bottom: 10px; }
.ip-card-excerpt { color: #cccccc; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }

.ip-single-layout { display: grid; grid-template-columns: 350px 1fr; gap: 50px; align-items: start; margin-top: 40px;}
.licensing-dashboard { background-color: #1a1a1a; padding: 25px; border: 1px solid #2a2a2a; }
.status-list { list-style: none; padding: 0; margin: 0 0 25px 0; }
.status-list li { margin-bottom: 15px; font-size: 0.95rem; }
.status-label { display: block; color: #888; font-size: 0.8rem; margin-bottom: 4px; }
.status-value { display: block; color: #ffffff; font-weight: bold; }

/* ==========================================================================
   6. CONTACT PAGE & FORM STYLING
   ========================================================================== */
.chika-contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 40px 0; }
.contact-card { background-color: #1a1a1a; padding: 20px; border-left: 3px solid #b71c1c; margin-bottom: 20px; }

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
    width: 100%; background-color: #1a1a1a; border: 1px solid #333; color: #e0e0e0; padding: 12px; border-radius: 3px; margin-top: 5px;
}
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 textarea:focus {
    border-color: #b71c1c; outline: none;
}
.wpcf7 input[type="submit"] {
    background-color: #b71c1c; color: #ffffff; border: none; padding: 12px 24px; cursor: pointer; font-weight: bold; text-transform: uppercase;
}
.wpcf7 input[type="submit"]:hover { background-color: #7f0000; }

/* ==========================================================================
   7. MASTER FOOTER THEME (DARK) & SIDE-BY-SIDE ALIGNMENT
   ========================================================================== */
.site-info {
    background-color: #0a0a0a !important;
    color: #cccccc !important;
    border-top: 1px solid #2a2a2a;
    padding: 30px 40px !important;
}

/* Create the Side-by-Side Flex Layout */
.site-info .inside-site-info {
    display: flex;
    flex-direction: row; /* Forces items side-by-side */
    justify-content: space-between; /* Pushes copyright left, menu right */
    align-items: center;
    max-width: 1400px; /* Keeps it aligned with your main site width */
    margin: 0 auto;
}

/* Menu Container Reset */
.footer-bar {
    order: 0;
    width: auto;
    margin-bottom: 0;
}

.footer-bar .menu {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-bar .menu li a {
    color: #cccccc !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bar .menu li a:hover {
    color: #b71c1c !important;
    background-color: transparent !important;
}

/* Copyright Alignment */
.copyright-bar {
    text-align: left;
}

.copyright-bar a {
    color: #b71c1c !important;
    text-decoration: none;
}

.copyright-bar a:hover {
    color: #d32f2f !important;
}

/* ==========================================================================
   8. MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-2-col, .grid-3-col, .chika-contact-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .hero-column h1 { font-size: 2.8rem; }
    .centered-grid-container { padding: 60px 20px; }
}

@media (max-width: 768px) {
    .ip-single-layout { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; width: 100%; }
    .chika-btn { text-align: center; }
    
    .main-navigation.toggled .main-nav > ul {
        background-color: #0a0a0a !important;
    }
    
    /* On mobile screens, stack the footer back to a column so it isn't squished */
    .site-info .inside-site-info {
        flex-direction: column;
        gap: 20px;
    }
    .footer-bar {
        order: -1; /* Puts menu above copyright on phones */
    }
    .copyright-bar {
        text-align: center;
    }
}        