/* =========================================================
   Gayla Worrell — Shared Site Stylesheet
   Used by: index.html, nora.html, life.html, nora-lp.html
   ========================================================= */

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #2c2c2c;
    line-height: 1.7;
    background: white;
}

/* ===== Top Banner (optional promo banner, not currently in use) ===== */
.top-banner {
    background: #2B7A8B;
    color: white;
    text-align: center;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
}

.top-banner a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.top-banner a:hover {
    color: #f0f9fa;
}

.top-banner-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    opacity: 0.8;
}

.top-banner-close:hover {
    opacity: 1;
}

/* ===== Navigation ===== */
.nav {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2B7A8B;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #2B7A8B;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2B7A8B;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== Layout Utilities ===== */
.section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-small {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== Section Titles ===== */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2B7A8B;
}

/* ===== Buttons ===== */
.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: #2B7A8B;
    color: white;
}

.btn-primary:hover {
    background: #236672;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 122, 139, 0.3);
}

/* ===== Book Cover ===== */
.book-cover {
    max-width: 280px;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    background: #f5f5f5;
}

.book-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Book Detail Page Layout (nora.html, life.html, nora-lp.html) ===== */
.book-intro {
    background: white;
}

.book-intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.book-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.25rem;
}

/* Book meta / info-block / important-note — reserved template components,
   not currently used in markup on any page, kept for future use */
.book-meta {
    margin-top: 1.5rem;
    background: #f0f9fa;
    border: 1px solid #d0e8ec;
    border-radius: 0.5rem;
    padding: 1.25rem;
    font-size: 0.95rem;
}

.book-meta div {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid #d0e8ec;
}

.book-meta div:last-child {
    border-bottom: none;
}

.book-meta span:first-child {
    color: #666;
    font-weight: 600;
}

.info-block {
    margin-top: 2.5rem;
}

.info-block h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #2B7A8B;
}

.info-block ul {
    list-style: none;
}

.info-block li {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: #555;
}

.info-block .bullet {
    color: #2B7A8B;
    font-weight: bold;
}

.important-note {
    margin-top: 2.5rem;
    background: #fdf6ec;
    border: 1px solid #f0e0c0;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    color: #6b5a3a;
}

.important-note strong {
    color: #4a3d24;
}

/* ===== Ratings & Reviews ===== */
.overall-rating {
    text-align: center;
    margin-top: 3rem;
}

.overall-rating-stars {
    color: #e8ab1f;
    font-size: 1.75rem;
    letter-spacing: 0.15rem;
    margin-bottom: 0.5rem;
}

.overall-rating-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c2c2c;
}

.overall-rating-sub {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.25rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 2.5rem auto 0;
}

.review-card {
    text-align: center;
    padding: 0 2rem;
    border-left: 1px solid #e0e0e0;
}

.review-card:first-child {
    border-left: none;
}

.review-card-stars {
    color: #e8ab1f;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0.6rem;
}

.review-card p {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #2c2c2c;
}

.book-cta {
    text-align: center;
    max-width: 500px;
    margin: 3rem auto 0;
}

.book-cta .btn-primary {
    width: 100%;
}

/* Sticky mobile CTA bar (nora.html, life.html, nora-lp.html) */
.sticky-cta {
    display: none;
}

/* nora-lp.html: hides the in-page CTA on mobile since the sticky bar covers it */
.in-page-cta {
    display: none;
}

/* ===== About Section (index.html, nora-lp.html) ===== */
.about-section {
    background: #f7f7f7;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: start;
}

.author-photo {
    max-width: 350px;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    background: #f5f5f5;
}

.author-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Writing-focus / bullet list — reserved template components for the About
   section, not currently used in markup on any page, kept for future use */
.writing-focus {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.writing-focus h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.writing-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: start;
}

