/* ============================================================================
   YESHUA, THE EVERLASTING FATHER - BOOK WEBSITE
   Clean, Elegant, Mobile-Responsive Design
   ============================================================================ */

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafaf8;
    font-size: 16px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Trebuchet MS', 'Arial', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

p {
    margin-bottom: 1rem;
}

p.lead {
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 1.5rem;
}

a {
    color: #8b7355;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5d4e37;
}

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

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

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

/* NAVIGATION */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-text {
    font-family: 'Trebuchet MS', 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

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

.nav-links a {
    font-family: 'Trebuchet MS', 'Arial', sans-serif;
    font-weight: 600;
    color: #2c2c2c;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8b7355;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: 'Trebuchet MS', 'Arial', sans-serif;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #5d4e37;
    color: #fff;
}

.btn-primary:hover {
    background-color: #3d2e17;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 78, 55, 0.3);
}

.btn-secondary {
    background-color: #d4af85;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background-color: #c9a06f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 133, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #5d4e37;
    border: 2px solid #5d4e37;
}

.btn-outline:hover {
    background-color: #5d4e37;
    color: #fff;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #fafaf8 0%, #f5f3f0 100%);
    padding: 6rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #8b7355;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

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

.book-cover:hover {
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .book-cover {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ABOUT BOOK SECTION */
.about-book {
    padding: 6rem 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text h3 {
    color: #5d4e37;
}

.learning-points {
    list-style: none;
    margin: 1.5rem 0;
}

.learning-points li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #444;
}

.learning-points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af85;
    font-weight: bold;
}

/* ABOUT AUTHOR SECTION */
.about-author {
    padding: 6rem 0;
    background-color: #fafaf8;
}

.author-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.author-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.author-text p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .author-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .author-photo {
        max-width: 250px;
        margin: 0 auto;
    }
}

/* FORMATS SECTION */
.formats {
    padding: 6rem 0;
    background-color: #fff;
}

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

.format-card {
    background-color: #fafaf8;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8e6e1;
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #d4af85;
}

.format-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.format-card h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.format-card p {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* MINISTRY CALLOUT */
.ministry-callout {
    padding: 6rem 0;
    background: linear-gradient(135deg, #5d4e37 0%, #3d2e17 100%);
    color: #fff;
    text-align: center;
}

.ministry-callout h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.ministry-callout p {
    font-size: 1.1rem;
    color: #e8e6e1;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ministry-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .ministry-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ministry-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* STUDY GUIDE SECTION */
.study-guide {
    padding: 6rem 0;
    background-color: #fff;
    text-align: center;
}

.study-guide h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.study-guide > .container > p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.study-guide-form {
    max-width: 500px;
    margin: 0 auto;
}

.study-guide-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.study-guide-form input {
    padding: 0.75rem 1rem;
    border: 1px solid #d4af85;
    border-radius: 4px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.study-guide-form input:focus {
    outline: none;
    border-color: #5d4e37;
    box-shadow: 0 0 0 3px rgba(93, 78, 55, 0.1);
}

.success-message {
    background-color: #f0f8f0;
    border: 2px solid #5d4e37;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.success-message h3 {
    color: #5d4e37;
    margin-bottom: 1rem;
}

.success-message p {
    color: #555;
    margin-bottom: 1.5rem;
}

.success-message .btn {
    margin: 0.5rem;
}

.small-text {
    font-size: 0.9rem;
    color: #999;
    margin-top: 1rem;
}

/* CONTACT SECTION */
.contact {
    padding: 6rem 0;
    background-color: #fafaf8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-form p {
    color: #666;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d4af85;
    border-radius: 4px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5d4e37;
    box-shadow: 0 0 0 3px rgba(93, 78, 55, 0.1);
}

.form-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .study-guide-form {
        max-width: 100%;
    }
}

/* FOOTER */
.footer {
    background-color: #1a1a1a;
    color: #e8e6e1;
    padding: 2rem 0;
    text-align: center;
}

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

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d4af85;
}

.footer-links a:hover {
    color: #e8e6e1;
}

.divider {
    color: #666;
}

.tagline {
    color: #d4af85;
    font-style: italic;
}

/* UTILITIES */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.85rem;
    }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* PRINT STYLES */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    body {
        background-color: #fff;
    }

    a {
        color: #000;
    }
}
