/* Art Portfolio - Modern Dark Editorial Gallery */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.5;
}

/* 1. HERO TITLE SECTION */
.art-gallery-hero {
    width: 100%;
    padding: 100px 122px 40px;
    background-color: #000;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
}

.back-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.back-button:hover {
    color: #fff;
    transform: translateX(-4px);
}

.back-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.gallery-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

/* 2. MAIN GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 20px;
    /* Large vertical gaps, minimal horizontal spacing */
    padding: 20px 122px 140px;
    /* Reduced top padding as controls are removed */
    max-width: 1440px;
    margin: 0 auto;
}

/* 4. ARTWORK CARD */
.gallery-card {
    width: 100%;
    break-inside: avoid;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-inner {
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #111;
}

.gallery-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* 5. FOOTER */
.footer-section {
    width: 100%;
    background-color: #000;
    padding: 40px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 122px;
    display: flex;
    justify-content: center;
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

/* 6. RESPONSIVE DESIGN DEPRECATED */


/* 7. TOAST NOTIFICATION */
.toast-container {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.fade-out {
    opacity: 0;
    transform: translateX(20px);
}