
/* =========================================
   ROBERT WHANSLAW WEBSITE
   British Noir / 1970s & 1980s
   ========================================= */
/* -----------------------------------------
   Basic page setup
   ----------------------------------------- */
html {
    font-size: 16px;
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
    /* Strong amber streetlight glow */
    radial-gradient( ellipse 500px 650px at 12% 25%, rgba(150, 105, 55, 0.22), transparent 70% ),
    /* Distant urban light */
    radial-gradient( ellipse 600px 400px at 90% 70%, rgba(90, 95, 100, 0.16), transparent 70% ),
    /* Deep central shadow */
    radial-gradient( ellipse 700px 600px at 55% 45%, rgba(0, 0, 0, 0.65), transparent 75% ),
    /* Dark charcoal base */
    linear-gradient( 125deg, #030303 0%, #191817 42%, #080808 75%, #020202 100% );
    color: #d6d6d6;
    font-family: Georgia, "Times New Roman", serif;
    background-attachment: fixed;
}

    /* Subtle film grain */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background-image: repeating-radial-gradient( circle at 0 0, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 3px );
        opacity: 0.35;
        pointer-events: none;
        z-index: 9999;
    }

/* -----------------------------------------
   Main header
   ----------------------------------------- */

.site-header {
    background: linear-gradient( to bottom, rgba(3, 3, 3, 0.97), rgba(8, 8, 8, 0.90) );
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}


/* -----------------------------------------
   Author name
   ----------------------------------------- */

.author-heading {
    text-align: center;
    padding-bottom: 25px;
}

    .author-heading a {
        color: #eeeeee;
        text-shadow: 0 0 18px rgba(180, 150, 110, 0.12);
        text-decoration: none;
        font-size: 2.8rem;
        letter-spacing: 5px;
        text-transform: uppercase;
        font-weight: normal;
    }

        .author-heading a:hover {
            color: #ffffff;
        }

.author-subtitle {
    margin-top: 5px;
    color: #999999;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 6px;
    text-transform: uppercase;
}


/* -----------------------------------------
   Navigation
   ----------------------------------------- */

.navbar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-nav {
    gap: 10px;
}

.nav-link {
    color: #b08a5a !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 18px !important;
    transition: color 0.3s ease, background-color 0.3s ease;
}

    .nav-link:hover {
        color: #d0ad78 !important;
        background-color: rgba(255, 255, 255, 0.05);
    }


/* -----------------------------------------
   Main content
   ----------------------------------------- */

main {
    min-height: calc(100vh - 220px);
}


/* -----------------------------------------
   Footer
   ----------------------------------------- */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.65);
    color: #777777;
    text-align: center;
    padding: 25px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.author-photo {
    text-align: center;
    margin-bottom: 45px;
}

.author-photo-image {
    width: 280px;
    height: 360px;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
}



/* -----------------------------------------
   Mobile adjustments
   ----------------------------------------- */

@media (max-width: 767px) {

    .site-header {
        padding-top: 25px;
    }

    .author-heading a {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .author-subtitle {
        font-size: 0.7rem;
        letter-spacing: 4px;
    }

    .navbar-nav {
        gap: 0;
    }

    .nav-link {
        padding: 12px 10px !important;
    }
}

.author-photo-image {
    width: 240px;
    height: 310px;
}

/* =========================================
   HOME PAGE
   ========================================= */

.home-intro p {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: #999999;
    line-height: 1.9;
}

    .home-intro h1 {
        font-size: 3rem;
        font-weight: normal;
        letter-spacing: 4px;
        margin-bottom: 30px;
        color: #eeeeee;
        text-align: center;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    }

    .home-intro p {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        color: #999999;
        line-height: 1.9;
    }

    .home-intro .intro-lead {
        font-size: 1.3rem;
        color: #d0d0d0;
        margin-bottom: 18px;
    }

    .home-intro h1::after {
        content: "";
        display: block;
        width: 70px;
        height: 1px;
        margin: 28px auto 0;
        background: rgba(190, 160, 120, 0.55);
    }

/* -----------------------------------------
   Books section
   ----------------------------------------- */

.books-section {
    position: relative;
    text-align: center;
    padding: 85px 20px 65px;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05) );
}


