/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Professional Theme */
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #4a9eff;
    --text-color: #e0e0e0;
    --text-light: #a0a0a0;
    --bg-color: #0f0f0f;
    --bg-light: #1e1e1e;
    --border-color: #333333;
    --card-bg: #1a1a1a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Navigation Styles */
.navbar {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 700;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Small Social Links - Balanced and Professional */
.social-links-nav,
.social-links-footer {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.social-link-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-small:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.social-link-small svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

/* Social Media Colors - Original Brand Colors */
.social-link-small.instagram {
    color: #E4405F;
}

.social-link-small.instagram:hover {
    background: rgba(228, 64, 95, 0.15);
    border-color: #E4405F;
}

.social-link-small.twitter {
    color: #ffffff;
}

.social-link-small.twitter:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

.social-link-small.facebook {
    color: #1877F2;
}

.social-link-small.facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: #1877F2;
}

.social-link-small.reedsy {
    color: #4a9eff;
}

.social-link-small.reedsy:hover {
    background: rgba(74, 158, 255, 0.15);
    border-color: #4a9eff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: #3a8eef;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 600;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Quote Styles */
.quote {
    background: var(--bg-light);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-color);
    border-radius: 8px;
}

.quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Books Section */
.books-section {
    background: var(--bg-light);
}

.books-category {
    margin-bottom: 4rem;
}

.books-category h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 600;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.book-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.book-cover {
    margin-bottom: 1rem;
}

.book-cover img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.book-info h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.book-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.book-review-cta {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--accent-color);
    text-align: center;
}

.review-message {
    font-size: 0.85rem;
    color: var(--text-color);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.book-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.book-link:hover {
    background: #3a8eef;
}

.coming-soon {
    display: inline-block;
    padding: 8px 16px;
    background: var(--text-light);
    color: var(--bg-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: var(--bg-color);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    margin: 2rem 0;
}

.contact-email {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.contact-links {
    margin-top: 2rem;
}

.contact-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.contact-link:hover {
    background: #3a8eef;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

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

/* Random Quote Popup */
.random-quote {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--card-bg);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 8px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.random-quote.show {
    transform: translateY(0);
    opacity: 1;
}

.random-quote p {
    margin: 0;
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        gap: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .social-links-nav {
        gap: 0.4rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .social-link-small {
        width: 26px;
        height: 26px;
    }
    
    .social-link-small svg {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .random-quote {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .social-links-nav {
        gap: 0.3rem;
    }
    
    .social-link-small {
        width: 24px;
        height: 24px;
    }
    
    .social-link-small svg {
        width: 12px;
        height: 12px;
    }
}

