/* General Styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.5rem;
    text-align: center;
}

/* Hero Section */
.hero {
    background: url('../images/hero-image.jpg') no-repeat center center/cover;
    height: 74vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}
.hero h1 {
    font-size: 2.5em;
}
.hero p {
    font-size: 1.2em;
}
.btn {
    display: inline-block;
    background-color: #d35400;
    color: white;
    padding: 10px 20px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}
.btn:hover {
    background-color: #a04000;
}

/* About the Author Hero Section with Floating Portrait */
.author-hero {
    background: url('../images/tybee-lighthouse-blurred.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 38%);
    position: relative;
    padding: 100px 20px;
    margin: 60px 0 60px;
}
.author-hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
}
.author-hero h2 {
    font-size: 2em;
    margin-top: 20px;
}
.floating-portrait {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 4px solid white;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Content Sections */
.content-section {
    padding: 50px 20px;
    background: white;
    margin: 60px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

/* Featured Book Image Section */
.featured-image {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}
.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Fade effect on linked images */
a img:hover {
    opacity: 0.88;
}

/* Footer */
footer {
    background: #343434;
    color: white;
    padding: 20px 0 60px;
    margin-top: 60px;
}
footer nav a {
    color: #d3d3d3;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer nav a:hover {
    color: #87CEEB;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
        line-height: 2.5rem;
    }
    .hero p {
        font-size: 1em;
    }
    .btn {
        padding: 8px 16px;
    }
    .author-hero {
        padding: 60px 20px;
    }
    .floating-portrait {
        max-width: 200px;
    }
    .content-section {
        padding: 30px 15px;
    }
    .featured-image {
        padding: 10px;
    }
}
