/* R J Samuel - Author Website Styles */
/* Elegant, literary, modern design */

:root {
    --navy: #1a2744;
    --navy-light: #2d3e5f;
    --teal: #2a8a8a;
    --teal-light: #a3d9d9;
    --teal-dark: #1d6b6b;
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --text: #333;
    --text-light: #666;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text);
    background: var(--white);
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--navy);
}

h3 {
    font-size: 1.3rem;
}

em {
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--white);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: 0.02em;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s ease;
}

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

nav a:hover,
nav a.active {
    color: var(--navy);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--navy);
    margin: 6px 0;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;

    /* CHANGE THIS */
    grid-template-columns: minmax(320px, 600px) minmax(280px, 420px);
    justify-content: center;
    column-gap: 4rem;

    align-items: center;
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

/*
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}
*/
.hero-content {
    max-width: 600px;
}

.award-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--teal);
    color: var(--navy);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.award-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.award-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0.3rem 0;
}

.award-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-style: italic;
}

.hero h1 {
    color: var(--navy);
    margin-bottom: 1.5rem;

}

.hero h1 em {
    color: var(--teal);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: flex-start; /* was center */
    align-items: center;
}

/*
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
*/
.hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
section {
    padding: 6rem 5%;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
}

/* Featured Books */
.featured-books {
    background: var(--white);
    text-align: center;
}

.featured-books h2 {
    margin-bottom: 1rem;
}

/* Book Carousel */
.book-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 50px;
}

.book-carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.book-slide {
    flex: 0 0 33.333%;
    padding: 0 1rem;
    text-decoration: none;
    color: var(--text);
}

.book-slide-inner {
    background: var(--cream);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-slide:hover .book-slide-inner {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}


.book-cover {
    width: 180px;
    aspect-ratio: 2 / 3;   /* standard book cover ratio */
    margin: 0 auto 1rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* KEY CHANGE */
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/*
.book-slide img {
    width: 100%;
    max-width: 180px;
    height: 270px;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 0 auto 1rem;
    display: block;
}
*/
.book-buy-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.book-buy-btn {
    background: var(--cream);
    color: var(--navy);
    border: 1px solid var(--cream-dark);
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
    text-decoration: none;
        white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.book-buy-btn:hover {
    background: var(--navy);
    color: var(--cream);
}

/*
.book-buy-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: var(--teal);
    color: var(--navy);
    text-decoration: none;
    transition: background 0.3s ease;
}

.book-buy-btn:hover {
    background: var(--teal);
}
    */

.book-slide-info {
    text-align: left;
    padding-top: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-award {
    display: inline-block;
    font-size: 0.75rem;
    background: var(--cream-dark);
    color: var(--navy);
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.5rem;
}

.book-slide h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.book-slide .book-year {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.book-tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--teal);
    color: var(--navy);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cream-dark);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: var(--navy);
}

/* Reviews Carousel Section */
.reviews-section {
    background: var(--cream);
    text-align: center;
    padding: 5rem 5%;
}

.reviews-section h2 {
    margin-bottom: 0.5rem;
}

.reviews-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 50px;
}

.reviews-carousel {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    flex: 0 0 100%;
    padding: 0 2rem;
}

.review-slide blockquote {
    background: var(--white);
    padding: 3rem;
    border-left: 4px solid var(--teal);
    text-align: left;
    position: relative;
}

.review-slide blockquote p {
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.review-slide blockquote cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.review-slide .review-book {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--teal-dark);
    background: var(--teal-light);
    padding: 0.3rem 0.8rem;
    font-style: italic;
}

.review-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.review-btn:hover {
    background: var(--teal);
}

.review-btn.prev {
    left: 0;
}

.review-btn.next {
    right: 0;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cream-dark);
    cursor: pointer;
    transition: background 0.3s ease;
}

.reviews-dot.active {
    background: var(--teal);
}

/* Bookshelf */
/* Bookshelf Cleaned & Fixed */

.shelf-wrapper {
    position: relative;
    width: 100%;
    margin-top: 60px; /* Space between text and books */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    clear: both; 
}

/* Force the hero section to stack elements vertically so they don't overlap */
.hero {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    padding-bottom: 50px;
}

