/* === RESET DEFAULT STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === GLOBAL STYLES === */
html, body {
    font-family: 'Times New Roman', serif;
    color: #333;
    background-color: #fff; /* Set the entire background to white */
    line-height: 1.6;
    height: 100%; /* Full height for fixed layouts */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400; /* Make all header fonts thinner */
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    text-align: left;
}

/* === HEADER (Name at the Top) === */
header {
    text-align: center;
    padding-top: 40px; /* Space between the top of the page and name */
}

.site-title {
    font-size: 2rem; /* Large font for DREW FLIEDER */
    font-weight: 300; /* Thinner font */
    color: #000; /* Strong black color for prominence */
    margin-bottom: 10px; /* Space between the name and the navigation */
    letter-spacing: 2px; /* Adds a little spacing between letters */
}

/* === NAVIGATION MENU === */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-weight: 400; /* Thinner font for navigation links */
    color: #333;
}

nav ul li a:hover {
    color: #006400;
}

/* Highlight the current page in the nav */
nav ul li a.active {
    color: #006400; /* Blue color to match hover style */
    font-weight: 700; /* Make it bolder */
    text-decoration: underline; /* Underline the current page */
}

/* === SECTION STYLES === */
section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

#about {
    padding: 80px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-photo {
    width: 250px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-description {
    flex: 1;
    margin-left: 20px;
}

.about-description p {
    margin-bottom: 20px;
    text-align: left;
}

#about p {
    font-size: 1.1rem;
    text-align: left;
}

#compositions h2,
#publications h2,
#contact h2 {
    text-align: center;
    color: #007BFF;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* === Musical Works Centering === */
#music ol {
    margin: 0 auto;
    padding-left: 20px; /* Adjust as needed */
    max-width: 700px; /* Center and limit the width */
}

#music ol li {
    margin-bottom: 15px; /* Space between works */
}

/* === BUTTONS AND LINKS === */
.btn {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.highlight {
    text-decoration: underline;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    section {
        padding: 60px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-photo {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .about-description {
        margin-left: 0;
    }

    .site-title {
        font-size: 2rem;
        padding-top: 10px;
    }

    #music ol {
        max-width: 90%; /* Ensures the musical works don't span the full screen on mobile */
        padding-left: 10px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    section {
        padding: 40px 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 0.95rem;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-photo {
        width: 100%;
        max-width: 250px;
        margin-bottom: 20px;
    }

    .about-description {
        margin-left: 0;
    }

    .site-title {
        font-size: 2rem;
        padding-top: 10px;
    }

    #music ol {
        max-width: 90%; /* Ensures the musical works don't span the full screen on mobile */
        padding-left: 10px;
    }


}


/* === WRITINGS PAGE STYLES === */
#writings h2 {
    text-align: left;
    padding-left: 20px;
}

#writings ul {
    list-style: disc;
    margin-left: 40px;
    padding-left: 20px;
}

#writings ul li {
    margin-bottom: 10px;
}

#writings a {
    text-decoration: underline;
}


a {
    text-decoration: underline;
}





/* === CONTACT PAGE STYLES === */
#contact {
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

#contact h2 {
    font-size: 2rem;
    color: #007BFF;
    text-align: center;
    margin-bottom: 20px;
}

#contact p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Times new Roman', serif;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adds space between form elements */
}

label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Times new Roman', serif;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Times new Roman', serif;
    background-color: #f9f9f9;
    color: #333;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #007BFF;
    outline: none;
    background-color: #fff;
}

textarea {
    resize: none;
}

button[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Times new Roman', serif;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Remove the Contact page header */
#contact h2 {
    display: none;
}

/* Update the button style */
button[type="submit"] {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 8px 16px; /* Smaller padding for a more compact button */
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Times new Roman', serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #000;
    color: #fff;
}




/* === DIVIDER LINE === */
.divider {
    border: 0;
    height: 2px;
    background-color: #000;
    margin: 40px 0;
}

/* === ALBUM COVER GALLERY === */
.album-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Space between images */
}

.album-gallery img {
    width: 200px; /* Controls image size */
    height: auto;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .album-gallery img {
        width: 120px; /* Smaller images for tablets */
    }
}

@media (max-width: 480px) {
    .album-gallery img {
        width: 100px; /* Even smaller images for phones */
    }
}


/* === FOOTER STYLES === */
footer {
    background-color: #fff; /* Match the background of the page */
    text-align: center;
    padding: 20px 0;
    margin-top: 40px; /* Space between page content and footer */
    border-top: 2px solid #000; /* Optional line divider */
}

.social-links a {
    font-size: 1rem;
    font-weight: lighter;
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-family: 'Times New Roman', serif;
}

.social-links a:hover {
    text-decoration: underline;
    color: #006400; /* Optional hover color change */
}
