/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    padding-top: 80px; /* Account for fixed header */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: #c41e3a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8b0000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffd700;
}

.cta-button {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
}

.cta-button:hover {
    background: linear-gradient(135deg, #8b0000 0%, #c41e3a 100%);
    color: white !important;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Constitutional Crisis Alert */
.crisis-alert {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.alert-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.alert-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.alert-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.alert-button {
    background: white;
    color: #c41e3a;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.alert-button:hover {
    background: #ffd700;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: center;
    order: 1;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    order: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    color: #ffd700;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    color: #e2e8f0;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cta-primary {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: white;
    color: #1a365d;
}

.book-showcase {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.book-cover {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: translateY(-5px);
}

.book-cover.featured {
    width: 140px;
    transform: scale(1.1);
}

.maya-character {
    text-align: center;
}

.character-img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Series Section */
.series-section {
    background: white;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.book-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.book-image {
    position: relative;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.book-cover-large {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.book-cover-large:hover {
    transform: scale(1.05);
}

.book-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c41e3a;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.book-content {
    padding: 30px;
}

.book-title {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.book-date {
    color: #c41e3a;
    font-weight: bold;
    margin-bottom: 15px;
}

.book-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.book-themes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.theme-tag {
    background: #e9ecef;
    color: #495057;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.book-cta {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.book-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Character Section */
.character-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.character-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.character-image {
    text-align: center;
}

.character-portrait {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.character-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.character-name {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.character-title {
    color: #c41e3a;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.character-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.character-traits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.trait h4 {
    color: #1a1a2e;
    margin-bottom: 8px;
}

.trait p {
    color: #666;
    font-size: 0.95rem;
}

/* Educational Section */
.educational-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 80px 0;
}

.educational-section .section-title {
    color: white;
}

.educational-section .section-subtitle {
    color: #e2e8f0;
}

.educational-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.educational-image {
    text-align: center;
}

.educational-books {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.educational-info h3 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 20px;
}

.educational-info p {
    color: #e2e8f0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.educational-list {
    list-style: none;
    margin-bottom: 20px;
}

.educational-list li {
    color: #e2e8f0;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.educational-list li:before {
    content: "📚";
    position: absolute;
    left: 0;
}

.educational-list strong {
    color: #ffd700;
}

/* Author Section */
.author-section {
    background: white;
    padding: 80px 0;
}

.author-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.author-image {
    text-align: center;
}

.author-portrait {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.author-info {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.author-name {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.author-title {
    color: #c41e3a;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.author-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.author-mission h3,
.author-expertise h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

.author-mission p {
    color: #666;
    margin-bottom: 20px;
}

.author-expertise ul {
    list-style: none;
}

.author-expertise li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.author-expertise li:before {
    content: "✓";
    color: #c41e3a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Buy Section */
.buy-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.buy-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.buy-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.buy-card:hover {
    transform: translateY(-5px);
}

.buy-card.featured {
    border: 3px solid #c41e3a;
    transform: scale(1.05);
}

.buy-card h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #c41e3a;
}

.price-note {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.features li:before {
    content: "✓";
    color: #c41e3a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.buy-button {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

.buy-button.primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
}

.urgency-message {
    text-align: center;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
}

.urgency-message p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: #e2e8f0;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-button {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.newsletter-privacy {
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #ffd700;
    margin-bottom: 20px;
}

.footer-section p {
    color: #e2e8f0;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1a1a2e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        flex-direction: column;
        gap: 20px;
    }

    .book-showcase {
        gap: 10px;
    }

    .book-cover {
        width: 80px;
    }

    .book-cover.featured {
        width: 100px;
    }

    .character-img {
        width: 150px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .series-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .character-content,
    .educational-content,
    .author-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .character-portrait,
    .author-portrait {
        width: 250px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .alert-title {
        font-size: 1.4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 769px) {
    .hero-container {
        grid-template-columns: 2fr 1fr;
    }
    
    .hero-content {
        text-align: left;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .series-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #c41e3a;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

