/* Import Josephin Sans font */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary: #422504;
    --secondary: #DABF75;
    --secondary-dark: #A8904F;

    --accent: #e67e22;
    --light: #ecf0f1;
    --dark: #422504;
    --text: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 40px;
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo p {
    font-size: 14px;
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: white;
}

/* Hero Section */
.hero {
    background-image: url('/api/placeholder/1920/600');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(66, 37, 4, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.book-mockup {
    max-width: 500px;
    margin: 0 auto;
}

.book-mockup img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #e6cb81;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: rgba(66, 37, 4, 0.8);
    color: var(--secondary);
}

/* Featured Book */
.featured-book {
    padding: 80px 0;
    background-color: #f8f5ea;
}

.book-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.book-image {
    flex: 1;
    text-align: center;
}

.book-image img {
    max-width: 300px;
    box-shadow: 0 10px 20px rgba(66, 37, 4, 0.3);
    border: 1px solid var(--secondary);
}

.new-badge {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: -10px;
    right: -10px;
}

.book-details {
    flex: 1;
}

.book-details h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
}

.book-details h4 {
    font-size: 18px;

    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-dark);
}

.book-details ul {
    margin: 20px 0;
    padding-left: 20px;
}

.book-details ul li {
    margin-bottom: 10px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0;
}

/* Value Props */
.value-prop {
    background-color: var(--light);
    padding: 60px 0;
}

.value-prop h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-family: 'Josefin Sans', sans-serif;
    color: var(--primary);
}

.value-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
}

.value-column {
    flex: 1;
}

.value-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.value-column h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Upcoming Books */
.upcoming {
    padding: 80px 0;
}
.download-link {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.download-link:hover {
    background-color: #e6cb81;
}
.upcoming h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-family: 'Josefin Sans', sans-serif;
    color: var(--primary);
}

.upcoming-books {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.upcoming-book {
    flex: 1;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.upcoming-book:hover {
    transform: translateY(-10px);
}

.upcoming-book img {
    max-width: 180px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Book Showcase */
.book-showcase {
    padding: 80px 0;
    background-color: var(--light);
}
/* Sources Section */
.sources {
    padding: 80px 0;
}

.sources h2 {
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.sources-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}


.source-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.source-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.source-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.source-header {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 15px 20px;
}

.source-header h3 {
    font-family: 'Josefin Sans', sans-serif;
    margin-bottom: 5px;
}

.source-header p {
    font-size: 14px;
    opacity: 0.8;
}

.source-body {
    padding: 20px;
}

.source-body p {
    margin-bottom: 20px;
}

.upcoming-book h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.upcoming-book p {
    margin-bottom: 15px;
    font-size: 14px;
}

.notify-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.notify-btn:hover {
    background-color: #e6cb81;
}

/* Newsletter */
.newsletter {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
    font-family: 'Josefin Sans', sans-serif;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.email-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.email-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 3px 0 0 3px;
    font-size: 16px;
}

.email-form button {
    padding: 12px 25px;
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 28px;
    font-family: 'Josefin Sans', sans-serif;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--secondary);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    padding: 0 15px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-family: 'Josefin Sans', sans-serif;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #DABF75;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .book-content, .value-columns, .upcoming-books, .about-content, .footer-content {
        flex-direction: column;
    }

    .book-image, .value-column, .upcoming-book, .about-text, .about-image, .footer-column {
        margin-bottom: 30px;
    }

    .header-content {
        flex-direction: column;
        padding: 15px 0;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
        padding: 0 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .book-mockup {
        padding: 0 15px;
    }

    .book-details {
        padding: 0 15px;
        text-align: center;
    }

    .email-form {
        flex-direction: column;
        padding: 0 15px;
    }

    .email-form input {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 3px;
    }

    .email-form button {
        width: 100%;
        border-radius: 3px;
    }
}


.hero {
    background-image: url('/img/astrophoto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; /* Make text readable on dark backgrounds */
    padding: 100px 0;
    text-align: center;
}


/** UPCOMING ELEMENTS **/
/* Page Title */
.upcoming-page-title {
    background-color: var(--light);
    padding: 50px 0;
    text-align: center;
}

.upcoming-page-title h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.upcoming-page-title p {
    max-width: 800px;
    margin: 0 auto;
}

/* Upcoming Book Sections - Alternating Layout */
.upcoming-book-section {
    padding: 80px 0;
    border-bottom: 1px solid #e5e5e5;
}

.upcoming-book-section:last-child {
    border-bottom: none;
}

.upcoming-book-section:nth-child(even) {
    background-color: var(--light);
}

.upcoming-book-content {
    position: relative;
    overflow: hidden; /* Clearfix for floated elements */
}

.upcoming-book-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Left-aligned image (default) */
.upcoming-book-image {
    float: left;
    width: 250px;
    margin: 0 30px 20px 0;
    text-align: center;
}

/* Right-aligned image (for even sections) */
.upcoming-book-section:nth-child(even) .upcoming-book-image {
    float: right;
    margin: 0 0 20px 30px;
}

.upcoming-book-image img {
    max-width: 100%;
    box-shadow: 0 10px 20px rgba(66, 37, 4, 0.3);
    border: 1px solid var(--secondary);
}

.upcoming-book-details {
    overflow: hidden; /* Makes content wrap around the floated image */
}

.upcoming-book-details h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
}

.upcoming-book-details h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--secondary-dark);
}

