/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../res/me-oc-1.png');
    background-repeat: no-repeat;
    background-position: left;
    display: flex;
    align-items: center;
    justify-content: right;
    text-align: left;
    color: #fff;
}

.hero2 {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../res/me-oc-2.png');
    background-repeat: no-repeat;
    background-position: left;
    display: flex;
    align-items: center;
    justify-content: right;
    text-align: left;
    color: #fff;
}

.hero-content h2 {
    font-size: 28px;
    margin: auto 150px auto
}

.hero-content p {
    font-size: 14px;
    max-width: 700px;
    margin: auto 150px auto;
}


/* Gallery Section */
.gallery {
    background: #f8f9fa;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.art-item {
    background: #fff;
    border-color: #e4e0e0;
    border-style: ridge;
    border-radius: 8px;
    box-shadow: 0 4px 22px rgba(60, 60, 80, 0.10);
    overflow: hidden;
    transition: box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.art-item:hover {
    box-shadow: 0 8px 32px rgba(60, 60, 80, 0.18);
    transform: translateY(-4px) scale(1.02);
    z-index: 2;
}

.art-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ececec;
    overflow: hidden;
    position: relative;
}

.art-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    /* optional: add a slight scale on hover */
}

.art-item:hover .art-img img {
    transform: scale(1.04) rotate(-1deg);
}

/* Responsive Design */
@media (max-width: 600px) {
    .nav-links {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }

    .gallery {
        padding: 32px 0;
    }

    .art-grid {
        gap: 15px;
        padding: 0 4px;
    }

    .art-item {
        border-radius: 10px;
    }

}

@media (max-width: 800px) {
   
    .hero-content h2 {
        font-size: 18px;
        margin: 0
    }

    .hero-content p {
        font-size: 12px;
        max-width: 700px;
        margin: 0
    }

}