body {
    margin: 0;
    font-family: Georgia, serif;
    background-color: #f4e8dc;
    color: #333;
    overflow-x: hidden;
}

.page-container {
    display: flex;
    min-height: 100vh;
}

.page-container {
    position: relative;
}

.sidebar {
    width: 220px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: #2d4159;
    color: #f4f4f4;
    padding: 30px 20px;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.logo-link {
    display: block;
    margin-bottom: 24px;
    margin-left: -20px;
    text-decoration: none;
}

.logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    transition: filter 0.2s ease;
}

.logo-link:hover .logo-img {
    filter: brightness(0) invert(1);
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: #f4e8dc;
    color: #2d4159;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sidebar h2 {
    margin: 0 0 24px;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
}

.sidebar h2 a {
    color: inherit;
    text-decoration: none;
}

.sidebar h2 a:hover {
    color: #ffffff;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar a {
    color: #cfd8e8;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar a:hover,
.sidebar a.active {
    background: #4b607f;
    color: #fff;
}

.logo-link:hover {
    background: transparent !important;
    border-radius: 0 !important;
}

.header-logo {
    position: relative;
    display: block;
    width: 100vw;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: -40px 0 40px -280px;
}

.content {
    flex: 1;
    padding: 40px 60px;
    margin-left: 280px;
    max-width: calc(100% - 280px);
}

.content h1 {
    margin-top: 0;
    font-size: 2rem;
}

.about-image {
    float: right;
    width: 50%;
    max-width: 480px;
    margin: 0 0 24px 24px;
    display: block;
}

.content p {
    line-height: 1.75;
    max-width: 720px;
}

@media (max-width: 900px) {
    .about-image {
        float: none;
        width: 100%;
        margin: 0 0 24px 0;
    }
}

.collage {
    margin-top: -80px;
}

.collage h2 {
    font-size: 2rem;
    margin-bottom: 22px;
    font-family: 'CocogooseBlock', Georgia, serif;
    letter-spacing: 0.02em;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 375px;
    gap: 28px;
}

.collage-item {
    border-radius: 18px;
    overflow: hidden;
    background: #f4e8dc;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.rotate-270 {
    transform: rotate(270deg);
    transform-origin: center;
}

.collage-item.span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-item.span-2x1 {
    grid-column: span 2;
}

.collage-item.span-1x2 {
    grid-row: span 2;
}

@media (max-width: 1200px) {
    .collage-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 240px;
    }
}

.art-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.art-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 920px;
}

.art-image {
    display: block;
    width: 100%;
}

.art-image img {
    display: block;
    height: auto;
    width: 100%;
    max-width: 100%;
}

.art-meta {
    padding: 16px 0;
    align-self: flex-start;
    text-align: left;
}

.sold-badge {
    display: inline-block;
    margin: 8px 0 12px;
    padding: 6px 14px;
    background: #7a1219;
    color: #f4e8dc;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.available-badge {
    display: inline-block;
    margin: 8px 0 12px;
    padding: 6px 14px;
    background: #333;
    color: #f4e8dc !important;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.art-meta h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.art-meta p:not(.sold-badge) {
    margin: 6px 0;
    color: #555;
    font-size: 0.95rem;
}

.social-links {
    margin-top: 24px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #000;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

@media (max-width: 768px) {
    .page-container {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
        padding: 20px 0;
    }

    .content {
        margin-left: 0;
        max-width: 100%;
        padding: 40px 48px;
    }

    .header-logo {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        height: auto;
        width: calc(100vw - 96px);
        max-width: 100%;
        margin: 0 -48px 40px -48px;
        max-height: none;
        object-fit: contain;
    }
}
