* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Georgia', 'Garamond', serif;
    background-color: #f5f5f5;
    color: #333;
} */

body {
    font-family: Inter, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Main Container */
.gallery-section {
    max-width: 1400px;
    margin: 40px auto;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Grid Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

/* Left Content */
.left-content {
    padding-right: 20px;
}

.left-content h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: #b78f59;
    /* same accent as code 1 */
    line-height: 1.25;
    margin-bottom: 20px;
}


/* .left-content h1 {
    font-size: 2.5rem;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2;
} */

/* .left-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
} */

.left-content p {
    font-family: Inter, sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 30px;
}

.view-gallery-btn {
    background-color: #8b7355;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* font-family: inherit; */
    display: inline-block;
    text-decoration: none;

    font-family: Inter, sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.view-gallery-btn:hover {
    background-color: #6f5a43;
    transform: translateY(-2px);
}

/* Right Content - Gallery */
.right-content {
    position: relative;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #5a5a5a;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Arial', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #3a3a3a;
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: #2a2a2a;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    height: 500px;
}

.gallery-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid Item Positioning */
.gallery-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(3) {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
}

.gallery-item:nth-child(5) {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.gallery-item:nth-child(6) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.gallery-item:nth-child(7) {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}

.gallery-item:nth-child(8) {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
}

/* Placeholder Images */
.placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-section {
        padding: 40px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .left-content {
        text-align: center;
        padding-right: 0;
    }

    .left-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 30px 20px;
        margin: 20px;
    }

    .left-content h1 {
        font-size: 1.8rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
        height: auto;
    }

    /* Reset grid positioning for mobile */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(8) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 200px);
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}