/* General Body and Container Styles */
body::before {
    display: block;
    content: '';
    height: 60px;
}




body {
    font-family: 'Open Sans', sans-serif; /* Ensure Open Sans is linked in HTML */
    line-height: 1.6;
    background-color: #1a1a1a;
    color: #f4f4f4;
    padding-top: 90px; /* Adjusted padding-top for fixed header to prevent content overlap */
    font-size: 16px; /* Base font size for paragraphs and general text */
    font-weight: 300; /* Lighter default weight for body text */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header and Navigation --- */
header {
    background-color: #222;
    color: #fff;
    padding: 15px 0; /* Positive padding for header spacing */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100; /* Ensure header is on top of most content */
    border-bottom: 1px solid #333; /* Subtle separation */
}

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

.site-title {
    margin: 0;
    padding: 0;
}

.navbar-brand { /* Targeted H1 inside site-title for Great Vibes font */
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem; /* Adjusted size for Great Vibes */
    color: white;
    letter-spacing: 3px;
    margin: 0; /* Ensure no default h1 margin pushes elements */
}

/* Default Navigation Styling (for larger screens) 
nav {
    display: block; /* Ensures nav is visible by default 
}

nav ul {
    list-style: none;
    display: flex; /* Displays nav items in a row *
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #fff;
}

/* Hamburger Icon Styling 
.hamburger-menu {
    display: none; /* Hidden by default on larger screens 
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above the navigation overlay 
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #fff; /* White bars for the icon 
    border-radius: 5px;
    transition: all 0.3s ease; /* Smooth transition for animation 
}

/* Styles for when the menu is active (hamburger transforms to 'X') 
body.menu-open .hamburger-menu .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

body.menu-open .hamburger-menu .bar:nth-child(2) {
    opacity: 0; /* Hide middle bar 
}

body.menu-open .hamburger-menu .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}*/

/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.9);
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-text h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem; /* Adjusted size for Great Vibes */
    color: white;
    letter-spacing: 3px;
    margin: 0
    font-weight: 400;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background-color: #555;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1em;
    font-weight: 400;
}

.btn:hover {
    background-color: #777;
}

/* --- General Section Headings --- */
h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em; /* Unified h2 font size */
    color: #ddd;
    font-weight: 400;
    line-height: 1.2;
}

/* --- Gallery/Preview Item Headings & Sections --- */
.gallery-preview, .gallery-section, .contact-section, .about-snippet, .art-piece-detail, .commissions-page-content {
    padding: 60px 0;
}

.preview-grid, .gallery-grid, .detail-grid, .commission-portfolio-grid { /* Added commission-portfolio-grid */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.preview-item, .gallery-item, .detail-item {
    background-color: #282828;
    padding: 10px;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

.preview-item a, .gallery-item a, .detail-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.preview-item img, .gallery-item img, .detail-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.preview-item img:hover, .gallery-item img:hover, .detail-item img:hover {
    transform: scale(1.05);
}

.image-info h3 { /* Applies to h3 inside .preview-item and .gallery-item */
    font-size: 1.1em;
    margin-top: 10px;
    color: #ccc;
    font-weight: 400;
}
.image-info p { /* For medium, etc. in gallery/commission items */
    font-size: 0.9em;
    color: #aaa;
    margin-top: 5px;
}


.view-all-link, .read-more, .back-to-gallery {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
}

.view-all-link a, .read-more a, .back-to-gallery a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-all-link a:hover, .read-more a:hover, .back-to-gallery a:hover {
    color: #fff;
}

/* Commissions Page Specific Styles */
.commissions-preview .section-intro,
.commissions-page-content .commissions-intro-text p {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 30px;
    margin-top: 0; /* Adjust as section padding already adds space */
    color: #ccc;
    max-width: 800px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto;
}

.commissions-page-content .commissions-intro-text a {
    color: #aaa;
    text-decoration: none;
    font-weight: bold;
}

.commissions-page-content .commissions-intro-text a:hover {
    color: #fff;
}

.commissions-page-content .contact-link-commissions p {
    text-align: center;
    margin-top: 40px;
    font-size: 1.3em;
    font-weight: bold;
}

.commissions-page-content .contact-link-commissions a {
    color: #fff;
    text-decoration: underline;
}

.commissions-page-content .contact-link-commissions a:hover {
    color: #aaa;
}

/* --- Art Piece Detail Page --- */
.painting-info h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
    font-size: 2.2em;
    font-weight: 400;
}

.painting-info p {
    font-size: 1em;
    margin-bottom: 10px;
    color: #ccc;
    text-align: left;
    font-weight: 300;
}

.painting-images {
    margin-top: 20px;
}

.main-image img,
.detail-item img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.detail-images h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.6em;
    color: #ddd;
    font-weight: 400;
}

/* --- Contact Section --- */
.contact-section p {
    font-size: 1em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 300;
    color: #f4f4f4; /* Ensures text is visible on potentially dark background */
}

.contact-content {
    max-width: 600px;
    margin: auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8); /* Light, semi-transparent background */
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    font-size: 0.95em;
    color: #000000; /* Black text for readability on the light background */
}

.contact-content h2{
    font-family: cursive;
    color: rgb(90, 90, 90);

}

.contact-content p{
    font-family: sans-serif;
    color: rgb(90, 90, 90);

}
.contact-email a {
    color: #000000; /* Ensure email link is visible on light background */
    text-decoration: underline;
}

.contact-email a:hover {
    color: #555; /* Darker hover for email link */
}

.social-links p {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #000000; /* Ensure text is visible on light background */
}

.social-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between social links */
}

.social-links ul li a {
    color: #000000; /* Ensure social links are visible on light background */
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.social-links ul li a:hover {
    color: #555; /* Darker hover for social links */
}


/* --- Footer --- */
footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 40px; /* Add some space above footer */
}

footer p {
    margin: 5px 0;
    font-size: 0.85em;
    font-weight: 300;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}


/* --- Responsiveness --- */

/* Adjustments for smaller screens (e.g., phones) */
