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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2c3e50;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 200px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('background_header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 750px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: center;
    color: #fff;
    padding-top: 120px;
    padding-right: 400px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 300;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Main Quote Section */
.main-quote {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.main-quote h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.4;
}

.bible-ref {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

/* Book Section */
.book-section {
    background-color: #fff;
    padding: 60px 20px;
}

.book-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.book-image img {
    max-width: 300px;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.book-text {
    text-align: center;
}

.book-label {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

.book-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1.1rem;
}

.book-link:hover {
    background-color: #2980b9;
}

/* Quote Section */
.quote-section {
    background-color: #ecf0f1;
    padding: 80px 20px;
}

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

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
}

/* Info Cards Section */
.info-cards {
    background-color: #fff;
    padding: 80px 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.card-link:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.footer-content p {
    margin: 15px 0;
    line-height: 1.6;
}

.footer-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #5dade2;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Contact Page */
.contact-page {
    background-color: #d5dce0;
    padding: 80px 20px;
    min-height: 70vh;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-verse {
    background-color: #d5dce0;
    padding: 40px 35px;
    border-radius: 8px;
    text-align: center;
}

.verse-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 25px;
    text-align: center;
}

.verse-reference {
    font-size: 1.1rem;
    color: #555;
    font-weight: 600;
}

.contact-info {
    text-align: center;
    padding: 40px 20px;
}

.contact-label {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
}

.contact-email {
    font-size: 1.5rem;
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-email:hover {
    color: #2980b9;
}

/* Content Pages */
.content-page {
    background-color: #fff;
    padding: 80px 20px;
    min-height: 70vh;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.content-wrapper h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.content-text a:hover {
    color: #2980b9;
}

/* Resource List */
.resource-list {
    margin-top: 40px;
}

.resource-item {
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.resource-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.resource-item h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.resource-item h4 a:hover {
    color: #3498db;
}

.resource-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Download Page */
.download-page {
    background-color: #fff;
    padding: 80px 20px;
    min-height: 70vh;
}

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

.download-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

.download-box {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.book-cover img {
    max-width: 350px;
    height: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.download-info {
    max-width: 400px;
    text-align: left;
}

.download-info h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.download-info h4 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 25px;
    font-weight: 400;
}

.download-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.download-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.download-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Card Images */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: -40px -30px 20px -30px;
    width: calc(100% + 60px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        align-items: center;
        justify-content: center;
        padding-top: 0;
        padding-right: 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .main-quote h3 {
        font-size: 1.5rem;
    }
    
    .book-content {
        flex-direction: column;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
