* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background-color: #f8fafc;
    color: #1e293b;
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 5px 20px;
    background-color: #444040;
    border-radius: 10px;
}

nav {
    background-color: #ffffff;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}


.nav-links a:hover {
    color: #3b82f6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    padding: 4rem 0;
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 1rem;
}

.comparison-container {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
}

.comparison-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.image-wrapper h4 {
    text-align: center;
    color: #4b5563;
    font-size: 1.1rem;
}

.image-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-wrapper:first-child img {
    filter: grayscale(100%);
}

.comparison-container h3 {
    text-align: center;
    font-size: 1.4rem;
    color: #1e293b;
    margin: 1rem 0;
}

.details-btn {
    display: block;
    margin: 1rem auto;
    padding: 0.8rem 2rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.details-btn:hover {
    background-color: #2563eb;
    transform: scale(1.05);
}

.footer {
    background-color: #000000;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.foter {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .image-pair {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .image-wrapper img {
        height: 250px;
    }

    .comparison-container {
        padding: 1rem;
    }
}