/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: hsl(47, 41%, 93%);
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
.header {
    background-color: hsl(47, 41%, 90%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 60px;
}

.navbar a {
    color: #555;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar a:hover,
.navbar a.active {
    background-color: #e2e2e2;
    color: #333;
}

.lang-choice a {
    font-size: 1.5rem;
    margin-left: 10px;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}

.lang-choice a:hover {
    transform: scale(1.1);
}

/* Main Content */
.content {
    padding: 2rem;
    margin-top: 20px;
}

#paintings-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.painting {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.painting:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.painting img {
    width: 100%;
    height: auto;
    display: block;
}

.painting-details {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.painting-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.painting-description,
.painting-size {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.painting-price {
    font-size: 1rem;
    font-weight: bold;
    color: #007bff;
    margin-top: auto;
}

/* For Sale Page */
.for-sale-intro {
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* About Page */
.about-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-image {
    max-width: 300px;
    border-radius: 8px;
}

.about-text {
    flex: 1;
}

/* Contact Page */
.contact-container {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: #fff;
}

.social-media img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-media img:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 1rem;
    }

    .navbar {
        margin-top: 1rem;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        max-width: 80%;
        margin-bottom: 1rem;
    }
}