/* Base Styles */
:root {
    --primary-color: #2a0a31;
    --secondary-color: #6b1b5c;
    --accent-color: #c9a227;
    --text-light: #f8f0ff;
    --text-dark: #1a1a1a;
    --background-dark: #120417;
    --background-light: #f5f5f7;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Header Styles */
header {
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
    padding: 60px 20px;
    background-image: linear-gradient(rgba(18, 4, 23, 0.85), rgba(18, 4, 23, 0.85)), url('images/header-bg.jpg');
    background-size: cover;
    background-position: center;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    color: var(--accent-color);
}

.header-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.author {
    font-size: 1.2rem;
    font-style: italic;
}

/* Hero Section */
.hero {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.book-display {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.book-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: 600px;
    background-image: url('images/book-cover.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.book-cta {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 20px;
}

.book-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e0b52d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Book Description */
.book-description {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.book-description h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.description-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.description-text {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
}

.description-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: block;
    text-align: right;
    font-weight: 700;
    color: var(--accent-color);
}

/* About Author */
.about-author {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.about-author h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.author-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.author-text {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
}

.author-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Autograph Section */
.autograph-section {
    padding: 80px 20px;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.autograph-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.autograph-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.autograph-info {
    max-width: 800px;
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.autograph-info p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.price {
    font-size: 1.8rem !important;
    font-weight: 700;
    color: var(--accent-color);
    margin: 25px 0 !important;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
}

.autograph-button {
    margin-top: 10px;
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.autograph-button:hover {
    background-color: #e0b52d;
}

/* Book Club Section */
.book-club-section {
    padding: 80px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.book-club-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.book-club-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-club-info {
    max-width: 800px;
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.book-club-info p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.signup-form {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.email-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
}

.signup-button {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.signup-button:hover {
    background-color: #e0b52d;
}

.form-note {
    font-size: 0.9rem !important;
    font-style: italic;
    opacity: 0.8;
    margin-top: 10px;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 40px 20px;
    text-align: center;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content h2 {
        font-size: 1.5rem;
    }
    
    .book-cta h2, .cta-section h2, .autograph-section h2, .book-club-section h2 {
        font-size: 2rem;
    }
    
    .book-description h2, .testimonials h2, .about-author h2 {
        font-size: 1.8rem;
    }
    
    .tagline, .cta-section p, .autograph-info p, .book-club-info p {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.5rem !important;
    }
    
    .signup-form {
        flex-direction: column;
        width: 100%;
    }
    
    .email-input {
        width: 100%;
        margin-bottom: 10px;
    }
}
