@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Space+Grotesk:wght@300;400;500;600&display=swap');

body {
    background-color: #ffffff;
    overflow-x: hidden;
}

.hero {
    background-image: url('../bannera/art.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 751px;
    background-color: rgba(0, 0, 0, 0.75);
    background-blend-mode: overlay;
}

.teksti {
    width: 100%;
    height: 551px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.teksti h1 {
    font-size: 60px;
    padding-bottom: 20px;
    letter-spacing: 1px;
}

.teksti p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    width: 50%;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.teksti button {
    margin-top: 30px;
    width: 165px;
    height: 45px;
    border: none;
    background-color: rgb(198, 176, 105);
    color: white;
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
}

.teksti button:hover {
    background-color: transparent;
    border: 1px solid white;
}

/* Marquee */
.marquee-container {
    background: rgb(198, 176, 105);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 14px;
    color: #0a0a0a;
    padding: 0 50px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Stats Section */
.stats-section {
    padding: 60px 10%;
    background: white;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 50px;
    color: #0a0a0a;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

/* Quote Section */
.quote-section {
    padding: 120px 10%;
    background: #fafafa;
    text-align: center;
}

.big-quote {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 42px;
    font-weight: 400;
    font-style: italic;
    color: #1a1a1a;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    position: relative;
}

.big-quote::before {
    content: '“';
    font-size: 100px;
    color: rgb(198, 176, 105);
    position: absolute;
    top: -60px;
    left: -50px;
    opacity: 0.3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.quote-author {
    margin-top: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgb(198, 176, 105);
}

/* Bento Gallery */
.bento-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.title-dark {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 48px;
    color: #0a0a0a;
    line-height: 1;
}

.view-all-btn {
    border: 1px solid #ddd;
    padding: 10px 30px;
    color: #0a0a0a;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.view-all-btn:hover {
    background: #0a0a0a;
    border-color: #0a0a0a;
    color: white;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.b-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.b-2 {
    grid-column: span 2;
}

.b-3 {
    grid-column: span 1;
}

.b-4 {
    grid-column: span 1;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(50%);
}

.bento-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: 0.4s;
}

.bento-item:hover .bento-overlay {
    transform: translateY(0);
    opacity: 1;
}

.bento-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    margin-bottom: 5px;
    color: white;
}

.bento-artist {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(198, 176, 105);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 10%;
    background: white;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #eee;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: white;
    border: 2px solid rgb(198, 176, 105);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: #fafafa;
    position: relative;
    border-radius: 4px;
    border-left: 3px solid rgb(198, 176, 105);
}

.timeline-year {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 32px;
    color: rgb(198, 176, 105);
    margin-bottom: 10px;
}

.timeline-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Exhibition Cards */
.exhibitions-section {
    padding: 80px 5%;
    background: #fafafa;
}

.exhibit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.exhibit-card {
    background: white;
    padding: 20px;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.exhibit-card:hover {
    transform: translateY(-10px);
}

.exhibit-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.exhibit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exhibit-date {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    color: rgb(198, 176, 105);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.exhibit-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 22px;
    color: #0a0a0a;
    margin-bottom: 10px;
}

.exhibit-desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* --- NEW ARTIST SECTION STYLES --- */
.artists-grid-section {
    padding: 80px 5%;
    background-color: white;
}

.artists-clean-grid {
    /* Changed from Grid to CSS Columns for masonry effect */
    column-count: 4;
    /* Creates 4 columns */
    column-gap: 20px;
}

.artist-card-clean {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    break-inside: avoid;
    display: inline-block;

    p {
        font-size: 18px;
    }

    h1 {
        font-size: 32px;
    }
}

.artist-card-clean img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(100%);
}

.artist-card-clean:hover img {
    transform: scale(1.05);
    /* Reduced scale slightly to prevent overflow issues */
    filter: grayscale(0%);
}

.artist-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
    padding: 100px 20px 20px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    /* Allows hover to trigger on the card, not the overlay */
}

.artist-card-clean:hover .artist-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.artist-card-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 22px;
    color: white;
    margin-bottom: 5px;
}

.artist-card-role {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    color: rgb(198, 176, 105);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.l {
    margin-top: 10px;

    a {
        text-decoration: none;
        color: white;
        margin-right: 10px;
    }
}

.artist-card-bio {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .artists-clean-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .artists-clean-grid {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .artists-clean-grid {
        column-count: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .b-1 {
        grid-column: span 2;
        grid-row: span 1;
        height: 400px;
    }

    .b-2,
    .b-3,
    .b-4 {
        height: 300px;
    }

    .exhibit-grid {
        grid-template-columns: 1fr;
    }

    .artists-clean-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 2 columns on tablet */
    .timeline-container::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding-bottom: 40px;
    }

    .teksti {
        height: auto;
        padding: 100px 20px;
    }

    .teksti p {
        width: 100%;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .b-1,
    .b-2,
    .b-3,
    .b-4 {
        grid-column: span 1;
        height: 250px;
    }

    .stats-section {
        flex-direction: column;
        gap: 30px;
    }

    .big-quote {
        font-size: 28px;
    }

    .artists-clean-grid {
        grid-template-columns: 1fr;
    }

    /* 1 column on mobile */
    .cursor {
        display: none;
    }
}