/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --light-text: #fff;
    --border-color: #ddd;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--light-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: 2px solid var(--secondary-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

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

.secondary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 8rem 0;
    text-align: center;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

#hero h2:after {
    display: none;
}

#hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.featured-quote {
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    padding: 1.5rem;
    border-left: 3px solid var(--secondary-color);
}

.featured-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
}

/* Book Section */
.book-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.book-image {
    flex: 1;
    min-width: 300px;
}

.placeholder-image {
    background-color: var(--border-color);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--dark-color);
    border-radius: 4px;
}

.book-cover {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.book-description {
    flex: 2;
    min-width: 300px;
}

.key-benefits, .praise {
    margin-bottom: 3rem;
}

.testimonial {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
}

/* Author Section */
.author-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.author-image {
    flex: 1;
    min-width: 250px;
}

.author-bio {
    flex: 2;
    min-width: 300px;
}

/* Content Section */
.table-of-contents {
    margin-bottom: 3rem;
}

.table-of-contents ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

.table-of-contents ol > li {
    counter-increment: item;
    margin-bottom: 1.5rem;
}

.table-of-contents ol > li:before {
    content: counter(item) ". ";
    font-weight: bold;
}

.table-of-contents ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.excerpt {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* Resources Section */
.resource-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.resource-category {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

/* Events Section */
.upcoming-events, .speaking-topics, .request-speaker {
    margin-bottom: 3rem;
}

/* Blog Section */
.blog-post {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.post-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Community Section */
.community-options {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.community-option {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-align: center;
}

.share-story {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-form, .newsletter-signup {
    flex: 1;
    min-width: 300px;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo, .social-links, .footer-nav {
    flex: 1;
    min-width: 200px;
}

.footer-logo h3 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.social-links h4, .footer-nav h4 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.social-links ul, .footer-nav ul {
    list-style: none;
    padding-left: 0;
}

.social-links ul li, .footer-nav ul li {
    margin-bottom: 0.5rem;
}

.social-links ul li a, .footer-nav ul li a {
    color: var(--light-text);
    opacity: 0.8;
}

.social-links ul li a:hover, .footer-nav ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom ul {
    display: flex;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.footer-bottom ul li {
    margin-left: 1.5rem;
}

.footer-bottom ul li a {
    color: var(--light-text);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem 0.5rem;
    }
    
    #hero {
        padding: 5rem 0;
    }
    
    #hero h2 {
        font-size: 2.25rem;
    }
    
    .book-content, .author-content, .resource-categories, .community-options, .contact-options {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom ul {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .footer-bottom ul li {
        margin: 0 0.75rem;
    }
}

.author-photo {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow);
}
