/*
Theme Name: Narrow Gate House Theme
Template: extendable
Theme URI: https://narrowgatehouse.com
Author: Narrow Gate House Publishers
Description: Custom theme for Narrow Gate House Publishers
Version: 1.0
*/

body {
    font-family: Georgia, "Times New Roman", serif;
    background: #f7f5f0;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.site-logo img {
    max-width: 140px;
    height: auto;
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    display: inline-block;
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: bold;
}



.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 160px 20px;
    text-align: center;
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero h1,
.hero p {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: normal;
}

.hero p {
    font-size: 1.2rem;
    font-style: italic;
}




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

.book-card {
    background: white;
    padding: 20px;
    border: 1px solid #e2e2e2;
}

.book-card img {
    width: 100%;
    height: auto;
}

.button {
    display: inline-block;
    background: #6A7A8B;
    color: white;
    padding: 10px 16px;
    margin-top: 10px;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 40px;
    margin-top: 60px;
    border-top: 1px solid #ddd;
}

.book-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
}

.book-cover img {
    max-width: 320px;
    height: auto;
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.book-details h1 {
    font-family: Georgia, serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.book-author {
    font-style: italic;
    margin-bottom: 20px;
}

.book-description {
    margin-top: 20px;
    line-height: 1.7;
}

.buy-button a {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 22px;
    background: #2f3e2f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.buy-button a:hover {
    background: #445944;
}

.ngh-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}