/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f8ff;
    color: #333;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3em;
    color: #003366;
    text-align: center;
    margin-bottom: 1em;
}

/* Header */
header {
    background-color: #003366;
    padding: 1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

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

nav ul li {
    margin-left: 2em;
    position: relative;
}

nav ul li a {
    color: white;
    font-weight: bold;
    font-size: 1.2em;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2em auto;
    padding: 2em;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Featured Artwork */
#featured-artwork {
    background-color: #ffffff; /* White background for the box */
    padding: 2em; /* Padding inside the box */
    border-radius: 8px; /* Rounded corners for the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for the box effect */
    margin-bottom: 2em; /* Space below the box */
}

#featured-artwork .artwork-container {
    display: flex;
    justify-content: center; /* Center items horizontally within the flex container */
    flex-wrap: nowrap; /* Keep items in a single line */
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    gap: 1.5em;
    padding: 1em;
    width: fit-content; /* Ensure the container shrinks to fit content for centering */
    margin: 0 auto; /* Center the container itself as a block */
}

#featured-artwork .featured-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 250px; /* Fixed width for uniformity, similar to gallery items */
    height: 300px; /* Fixed height to contain image and text, similar to gallery items */
    flex-shrink: 0; /* Prevent items from shrinking */
}

#featured-artwork .featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#featured-artwork .featured-item img {
    width: 100%;
    height: 200px; /* Fixed height for square images, similar to gallery */
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
    border-bottom: 1px solid #eee;
}

#featured-artwork .featured-item h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    color: #003366;
    margin: 0.8em 0;
    padding: 0 0.5em;
}

.artwork-container .artwork-item {
    border: 1px solid #ddd;
    padding: 1em;
    text-align: center;
    background-color: #f9f9f9;
}


.artwork-container .artwork-item img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

/* Inspirational Quotes */
#inspirational-quotes {
    padding: 2em 0;
    background-color: #003366; /* Dark blue background */
}

#inspirational-quotes h2 {
    color: white; /* Make section title visible on dark background */
}

#inspirational-quotes .quote-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
}

#inspirational-quotes blockquote {
    background: #ffffff;
    /* border-left removed to address user feedback */
    margin: 0;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    position: relative;
    font-style: italic;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

#inspirational-quotes blockquote:hover {
    transform: translateY(-5px);
}

#inspirational-quotes blockquote::before {
    content: '“';
    font-family: 'Georgia', serif;
    font-size: 5em;
    color: rgba(0, 123, 255, 0.1);
    position: absolute;
    top: 0.1em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

#inspirational-quotes blockquote p {
    margin: 0 0 1em 0;
    position: relative;
    z-index: 2;
    font-size: 1.2em;
    color: #343a40;
}

#inspirational-quotes footer {
    margin-top: 1em;
    font-size: 1em;
    color: #6c757d;
    font-style: normal;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

/* Gallery */
#gallery .filter-container {
    text-align: center;
    margin-bottom: 2em;
}

#gallery .artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1em;
}

.artwork-grid .artwork-item {
    border: 1px solid #ddd;
    padding: 1em;
    text-align: center;
    background-color: #f9f9f9;
}

.artwork-grid .artwork-item img {
    max-width: 100%;
    height: auto;
}

/* Blog - Vintage Journal Style */
#blog-vintage {
    background-color: #e6e6fa; /* Light lavender/periwinkle for a soft blue paper feel */
    padding: 2em;
    border: 2px solid #4682b4; /* Steel blue border */
    box-shadow: 8px 8px 20px rgba(0,0,0,0.2);
    margin-top: 3em;
    margin-bottom: 3em;
}

#blog-vintage h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5em;
    color: #191970; /* Midnight blue */
    text-align: center;
    margin-bottom: 1.5em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.blog-posts-vintage {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-vintage {
    background-color: #f8f8ff; /* Ghost white for individual post background */
    padding: 2.5em;
    margin-bottom: 4em;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    font-family: 'Special Elite', cursive; /* Typewriter font */
    line-height: 1.9;
    color: #2f4f4f; /* Dark slate gray for text */
    border: 1px dashed #a9a9a9; /* Dashed border for a journal feel */
    position: relative;
    overflow: hidden;
}

.blog-post-vintage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px; /* Line for notebook effect */
    bottom: 0;
    width: 2px;
    background-color: rgba(169, 169, 169, 0.3); /* Light grey line */
}

.blog-post-vintage h3 {
    font-family: 'Special Elite', cursive;
    font-size: 2.2em;
    color: #4682b4; /* Steel blue for titles */
    text-align: left;
    border-bottom: 2px solid #4682b4; /* Blue underline */
    padding-bottom: 0.6em;
    margin-bottom: 1.2em;
    margin-left: 70px; /* Align with content, past the notebook line */
}

.blog-post-vintage .post-meta-vintage {
    font-size: 1em;
    color: #6a5acd; /* Slate blue for meta info */
    margin-bottom: 2em;
    text-align: left;
    margin-left: 70px;
}

.blog-post-vintage .post-content-vintage {
    margin-left: 70px; /* Indent content for notebook effect */
    text-align: justify;
    hyphens: auto;
}

.blog-post-vintage p {
    margin-bottom: 1em;
}


/* About Me */
#about .about-content {
    display: flex;
    align-items: center;
    gap: 2em;
}

#about .about-content img {
    max-width: 300px;
    border-radius: 50%;
}

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

/* Gallery Overview Page */
#gallery-overview .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5em;
    padding: 1em;
}

.gallery-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
    border-bottom: 1px solid #eee;
}

.gallery-item h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    color: #003366;
    margin: 0.8em 0;
    padding: 0 0.5em;
}

/* New styles for logo and site title */
.logo-and-text {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between logo and text */
}

.site-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2em; /* Adjust as needed */
    color: white;
    white-space: nowrap; /* Prevent text from wrapping */
}

a.site-title:hover {
    text-decoration: none;
}

/* Contact Page */
#contact-us {
    padding: 2em;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    align-items: flex-start;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1em;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #003366;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-form button {
    background-color: #003366;
    color: white;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0055aa;
}

.form-note {
    font-size: 0.8em;
    color: #777;
    margin-top: 1em;
}

.social-media-links {
    flex: 1;
    min-width: 200px;
    background-color: #f9f9f9;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.social-media-links h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    color: #003366;
    margin-bottom: 1em;
}

.social-media-links a {
    display: inline-block;
    margin: 0 10px;
}

.social-icon {
    width: 50px; /* Adjust size as needed */
    height: 50px;
    border: none;
    vertical-align: middle;
}

.social-note {
    font-size: 0.8em;
    color: #777;
    margin-top: 1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .social-media-links {
        width: 100%;
        min-width: unset;
    }
}

/* New styles for hero title section */
#hero-title {
    text-align: center;
    padding: 4em 1em;
    background: linear-gradient(to bottom, #e0f2f7, #b3e5fc); /* Blue tones */
    color: #003366;
    margin-bottom: 2em;
}

#hero-title h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5em; /* Larger for main title */
    margin-bottom: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#hero-title .subtitle {
    font-family: Arial, sans-serif; /* Different font for subtitle */
    font-size: 1.8em;
    color: #0055aa;
    margin-top: 0;
}

/* Return to Top Button */
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #003366; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    transition: background-color 0.3s ease;
}

#myBtn:hover {
    background-color: #0055aa; /* Add a darker background on hover */
}