/* The Janus Legacy - Dark Patriot Theme (No Gold) */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h1 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
}

.nav-logo span {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}

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

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #333;
    color: #ffffff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0 2rem;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%),
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        url('capitol-background.jpg');
    background-size: cover, 800px 800px, 600px 600px, cover;
    background-position: center, 30% 70%, 70% 30%, center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        );
    pointer-events: none;
}

.hero-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Full-Width Books Showcase */
.books-showcase {
    margin: 0 0 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.books-container {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.books-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.books-image:hover {
    transform: scale(1.01);
}

/* Description Section */
.description-section {
    margin: 2rem auto;
    max-width: 800px;
    padding: 0 2rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #e5e5e5;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.quote-section {
    margin: 1.5rem 0;
}

.quote-section blockquote {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #ffffff;
    text-align: center;
    position: relative;
    padding: 1.5rem;
    border-left: 3px solid #ffffff;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.main-description {
    font-size: 1.1rem;
    color: #e5e5e5;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Series Stats */
.series-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    padding: 2rem 2rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #374151, #1f2937);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1f2937, #111827);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* Books Overview Section */
.series-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #333;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Books Overview Section */
.books-overview {
    padding: 6rem 0;
    background: #111;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #888;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.books-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.book-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ffffff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.book-card:hover::before {
    transform: scaleY(1);
}

.book-card:hover {
    transform: translateX(10px);
    background: #222;
    border-color: #ffffff;
}

.book-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    min-width: 60px;
}

.book-info {
    flex: 1;
}

.book-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.book-info p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.book-status {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-status.available {
    color: #22c55e;
}

.book-arrow {
    font-size: 1.5rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.book-card:hover .book-arrow {
    transform: translateX(5px);
}

/* Features Section */
.features {
    padding: 0;
    background: #0a0a0a;
}

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

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

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

.newsletter h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    background: #1a1a1a;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #ffffff;
}

.email-input::placeholder {
    color: #888;
}

/* Footer */
.footer {
    background: #0a0a0a;
    border-top: 1px solid #333;
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
}

.footer-section p {
    color: #888;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .main-title {
        font-size: 3rem;
    }

    .books-image {
        max-width: 90%;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .series-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .book-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .books-image {
        max-width: 95%;
    }
}



/* Book Page Styles */
.book-hero {
    padding: 8rem 0 4rem;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%),
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        url('capitol-background.jpg');
    background-size: cover, 800px 800px, 600px 600px, cover;
    background-position: center, 30% 70%, 70% 30%, center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.book-series {
    color: #ffffff;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.book-number {
    background: #374151;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.book-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: 1px;
}

.book-tagline {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 4rem;
    font-style: italic;
    font-weight: 300;
}

.book-details-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.book-cover-section {
    position: relative;
}

.book-cover {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

.book-status-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #22c55e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.book-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.book-description h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.book-description p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.book-features h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.book-features ul {
    list-style: none;
    padding: 0;
}

.book-features li {
    color: #ccc;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
    position: relative;
    padding-left: 1.5rem;
}

.book-features li::before {
    content: "▶";
    color: #ffffff;
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.book-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Book Excerpt Section */
.book-excerpt {
    padding: 6rem 0;
    background: #111;
}

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

.excerpt-content blockquote {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #ffffff;
    border-radius: 8px;
    font-weight: 300;
}

.excerpt-attribution {
    color: #888;
    font-size: 1rem;
}

/* Series Navigation */
.series-navigation {
    padding: 6rem 0;
    background: #0a0a0a;
}

.series-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.nav-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.nav-card:hover {
    transform: translateY(-5px);
    border-color: #ffffff;
    background: #222;
}

.nav-card.current {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-card.next {
    border-color: #22c55e;
}

.nav-card.next:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.nav-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.nav-card.next .nav-number {
    color: #22c55e;
}

.nav-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.nav-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design for Book Pages */
@media (max-width: 768px) {
    .book-title {
        font-size: 2.5rem;
    }
    
    .book-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .book-cover {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .book-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .series-nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .book-title {
        font-size: 2rem;
    }
    
    .book-tagline {
        font-size: 1.1rem;
    }
    
    .excerpt-content blockquote {
        font-size: 1.2rem;
        padding: 1.5rem;
    }
}

