@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&display=swap');
/* Reset and Box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML and Body should occupy the full height of the viewport */
html, body {
    height: 100%;
    font-family: 'Arvo', serif;
    line-height: 1.6;
    background-color: white;
    color: black;
}

/* Navigation Bar */
header {
    background: red;
    color: white;
    padding: 1em 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Hero Image - Full Screen, no padding or white space */
.hero-image {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    display: flex;
    align-items: center; /* Vertically center the image */
    justify-content: center; /* Horizontally center the image */
    overflow: hidden;
}

/* Ensure the image covers the entire hero section */
.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content sections start after hero image */
section {
    padding: 5em 1em;
    text-align: center;
    margin-top: 50px;
}

/* Navigation Bar */
header {
    background: red;
    color: white;
    padding: 1em 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: darkred;
}

h2 {
    margin-bottom: 1em;
    font-size: 2em;
}

#about, #writing, #visual-art, #gallery, #shop, #contact {
    max-width: 800px;
    margin: 0 auto;
}

/* Grid Layout for Gallery */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0px;
    padding: 0px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 0px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.grid-item img:hover,
.grid-item img:active {
    filter: grayscale(0%);
}

/* Blockquotes */
blockquote {
    font-style: italic;
    font-family: 'Arvo', serif;
    font-weight: 400;
    background-color: red;
    color: white;
    padding: 1em;
    border-radius: 5px;
    margin: 1em auto;
    max-width: 600px;
}

/* Buttons */
a.button {
    display: inline-block;
    background-color: red;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

a.button:hover {
    background-color: darkred;
}

/* Footer */
footer {
    background: red;
    color: white;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5em 0;
    }

    section {
        padding: 3em 1em;
    }
}

html {
    scroll-behavior: smooth;
}