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

body {
    font-family: 'Playfair Display', serif;
    background-color: #f0f0f0;
    color: #1a1a1a;
    min-height: 100vh;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(240, 240, 240, 0.98) 0%, rgba(240, 240, 240, 0.9) 70%, transparent 100%);
    pointer-events: none;
}

.header-content,
.header-right {
    pointer-events: auto;
}

h1 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7f8c8d;
}

.header-right {
    text-align: right;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #C4707A;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.instagram-link:hover {
    opacity: 0.7;
}

.quote {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    font-style: italic;
    color: #7f8c8d;
    max-width: 280px;
    line-height: 1.6;
    text-align: right;
}

/* Masonry Gallery */
.masonry-gallery {
    column-count: 3;
    column-gap: 1.25rem;
    padding: 8rem 2.5rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.masonry-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 1.25rem;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 1200px) {
    .masonry-gallery {
        column-count: 3;
        padding: 7rem 2rem 3rem;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 1.5rem 2rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .masonry-gallery {
        column-count: 2;
        column-gap: 1rem;
        padding: 6rem 1.5rem 3rem;
    }

    .masonry-item {
        margin-bottom: 1rem;
    }

    .quote {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.25rem 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.65rem;
    }

    .masonry-gallery {
        column-count: 2;
        column-gap: 0.75rem;
        padding: 5.5rem 1rem 2rem;
    }

    .masonry-item {
        margin-bottom: 0.75rem;
    }

    .quote {
        display: none;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    .instagram-link {
        font-size: 0.7rem;
    }

    .masonry-gallery {
        column-count: 1;
        padding: 5rem 1rem 2rem;
    }

    .masonry-item {
        margin-bottom: 1rem;
    }
}