/* -----------------------------------------
   Temporary book area
   ----------------------------------------- */

.book-placeholder {
    max-width: 900px;
    min-height: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
}

    .book-placeholder p {
        color: #666666;
        font-family: Arial, Helvetica, sans-serif;
        letter-spacing: 1px;
    }


/* ==============================
   BOOK COVERS
   ============================== */

.book-cover {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    border: 1px solid #3a2a16;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}


/* -----------------------------------------
   Mobile
   ----------------------------------------- */

@media (max-width: 767px) {

    .home-intro {
        padding: 60px 20px 50px;
    }

        .home-intro h1 {
            font-size: 1.8rem;
        }

    .books-section {
        padding: 50px 20px 60px;
    }
}


/* =========================================
   STANDARD CONTENT PAGES
   ========================================= */
.page-header {
    text-align: center;
    padding: 80px 20px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #eeeeee;
    margin-bottom: 15px;
}

.page-header p {
    color: #888888;
}


.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 100px;
    line-height: 1.8;
}

    .page-content h2 {
        color: #eeeeee;
        font-weight: normal;
        margin-bottom: 25px;
    }

    .page-content p {
        color: #aaaaaa;
    }



/* =========================================
   BOOK CAROUSEL
   ========================================= */
#bookCarousel {
    max-width: 900px;
    margin: 0 auto;
}

.book-placeholder {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 40px;
}

.book-cover-placeholder {
    width: 230px;
    height: 330px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    color: #cccccc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    line-height: 1.5;
}

.book-placeholder h3 {
    color: #eeeeee;
    font-weight: normal;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.book-placeholder p {
    color: #777777;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* Carousel arrows */

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}


/* Carousel indicators */

.carousel-indicators {
    bottom: -45px;
}


/* Mobile */

@media (max-width: 767px) {

    .book-placeholder {
        min-height: 450px;
        padding: 25px;
    }

    .book-cover-placeholder {
        width: 190px;
        height: 275px;
        font-size: 1rem;
    }
}


/* ==============================
   BOOKS PAGE
   ============================== */

.books-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}

.books-heading {
    text-align: center;
    margin-bottom: 50px;
}

    .books-heading h1 {
        font-family: Georgia, serif;
        font-size: 3rem;
        letter-spacing: 6px;
        color: #e8c77b;
        margin-bottom: 10px;
    }

    .books-heading p {
        color: #aaa;
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

.books-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.book-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
    background: rgba(17, 17, 17, 0.75);
    border: 1px solid #302519;
    padding: 30px;
}

.book-cover {
    width: 300px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    border: 1px solid #3a2a16;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.book-info {
    padding: 0;
}

    .book-info h2 {
        margin-top: 0;
    }

.book-tagline {
    color: #d97924;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: bold;
}

.book-info p:not(.book-tagline) {
    color: #bbb;
    line-height: 1.6;
}

