:root {
    /* Color Palette - Easy to change */
    --primary-color: #2c3e50;    /* Dark Blue-Grey for headers */
    --accent-color: #c0392b;     /* Deep Red for buttons/links */
    --text-color: #333333;       /* Standard dark grey for text */


	--off-white: #f8eada;        /* Off-white pinkish, paper-like */
    --white: #f0f0f0;
    --light-grey: #ecf0f1;
    
    /* Typography */
    --font-heading: 'Merriweather', serif;  /* Classic look for authors */
    --font-body: 'Open Sans', sans-serif;   /* Clean look for reading */
    
    /* Spacing */
    --section-padding: 60px 20px;
    --container-width: 1100px;
}




* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
	
	font-size: 20px;

}

body {
    font-family: var(--font-body);
    /* background-color: var(--bg-color); */
    color: var(--text-color);

	line-height: 1.6;
	
	background-image: url('../images/background.jpg');
	background-size: cover;

}

p {
    color: var(--white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 1rem;
}

.subtitle {
	font-family: var(--font-heading);
	color: var(--off-white);
    font-size: 2.8vw;
	font-weight: normal;
}


a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.logo {
    width: 80%;
    height: auto;
    display: inline-block;
}

img.book {
    width: 100%;
    height: auto;
    display: inline-block;
}


/* Container Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0px 20px;
}

/* Navigation */
header {
    /* background-color: var(--white); */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    /* position: sticky; */
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
	font-size: 1.0rem;
	font-weight: bold;
	color: var(--white);
}

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

.nav-links a {
    font-weight: 600;
    color: var(--white);
	text-transform: uppercase;
    letter-spacing: 1px;
	font-size: 0.9rem;

}

.hamburger {
	color: var(--white);
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
	color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 0px;
    color: var(--white);
	font-size: 0.9rem;
}



/* Author Section */
.author {
    padding: 20px 20px;
}

.author-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.author-info {
    flex: 1.3;
}


.author h1 {
    font-family: var(--font-heading);
    color: var(--off-white);
	font-size: 2.0rem;
	font-weight: normal;
    margin-bottom: 20px;
}

.author p {
    font-family: var(--font-heading);
    color: var(--white);
	font-size: 0.9rem;
    margin-bottom: 0px;
	text-align: start;
}



.btn-small {
    display: inline-block;
	border: 2px solid black;
		border-color: var(--white);
    color: var(--white);
    padding: 1px 14px;
    border-radius: 2px;
	cursor: pointer;
}



.btn {
    display: inline-block;
	border: 2px solid black;
	margin-top: 0.7rem;
    border-color: var(--white);
    color: var(--white);
    padding-top: 0px;
	padding-bottom: 2px;
	padding-left: 16px;
	padding-right: 16px;
    border-radius: 4px;
    font-size: 1.2rem;
	font-weight: bold;
	cursor: pointer;
}

.btn:hover {
    background-color: #a93226;
    color: var(--white);
}

/* Featured Book Section */
.featured-book {
    padding: var(--section-padding);
}

.book-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.book-cover {
    flex: 1;
	filter: drop-shadow(2px 8px 12px rgba(0, 0, 0, 0.5) );
    /* box-shadow: 2px 10px 20px rgba(0,0,0,0.5); */
}

.book-info {
    flex: 1.3;
}

.book-title {
    font-family: var(--font-heading);
	font-size: 2.0rem;
    color: var(--off-white);
    margin-bottom: 0px;
    display: block;
	/* text-align: center;*/
}

.book-series {
    font-family: var(--font-heading);
	font-size: 1.0rem;
    color: var(--white);
    margin-bottom: 10px;
    display: block;
	text-align: start;
	/* text-align: center;*/
}

.book-description {
    font-family: var(--font-heading);
	/* font-style: italic; */
	font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 0px;
    display: block;
	align
}

/* Newsletter Section */
.newsletter {
	zoom: 1.4rem;
    text-align: center;
}

.newsletter-container {
	margin-top: 2rem;
	margin-bottom: 2rem;
    display: block;
}



/* Footer */
footer {
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
}

footer p {
    opacity: 0.7;
    font-size: 0.7rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {

	
	.hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: var(--white);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
        display: none; /* Hidden by default on mobile */
    }

    .nav-links.active {
        display: flex;
    }

	
	.nav-links li a {
		color: #000000 !important; /* after hamburger clicked */
	    font-size: 1.2rem;
	}
	
	
    .book-container, .about-content {
        flex-direction: column;
        text-align: start;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