.hero-buttons {
    display: flex;
    justify-content: center; /* Centers the buttons horizontally */
    gap: 20px;               /* Adds space between the two buttons */
    margin-top: 30px;        /* Adds space between the tagline and the buttons */
    margin-bottom: 40px;     /* Adds space between the buttons and the bookshelf */
    width: 100%;             /* Ensures the container takes up the full width */
}

/* Optional: Ensures buttons look consistent on mobile */
@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column; /* Stacks buttons on top of each other on small phones */
        align-items: center;
    }
}


.shelf-grid {
    display: flex;
    flex-wrap: wrap; /* Allows books to drop to next line on small screens */
    justify-content: center;
    gap: 15px;
    perspective: 1500px;
    z-index: 2;
    padding: 0 20px;
}

.shelf-item {
    width: 100px;
    height: 150px;
    position: relative;
    margin-bottom: 20px; /* Space for the ledge if it wraps */
}

.shelf-book {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-20deg); 
    transition: transform 0.5s ease;
}

.shelf-item:hover .shelf-book {
    transform: rotateY(0deg) translateZ(50px) translateY(-20px);
}

.shelf-front {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: translateZ(10px);
}

.shelf-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 2px 5px 10px rgba(0,0,0,0.3);
}

.shelf-spine {
    position: absolute;
    width: 15px;
    height: 100%;
    left: 0;
    background: #c2bcbc;
    transform: rotateY(-90deg);
    transform-origin: left;
}

.shelf-side {
    position: absolute;
    width: 15px;
    height: 100%;
    right: -7px;
    background: linear-gradient(to right, #ddd, #fff, #ddd);
    transform: rotateY(90deg);
}

/* THE WOODEN SHELF BOARD */
.shelf-ledge {
    width: 80%; /* Stretches to cover the books */
    max-width: 1100px;
    height: 12px;
    background: #8d6850; 
    border-bottom: 5px solid #291d15;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    margin-top: -10px; /* Sits directly under the books */
    z-index: 1;
    border-radius: 4px;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .shelf-grid {
        gap: 10px;
    }
    .shelf-item {
        width: 80px;
        height: 120px;
    }
    .shelf-ledge {
        width: 95%;
    }
}

/* end Bookshelf */



/* second 3d book */
 .book-wrapper {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    padding: 20px;
  }

  .book-3d {
    width: 250px;
    height: 375px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-25deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
  }

  /* Interactive Hover Effect */
  .book-3d:hover {
    transform: rotateY(-10deg) rotateX(0deg) scale(1.05);
  }

  .face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
  }

  .front {
    transform: translateZ(15px); /* Thickness of the book */
    z-index: 2;
  }

  .front img {
    width: 100%;
    height: 100%;
    border-radius: 2px 4px 4px 2px;
    box-shadow: inset -3px 0 5px rgba(0,0,0,0.2);
  }

  .spine {
    width: 30px; /* Book Thickness */
    left: -15px;
    background: #0f141a; /* Dark color matching your roses */
    transform: rotateY(-90deg);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  }

  .pages {
    width: 30px;
    right: -15px;
    background: linear-gradient(to right, #eee, #fff 10%, #eee 20%, #fff 30%); /* Mimics paper edges */
    transform: rotateY(90deg);
  }

  /* Shadow on the banner */
  .book-3d::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 5%;
    width: 90%;
    height: 20px;
    background: rgba(0,0,0,0.4);
    filter: blur(15px);
    border-radius: 50%;
    transform: rotateX(90deg);
  }

/* end second 3d book */

/* 3d book */


  .book-container {
    perspective: 1000px;
    display: inline-block;
  }

  .book-3d {
    width: 280px; /* Adjust size to fit your banner */
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-25deg); /* This creates the 3D angle */
    transition: transform 0.5s ease;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.5);
  }

  .book-3d:hover {
    transform: rotateY(-10deg) scale(1.05); /* Tilts toward user on hover */
  }

  .book-3d img {
    width: 100%;
    height: 100%;
    border-radius: 2px 5px 5px 2px;
  }

  /* Adding a "Spine" effect */
  .book-3d::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 100%;
    left: -20px;
    background: #222; /* Color of the spine */
    transform: rotateY(-90deg);
    transform-origin: right;
  }





/* end 3d book */






@media (max-width: 768px) {
    .review-slide {
        padding: 0 1rem;
    }
    
    .review-slide blockquote {
        padding: 2rem;
    }
    
    .review-slide blockquote p {
        font-size: 1rem;
    }
    
    .reviews-carousel-container {
        padding: 0 40px;
    }
}

