* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
html {
    scroll-behavior: smooth;
}

body {

    background-color: #6e6e6e; /* A smooth, dark neutral grey */
    margin: 0; 
    padding: 0;
    color: #333333; /* Dark charcoal text for readability */
    line-height: 1.6;

}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #ffffff; /*Crisp white header */
    border-bottom: 1px solid #ddd; /* Light grey border */
}

.logo {
    font-size: 2rem; /* Bumped up from 1.5rem to make the whole logo bigger */
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: baseline; /* Keeps the text lined up nicely at the bottom */
}
.accent {
    color: #2b2828; /* A rich, golden amber color. Change this hex code to match your brand! */
    font-size: 2.8rem; /* Makes just your name significantly larger */
    margin-right: 5px; /* Adds a tiny bit of breathing room between the words */
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #555555; /* Darker grey navigation links */
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover 
/* --- Social Icon Styling --- */
.social-icon {
    display: flex;
    align-items: center; /* Keeps the icon perfectly centered with the text */
}

.social-icon svg {
    transition: transform 0.3s, stroke 0.3s;
}

.social-icon:hover svg {
    transform: scale(1.15); /* Makes the icon slightly larger when hovered */
    stroke: #e1306c; /* Optional: Changes the icon to Instagram's brand pink/red on hover */
}

nav a:hover {
    color: #000000; /* Turns pitch black when hovered */
}


.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #ffffff, #f4f4f4); /* Fades from white to light grey*/
}
.hero p {
    font-size: 1.5rem; /* This makes the text significantly larger */
    font-weight: 300; /* Keeps the text looking sleek and not too bulky */
    letter-spacing: 1px; /* Adds a little breathing room between letters */
    margin-top: 1rem;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.gallery-section {
    padding: 4rem 5%;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #555;
    color: #e0e0e0;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #e0e0e0;
    color: #121212;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: #ffffff; /* Crisp white boxes */
    padding: 1rem;
    border-radius: 4px;
    text-align: center; 
    transition: transform 0.3s box-shadow 0.3s;
    box-shadow: 0 2PX 10PX rgba(0,0,0,0.05); /* Adds a very soft, elegant shadow */
    transition: all 0.4s ease;
    box-sizing: border-box; /* Ensures padding doesn't change the total height */
    height: 550px; /* Forces every box to be exactly this tall */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes the button/footer to the very bottom */
    align-items: center;
    border: 2px solid #232b35;
    background-color: #cccccc; /* A slightly darker grey */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #2a2a2a;
    margin-bottom: 1rem;
    border-radius: 2px;
}

.gallery-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.price {
    color: #545454; /* A dark, highly readable charcoal */
    font-weight: bold; /* Makes the price stand out to buyers */
    margin-bottom: 1rem;
    font-size: 1.1rem; /* Slightly bumps up the size */

}

.buy-btn {
    /* -- KEEP ALL YOUR EXISTING CODE -- */
    display: inline-block;
    background-color: #f0f0f0; 
    color: #333333; 
    padding: 0.6rem 1.2rem;
    margin-top: 10px; /* (Or whatever other rules you already have) */
    
    /* -- JUST ADD THESE TWO LINES AT THE BOTTOM -- */
    opacity: 0; 
    /* The 1.5s controls how long the fade takes */
    transition: opacity 1.5s ease, background-color 0.3s ease;
}


/* 2. The trigger (Fades in when hovering over the artwork box) */
.gallery-item:hover .buy-btn {
    opacity: 1; 
}

/* 3. The button hover (Slightly darkens when they are about to click it) */
.buy-btn:hover {
    background-color: #e4e4e4; 
}

.buy-btn:hover {
    border-color: #333333; /* The border gets darker on hover */
    background-color: #fafafa;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
    margin-top: 4rem;
    color: #777;
}
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 1rem;
}
.description {
    font-size: 0.9rem;
    color: #555555; /* A much darker, highly readable grey */
    margin-bottom: 1rem;
    line-height: 1.4;
    padding: 0 0.5rem;

}
/* --- Lighter "Sold Out" Button (With Fade Effect) --- */
.sold-out {
    display: inline-block;
    background-color: #fcfcfc; /* Ultra-light grey */
    color: #999999; /* Soft grey text */
    padding: 0.6rem 1.2rem;
    border: 1px solid #eeeeee; /* Delicate border */
    border-radius: 4px;
    font-weight: 500;
    cursor: default; 
    
    /* Starts invisible and sets the 1.5s fade speed limit */
    opacity: 0;
    transition: opacity 1.5s ease;
}

/* Fades the sold button in when hovering over the artwork box */
.gallery-item:hover .sold-out {
    opacity: 1;
}
/* --- Lightbox Styles --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* Ensures it sits on top of everything else */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark semi-transparent background */
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh; /* Prevents it from being taller than the screen */
    margin-top: 5vh;
    border-radius: 4px;
    object-fit: contain; /* Keeps the original proportions intact */
    animation: zoomIn 0.3s ease; /* Smooth pop-in effect */
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: #888;
}

/* Make gallery images look clickable */
.gallery-item img {
    cursor: zoom-in;
}

/* Animation Keyframes */
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* --- Contact Section Headers --- */
.contact-section {
    padding: 6rem 5%;
    text-align: center; /* Centers the text above the form */
    background-color: #ffffff;
}

.contact-section h2 {
    font-size: 2.5rem; /* Makes the "Get in Touch" title big again */
    margin-bottom: 1rem;
    color: #333;
}

