/* --- Global Styles --- */
body {
    /* A moody, antique parchment color */
    background-color: #f2efdf; 
    /* Dark charcoal for text—softer than pure black */
    color: #2c2c2c;           
    font-family: 'Almendra', serif;
    margin: 0;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 3rem 1rem;
    /* Subtle line that looks like a pen stroke */
    border-bottom: 2px solid #d1cdb7; 
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
}

nav a {
    color: #5a5a5a;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
    text-transform: lowercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #000000;
    text-decoration: underline;
}

/* --- Gallery Grid --- */
.gallery-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Art Cards (Instagram Links) --- */
.art-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.art-card img {
    width: 100%;
    max-width: 350px; /* Keeps the designs from getting too huge */
    height: auto;
    display: block;
    /* Subtle drop shadow to make the "sticker" or "cutout" art pop off the page */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.art-card:hover {
    transform: translateY(-5px);
}

.art-card:hover img {
    /* Sharpens the black ink on hover */
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.2)) contrast(1.2);
}

.caption {
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-top: 1px solid #d1cdb7;
    padding-top: 5px;
    width: 60%;
    text-align: center;
}

/* --- Finished Work Photo Grid --- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.photo-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.photo-card:hover {
    transform: translateY(-5px);
}

.photo-card:hover img {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* --- Photo Frame Wrapper --- */
.photo-frame {
    position: relative;
    width: 100%;
    max-width: 385px;
    aspect-ratio: 512 / 599;
}

/* Ornamental frame overlay — multiply blend mode makes the white
   background of the PNG transparent, showing only the black frame lines. */
.photo-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/ornamental-frame.png');
    background-size: 100% 100%;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

/* The image is inset so it sits inside the frame's inner border.
   Adjust these inset values if the alignment needs tweaking. */
.photo-card img {
    position: absolute;
    top:16%;
    left: 9.5%;
    width: 81.25%;
    height: 69%;
    object-fit: cover;
    display: block;
    transition: box-shadow 0.3s ease;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 5rem 1rem 3rem;
    font-size: 0.8rem;
    color: #8a8775;
    text-transform: uppercase;
    letter-spacing: 2px;
}