/* Keep old Goodreads styles for fallback */
/* Goodreads Section */
.goodreads-section {
    background: var(--cream);
    text-align: center;
    padding: 5rem 5%;
}

.goodreads-section h2 {
    margin-bottom: 0.5rem;
}

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

.goodreads-widget {
    background: var(--white);
    padding: 1.5rem;
    text-align: left;
}

.goodreads-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
}

.gr-widget-container {
    min-height: 400px;
}

.gr-widget-container iframe {
    border: none;
}

.gr-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.gr-link:hover {
    color: var(--teal);
}

/* Keep old books-grid for fallback */
.books-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.book-card {
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
}

.book-card img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}

.book-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.book-card .book-year {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* New Release */
.new-release {
    background: var(--navy);
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.release-label {
    display: inline-block;
    background: var(--teal);
    color: var(--navy);
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.new-release h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.release-achievement {
    color: var(--teal);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.new-release p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.new-release .btn-primary {
    background: var(--teal);
    color: var(--navy);
    border-color: var(--teal);
}

.new-release .btn-primary:hover {
    background: var(--teal-light);
    border-color: var(--teal-light);
}

.release-image {
    display: flex;
    justify-content: center;
}

.book-cover-placeholder {
    width: 250px;
    height: 380px;
    background: linear-gradient(135deg, #8b5a8c 0%, #5c3d5e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.book-cover-placeholder .author {
    font-size: 1rem;
    font-style: italic;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Free Story Signup */
/* Container for the whole section */
.free-story {
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-content {
    max-width: 800px; /* Keeps text from getting too wide */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything inside */
}

/* Center the 3D Book Image */
.release-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0; /* Space above and below the book */
}

/* Re-using the 3D book styles but ensuring it doesn't break layout */
.book-wrapper {
    perspective: 1200px;
}

.book-3d {
    width: 220px; /* Adjusted size for this section */
    height: 330px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-20deg);
}

/* Fix the Form layout below the book */
.signup-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between input and button */
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

.signup-form input[type="name"] {
    flex: 1; /* Allows input to grow */
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    max-width: 350px;
}

.signup-form input[type="email"] {
    flex: 1; /* Allows input to grow */
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    max-width: 350px;
}

.signup-form .btn-primary {
    padding: 12px 25px;
    white-space: nowrap; /* Prevents button text from wrapping */
}

.privacy-note {
    font-size: 14px;
    color: #666;
}

/* Mobile Fix: Stack form on top of each other */
@media (max-width: 600px) {
    .signup-form {
        flex-direction: column;
        width: 100%;
    }
     .signup-form input[type="name"], 
    .signup-form input[type="email"], 
    .signup-form .btn-primary {
        width: 100%;
        max-width: 100%;
    }
}

/* Praise Section */
.praise {
    background: var(--white);
    text-align: center;
}

.praise h2 {
    margin-bottom: 3rem;
}

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

.praise blockquote {
    padding: 2rem;
    background: var(--cream);
    border-left: 4px solid var(--teal);
}

.praise blockquote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.praise cite {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: normal;
}

/* About Teaser */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.about-teaser h2 {
    margin-bottom: 1.5rem;
}

.about-teaser p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Also By Section */
.also-by {
    background: var(--cream-dark);
    text-align: center;
}

.also-by h2 {
    margin-bottom: 3rem;
}

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

.also-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.also-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.also-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.also-card h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.also-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-connect h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--teal);
}

.footer-links a,
.footer-connect a {
    display: block;
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    margin-bottom: 0.75rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-connect a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .praise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-tagline {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-image img {
        max-width: 280px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    .new-release {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .release-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .about-teaser {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        display: flex;
        justify-content: center;
    }
    
    .also-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .goodreads-grid {
        grid-template-columns: 1fr;
    }
    
    .book-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }
    
    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        font-size: 1.5rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section {
        padding: 4rem 5%;
    }
    
    .signup-form {
        flex-direction: column;
        align-items: center;
    }
    
    .signup-form input {
        min-width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .award-badge {
        padding: 0.75rem 1rem;
    }
    
    .award-year {
        font-size: 1.2rem;
    }
    
    .book-slide {
        flex: 0 0 100%;
    }
    
    .book-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}
