/* General Styles */
body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h3, h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

/* Header & Nav */
header {
    background: #fff;
    color: #333;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

header ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header ul li {
    margin-left: 20px;
}

header a {
    color: #333;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
#hero {
    background-color: #e8e8e1; /* Light beige/green from reference */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 2rem;
    text-align: center;
    flex-wrap: wrap;
}

#hero .hero-text {
    max-width: 500px;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
}

#hero .hero-image img {
    max-width: 250px;
    border-radius: 50%;
}

/* Latest Releases / Books Section */
.latest-releases, #stories {
    padding: 4rem 2rem;
    text-align: center;
}

.latest-releases h2, #stories h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.book-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.book {
    max-width: 400px;
}

.book img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.book h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.book p.summary {
    text-align: left;
}

/* Short Stories Section */
#stories {
    background-color: #e8e8e1;
}

.story-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.story {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    max-width: 400px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.story h3 {
    font-size: 1.5rem;
    margin-top: 0;
}

/* Footer */
footer {
    background-color: #1a2a20; /* Dark green fallback */
    background-image: url('images/texture.png');
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-info {
    text-align: left;
}

.contact-info h4 {
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.copyright p {
    font-size: 0.9rem;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0px;
}

/* Responsive */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        gap: 1rem;
    }

    header ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }
}