.book-button {
    display: inline-block;
    margin-top: 10px;
    padding: 9px 18px;
    border: 1px solid #a87522;
    color: #e8c77b;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

    .book-button:hover {
        background: #a87522;
        color: #111;
    }


.carousel-book-cover {
    width: 300px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

    .carousel-book-cover:hover {
        transform: scale(1.03);
    }

.book-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.buy-button {
    display: inline-block;
    padding: 10px 22px;
    background: #9b6b32;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid #c08a45;
    border-radius: 3px;
    transition: all 0.2s ease;
}

    .buy-button:hover {
        background: #c08a45;
        color: #ffffff;
        text-decoration: none;
    }

/* -----------------------------------------
   Books page - mobile
   ----------------------------------------- */

@media (max-width: 767px) {

    .book-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .book-cover {
        width: 240px;
        margin: 0 auto;
    }
}

/* =========================================
   BOOKS PAGE
   ========================================= */

.books-page {
    padding: 70px 20px 80px;
}

.books-heading {
    text-align: center;
    margin-bottom: 55px;
}

    .books-heading h1 {
        font-size: 2.8rem;
        font-weight: normal;
        letter-spacing: 5px;
        color: #eeeeee;
        margin-bottom: 10px;
    }

    .books-heading p {
        color: #999999;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.85rem;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

.book-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.book-summary {
    text-align: center;
    padding: 30px 25px 35px;
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.book-summary-cover {
    width: 220px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

    .book-summary-cover:hover {
        transform: scale(1.03);
    }

.book-summary h2 {
    color: #eeeeee;
    font-size: 1.35rem;
    font-weight: normal;
    margin-bottom: 8px;
}

.book-summary-type {
    color: #b08a5a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.book-summary p:not(.book-summary-type) {
    color: #999999;
    line-height: 1.7;
    margin: 20px auto 25px;
    max-width: 300px;
}

.book-summary .buy-button {
    display: inline-block;
}


/* Mobile */

@media (max-width: 767px) {

    .book-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .book-summary-cover {
        width: 240px;
    }

    .books-page {
        padding: 50px 20px 60px;
    }

    .books-heading h1 {
        font-size: 2.2rem;
    }
}

/* =========================================
   COMING SOON PAGE
   ========================================= */

.coming-soon-page {
    padding: 75px 20px 90px;
}

.coming-soon-heading {
    text-align: center;
    margin-bottom: 65px;
}

    .coming-soon-heading h1 {
        font-size: 2.8rem;
        font-weight: normal;
        letter-spacing: 5px;
        color: #eeeeee;
        margin-bottom: 12px;
    }

    .coming-soon-heading p {
        color: #999999;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.85rem;
        letter-spacing: 3px;
        text-transform: uppercase;
    }


/* Main book area */

.coming-soon-book {
    max-width: 900px;
    margin: 0 auto;
    padding: 75px 50px;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25) );
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 80px rgba(0, 0, 0, 0.30);
    text-align: center;
}


/* Series label */

.series-label {
    color: #b08a5a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}


/* Book title */

.coming-soon-content h2 {
    font-size: 3.2rem;
    font-weight: normal;
    letter-spacing: 4px;
    color: #eeeeee;
    margin-bottom: 18px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}


/* Release date */

.coming-date {
    color: #c0c0c0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* Decorative line */

.coming-soon-divider {
    width: 70px;
    height: 1px;
    background: rgba(190, 160, 120, 0.55);
    margin: 35px auto 35px;
}


/* Description */

.coming-soon-content > p:not(.series-label):not(.coming-date):not(.development-note) {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: #999999;
    line-height: 1.9;
}


/* Development message */

.development-note {
    margin-top: 35px;
    color: #d0d0d0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* Mobile */

@media (max-width: 767px) {

    .coming-soon-page {
        padding: 50px 20px 60px;
    }

    .coming-soon-heading {
        margin-bottom: 45px;
    }

        .coming-soon-heading h1 {
            font-size: 2.1rem;
        }

    .coming-soon-book {
        padding: 50px 25px;
    }

    .coming-soon-content h2 {
        font-size: 2.1rem;
        letter-spacing: 2px;
    }
}

/* =========================================
   NEWSLETTER PAGE
   ========================================= */

.newsletter-page {
    padding: 75px 20px 90px;
}

.newsletter-heading {
    text-align: center;
    margin-bottom: 65px;
}

    .newsletter-heading h1 {
        font-size: 2.8rem;
        font-weight: normal;
        letter-spacing: 5px;
        color: #eeeeee;
        margin-bottom: 12px;
    }

    .newsletter-heading p {
        color: #999999;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.85rem;
        letter-spacing: 3px;
        text-transform: uppercase;
    }


/* Main newsletter panel */

.newsletter-panel {
    max-width: 800px;
    margin: 0 auto;
    padding: 65px 50px 70px;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25) );
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 80px rgba(0, 0, 0, 0.30);
    text-align: center;
}


/* Main heading */

.newsletter-content h2 {
    font-size: 2.4rem;
    font-weight: normal;
    letter-spacing: 3px;
    color: #eeeeee;
    margin-bottom: 25px;
}


/* Introductory text */

.newsletter-content > p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: #999999;
    line-height: 1.9;
}


/* Decorative line */

.newsletter-divider {
    width: 70px;
    height: 1px;
    background: rgba(190, 160, 120, 0.55);
    margin: 35px auto;
}


/* Small note */

.newsletter-note {
    color: #b0b0b0 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
}


/* EmailOctopus form */

.newsletter-form {
    max-width: 500px;
    margin: 40px auto 0;
    text-align: left;
}


/* Mobile */

@media (max-width: 767px) {

    .newsletter-page {
        padding: 50px 20px 60px;
    }

    .newsletter-heading {
        margin-bottom: 45px;
    }

        .newsletter-heading h1 {
            font-size: 2.1rem;
        }

    .newsletter-panel {
        padding: 45px 25px 50px;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }
}

/* =========================================
   NEWSLETTER THANK YOU PAGE
   ========================================= */

.newsletter-thank-you-page {
    padding: 90px 20px 100px;
}

.newsletter-thank-you-panel {
    max-width: 750px;
    margin: 0 auto;
    padding: 75px 50px 80px;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25) );
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 80px rgba(0, 0, 0, 0.30);
    text-align: center;
}

.thank-you-label {
    color: #b08a5a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.newsletter-thank-you-panel h1 {
    font-size: 3rem;
    font-weight: normal;
    letter-spacing: 4px;
    color: #eeeeee;
    margin-bottom: 20px;
}

.newsletter-thank-you-panel h2 {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 2px;
    color: #eeeeee;
    margin-bottom: 25px;
}

.thank-you-divider {
    width: 70px;
    height: 1px;
    background: rgba(190, 160, 120, 0.55);
    margin: 30px auto 35px;
}

.newsletter-thank-you-panel > p:not(.thank-you-label) {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    color: #999999;
    line-height: 1.9;
}

.newsletter-thank-you-panel .buy-button {
    margin-top: 20px;
}

.thank-you-home {
    margin-top: 30px;
}

    .thank-you-home a {
        color: #999999;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.8rem;
        letter-spacing: 1px;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .thank-you-home a:hover {
            color: #ffffff;
        }

@media (max-width: 767px) {

    .newsletter-thank-you-page {
        padding: 55px 20px 70px;
    }

    .newsletter-thank-you-panel {
        padding: 50px 25px 60px;
    }

        .newsletter-thank-you-panel h1 {
            font-size: 2.2rem;
        }

        .newsletter-thank-you-panel h2 {
            font-size: 1.6rem;
        }
}

/* =========================================
   WHO IS ROBERT WHANSLAW PAGE
   ========================================= */

.author-page {
    padding: 75px 20px 90px;
}

.author-page-heading {
    text-align: center;
    margin-bottom: 65px;
}

    .author-page-heading h1 {
        font-size: 2.8rem;
        font-weight: normal;
        letter-spacing: 5px;
        color: #eeeeee;
        margin-bottom: 12px;
    }

    .author-page-heading p {
        color: #999999;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.85rem;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

.author-panel {
    max-width: 850px;
    margin: 0 auto;
    padding: 70px 60px 80px;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25) );
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 80px rgba(0, 0, 0, 0.30);
}

.author-content {
    max-width: 680px;
    margin: 0 auto;
}

.author-intro {
    font-size: 1.35rem;
    color: #d0d0d0 !important;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 35px !important;
}

.author-content p {
    color: #999999;
    line-height: 1.9;
    margin-bottom: 25px;
}

.author-content h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 3px;
    color: #eeeeee;
    margin-bottom: 30px;
}

.author-divider {
    width: 70px;
    height: 1px;
    background: rgba(190, 160, 120, 0.55);
    margin: 45px auto;
}

.author-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 45px;
}

.author-secondary-link {
    color: #999999;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .author-secondary-link:hover {
        color: #ffffff;
    }

@media (max-width: 767px) {

    .author-page {
        padding: 50px 20px 60px;
    }

    .author-page-heading {
        margin-bottom: 45px;
    }

        .author-page-heading h1 {
            font-size: 2.1rem;
            letter-spacing: 3px;
        }

    .author-panel {
        padding: 50px 25px 60px;
    }

    .author-intro {
        font-size: 1.15rem;
    }

    .author-content h2 {
        font-size: 1.7rem;
    }

    .author-links {
        flex-direction: column;
        gap: 20px;
    }
}