.contact-section p {
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem; /* Bumps up the paragraph size */
}
/* --- Strict Contact Form Layout --- */
.contact-form-container {
    max-width: 500px;
    margin: 0 auto; 
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* This creates perfect, even spacing between the boxes */
    text-align: left !important; /* The !important tag forces it to ignore any centering */
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Locks the labels strictly to the left edge */
    width: 100%;
}

.contact-form label {
    margin-bottom: 0.5rem;
    color: #333333;
    font-weight: bold;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box !important; /* Forces the padding to stay inside the box */
    padding: 0.8rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: #333333;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 1rem;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    margin-top: 1rem;
}
.gallery-item:hover .buy-btn {
    opacity: 1;
}
/* --- Contact Section Headers --- */
.contact-section {
    padding: 6rem 5%;
    text-align: center; 
    background-color: #ffffff;
}
.contact-section h2 {
    font-size: 2.5rem; 
    margin-bottom: 1rem;
    color: #333;
}
.contact-section p {
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem; 
}

/* --- Input Box Styling --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
}
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.contact-form input,
.contact-form textarea {
    width: 100%; 
    box-sizing: border-box !important;
    padding: 0.8rem; 
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: #333333;
    font-family: inherit;
    font-size: 1rem;
}
.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 1rem;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    margin-top: 1rem;
}
/* Keeps the badge locked inside this specific box */
.special-drop {
    position: relative; 
    border: 2px solid #111; /* Makes the border slightly bolder than the regular items */
    background-color: #cccccc !important;
}

/* The styling for the Special Drop banner */
.drop-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #61b4e4; /* A subtle, classy red */
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    z-index: 10; /* Forces the badge to sit on top of the image */
}
/* Special Drop Box Container */
.special-drop {
    position: relative;
    border: 2px solid #232b35; /* Dark grey border */
    padding: 30px 20px 20px 20px; /* Extra padding at the top for the ribbon */
    text-align: center;
    background-color: #cccccc !important;
}

/* 3D Light Blue Ribbon */
.drop-ribbon {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #72bce9; /* Light blue */
    color: #124263; /* Dark navy text */
    padding: 8px 16px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 2px 4px 6px rgba(0,0,0,0.15);
}

/* Creates the little folded shadow triangle behind the ribbon */
.drop-ribbon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    border-top: 8px solid transparent;
    border-right: 8px solid #498aae; /* Darker blue for the shadow fold */
}

/* Typography & Layout */
.drop-header {
    font-size: 0.9rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #111;
}

.drop-divider {
    border: none;
    border-top: 1px solid #111;
    width: 80%;
    margin: 0 auto 15px auto;
}

.sketch-title {
    font-size: 1.6rem;
    color: #232b35;
    margin: 0 0 5px 0;
}

.sketch-subtitle {
    font-size: 1rem;
    color: #333;
    margin: 0 0 10px 0;
}

.sketch-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111;
    margin: 0 0 15px 0;
}

/* Sketch Image Frame */
.special-drop img {
    width: 70%; /* Keeps the image perfectly framed */
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Clean Outline Button */
.buy-btn-outline {
    background-color: transparent;
    border: 2px solid #232b35;
    color: #232b35;
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.buy-btn-outline:hover {
    background-color: #232b35;
    color: #ffffff;
}

/* Sequence Footer */
.drop-footer {
    margin-top: 25px;
    font-size: 0.95rem;
    color: #111;
}

.drop-footer p {
    margin: 3px 0;
}
/* Grey corner label for unreleased items */
.coming-soon-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e0e0e0; 
    color: #555555;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    z-index: 10;
}
/* Clean placeholder box for unreleased artwork */
.coming-soon-placeholder {
    width: 80%;
    height: 250px; /* Mimics the height of your oil painting photos */
    margin: 20px auto 20px auto;
    background-color: #fcfcfc;
    border: 2px dashed #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-style: italic;
    font-size: 0.95rem;
}
.gallery-item img {
    transform: translateZ(0);
    backface-visibility: hidden;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}
.site-footer {
    text-align: center;
    padding: 40px 0;
}

.footer-text {
    color: #ffffff; 
    font-size: 25px; /* Increased from 14px */
    opacity: 0.9; /* Slightly increased opacity to keep it bold at the larger size */
}
/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .gallery-item {
        width: 100%; 
        height: auto; /* Forces the box to stretch vertically to contain the buttons */
        padding-bottom: 20px; /* Gives the buttons some breathing room at the bottom */
        margin-bottom: 30px; 
    }
    
    .gallery-container { 
        display: flex;
        flex-direction: column; 
        align-items: center;
    }

    /* Keeps the buttons neatly sized inside the box */
    .buy-btn, 
    .sold-btn { /* Assuming your sold button has a class like this */
        width: 90%; 
        max-width: 300px; /* Prevents them from stretching too wide */
        margin: 15px auto 0 auto; /* Centers the button with space above it */
        display: block; 
    }
    /* --- MOBILE HEADER FIX --- */
    header, 
    .navbar, 
    .nav-container { /* Covers the most common names for the top bar */
        display: flex;
        flex-direction: column; /* Stacks the name and links vertically */
        align-items: center; /* Centers everything */
        text-align: center;
        padding: 15px 0;
    }

    nav ul, 
    .nav-links {
        display: flex;
        flex-direction: column; /* Stacks the individual links */
        gap: 15px; /* Adds space between Gallery, About, and Contact */
        padding: 0;
        margin-top: 15px;
    }

    .social-icon, 
    .instagram-logo { 
        margin-top: 15px; /* Gives the Instagram logo some breathing room */
    }
}