.bullet {
    color: #2B7A8B;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* Standalone newsletter section — reserved, not currently used in markup
   (the live newsletter signup lives in the footer instead) */
.newsletter {
    background: linear-gradient(135deg, #2B7A8B 0%, #236672 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

.newsletter-form button {
    background: #1a5563;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #0f3d47;
}

.newsletter-disclaimer {
    font-size: 0.875rem;
    margin-top: 1rem;
    color: rgba(255,255,255,0.8);
}

/* ===== Media Kit (nora.html, life.html) ===== */
.media-kit-section {
    border-top: 1px solid #f0f0f0;
}

.kit-text {
    font-size: 1.0625rem;
    color: #555;
}

.kit-text p {
    margin-bottom: 1.25rem;
}

.meta-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.meta-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
}

.meta-table td:first-child {
    font-weight: 700;
    color: #2B7A8B;
    width: 40%;
}

.theme-list, .angle-list {
    margin: 1rem 0 1.5rem;
    padding-left: 0;
    list-style: none;
}

.theme-list li, .angle-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.theme-list li::before, .angle-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2B7A8B;
}

.theme-list strong, .angle-list strong {
    display: block;
    color: #2c2c2c;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.question-list {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.question-list li {
    margin-bottom: 0.9rem;
}

details.kit-more {
    margin-top: 1rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

details.kit-more summary {
    cursor: pointer;
    font-weight: 700;
    color: #2B7A8B;
    font-size: 1.05rem;
}

details.kit-more summary:hover {
    text-decoration: underline;
}

.press-contact {
    background: #f0f9fa;
    border: 1px solid #d0e8ec;
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
}

.press-contact p {
    margin-bottom: 0.5rem;
}

.press-contact a {
    color: #2B7A8B;
    font-weight: 600;
    text-decoration: none;
}

.press-contact a:hover {
    text-decoration: underline;
}

.download-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ===== Footer (index.html, nora.html, life.html) ===== */
footer {
    background: #1a1a1a;
    color: #999;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.footer-newsletter h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-info {
    text-align: center;
}

.footer-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    list-style: none;
}

.social-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2B7A8B;
}

.copyright {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    max-width: 1200px;
    margin: 1.5rem auto 0;
}

.trade-note {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f0f0f0;
    margin-top: 1.25rem;
}

/* nora-lp.html: minimal footer, copyright only */
.lp-footer {
    background: #1a1a1a;
    padding: 1rem 1.5rem;
}

.lp-footer .copyright {
    color: #999;
    margin: 0;
}

/* ===== Legacy / reserved components (not currently used in markup on any
   page — kept in case older sections such as an ARC signup form or a
   coming-soon block are reintroduced) ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2B7A8B;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    background: white;
    color: #2B7A8B;
    border: 2px solid #2B7A8B;
}

.btn-secondary:hover {
    background: #f0f9fa;
}

.arc-section {
    background: white;
}

.arc-card {
    background: linear-gradient(135deg, #f0f9fa 0%, #e6f3f5 100%);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(43, 122, 139, 0.1);
    border: 1px solid #d0e8ec;
}

.arc-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.arc-text {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #2B7A8B;
    box-shadow: 0 0 0 3px rgba(43, 122, 139, 0.1);
}

.email-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.email-form input {
    flex: 1;
}

.disclaimer {
    font-size: 0.875rem;
    color: #666;
    margin-top: 1rem;
}

.coming-soon {
    background: #f9fafb;
    text-align: center;
}

.icon-large {
    color: #2B7A8B;
    margin-bottom: 1rem;
}

.coming-soon-text {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.hidden {
    display: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    body {
        padding-bottom: 4.75rem;
    }

    .sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 0.75rem 1rem;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .sticky-cta .btn-primary {
        width: 100%;
    }

    .book-cta .btn-primary,
    .in-page-cta {
        display: none;
    }

    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .nav-links {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .book-intro-content,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .book-cover,
    .author-photo {
        margin: 0 auto;
    }

    .review-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .review-card {
        border-left: none;
        padding: 0;
    }

    .section {
        padding: 3rem 1rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-info {
        text-align: center;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .top-banner {
        font-size: 0.85rem;
        padding: 0.65rem 2.25rem 0.65rem 0.75rem;
    }

    .arc-card {
        padding: 1.5rem;
    }

    .email-form {
        flex-direction: column;
    }
}