.upcoming-release-date {
    display: inline-block;
    background-color: var(--primary);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.upcoming-book-details ul {
    margin: 20px 0;
    padding-left: 20px;
}

.upcoming-book-details ul li {
    margin-bottom: 10px;
}

/* Notification Box */
.upcoming-notify-container {
    margin-top: 30px;
    background-color: rgba(66, 37, 4, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.upcoming-notify-container h5 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

.upcoming-email-form {
    display: flex;
    gap: 10px;
}

.upcoming-email-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.upcoming-email-form button {
    padding: 12px 25px;
    background-color: var(--secondary);
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
}

.upcoming-email-form button:hover {
    background-color: #e6cb81;
}

/* Features List */
.upcoming-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.upcoming-feature-item {
    background-color: white;
    border-radius: 4px;
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.upcoming-feature-icon {
    color: var(--secondary);
    font-size: 20px;
}

/* Quote Box */
.upcoming-quote-box {
    background-color: rgba(218, 191, 117, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
}

.upcoming-quote-box::before {
    content: '"';
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--secondary);
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.upcoming-quote-text {
    font-style: italic;
    padding-left: 30px;
}

.upcoming-quote-source {
    text-align: right;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary);
}

/* Mobile adjustments for new elements */
@media (max-width: 768px) {
    .upcoming-book-image {
        float: none;
        width: 100%;
        margin: 0 0 30px 0;
    }

    .upcoming-book-section:nth-child(even) .upcoming-book-image {
        float: none;
        margin: 0 0 30px 0;
    }

    .upcoming-features-list {
        flex-direction: column;
    }

    .upcoming-email-form {
        flex-direction: column;
    }

    .upcoming-email-form input {
        width: 100%;
        margin-bottom: 10px;
    }

    .upcoming-email-form button {
        width: 100%;
    }
}




/* Page Title */
.about-page-title {
    background-color: var(--light);
    padding: 50px 0;
    text-align: center;
}

.about-page-title h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-page-title p {
    max-width: 800px;
    margin: 0 auto;
}

/* Mission Section */
.about-mission {
    padding: 80px 0;
    background-color: white;
}

.about-mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-mission-text {
    flex: 3;
}

.about-mission-text h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-mission-text p {
    margin-bottom: 20px;
}

.about-mission-image {
    flex: 2;
    text-align: center;
}

.about-mission-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(66, 37, 4, 0.2);
}

/* Our Process Section */
.about-process {
    padding: 80px 0;
    background-color: var(--light);
}

.about-process h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary);
    text-align: center;
}

.about-process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 40px 0;
}

.about-process-step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.about-process-step::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
}

.about-process-step:last-child::after {
    display: none;
}

.about-step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--primary);
    color: var(--secondary);
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 15px;
}

.about-process-step h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Team Section */
.about-team {
    padding: 80px 0;
    background-color: white;
}

.about-team h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary);
    text-align: center;
}

.about-team-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.about-team-member {
    width: calc(33.33% - 20px);
    min-width: 250px;
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-member-photo {
    height: 200px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.about-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-member-info {
    padding: 20px;
}

.about-member-info h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary);
}

.about-member-title {
    color: var(--secondary-dark);
    font-style: italic;
    margin-bottom: 15px;
    display: block;
}

/* Contact Form Section */
.about-contact {
    padding: 80px 0;
    background-color: var(--light);
}

.about-contact h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary);
    text-align: center;
}

.about-contact-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-contact-form {
    flex: 3;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-contact-info {
    flex: 2;
}

.about-form-group {
    margin-bottom: 20px;
}

.about-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.about-form-group input,
.about-form-group textarea,
.about-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
}

.about-form-group input:focus,
.about-form-group textarea:focus,
.about-form-group select:focus {
    border-color: var(--secondary);
    outline: none;
}

.about-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.about-submit-btn {
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.about-submit-btn:hover {
    background-color: #e6cb81;
}

.about-contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.about-contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.about-contact-details {
    flex: 1;
}

.about-contact-details h4 {
    margin-bottom: 5px;
    color: var(--primary);
    font-family: 'Josefin Sans', sans-serif;
}
.logo-link {
    text-decoration: none;
    display: inline-block;
    color: inherit;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .about-mission-content,
    .about-process-steps,
    .about-contact-content {
        flex-direction: column;
    }

    .about-mission-image {
        order: -1;
        margin-bottom: 30px;
    }

    .about-process-step {
        margin-bottom: 30px;
    }

    .about-process-step::after {
        content: "↓";
        right: 50%;
        bottom: -25px;
        top: auto;
        transform: translateX(50%);
    }

    .about-team-member {
        width: 100%;
    }

    .about-contact-info {
        margin-top: 40px;
    }
}





.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-content input {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.modal-content button[type="submit"] {
    padding: 0.5rem;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.about-contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-contact-details li {
    margin-bottom: 0.5rem; /* Adjust spacing between items */
}

.about-contact-details a {
    text-decoration: none;
    color: inherit; /* Or set a specific color if needed */
}

.about-contact-details a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .header-content {
        padding: 10px 0;
    }

    .logo-icon {
        height: 30px;
        margin-right: 10px;
    }

    .logo h1 {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
}