/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
}

body {
    background-color: #faf9f7;
    color: #2d2d2d;
    font-family: "DM Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    padding: 40px 30px;
}

/* HEADER */
header {
    max-width: 1100px;
    margin: 0 auto 20px auto;
}

.name-banner {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 5px;
    padding: 20px 0;
}

.name-banner img {
    max-height: 180px;
    width: auto;
}

.placeholder-text {
    color: #000;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
}

nav {
    padding: 20px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 35px;
    flex-wrap: wrap;
}

nav li {
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #888;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

nav li:hover {
    color: #2d2d2d;
    transform: translateY(-2px);
}

nav li.active {
    color: #0a3d0a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* CONTENT AREA */
main {
    max-width: 1100px;
    margin: 0 auto;
}

.view-section {
    display: none;
}

.view-section.active {
    display: block;
}

h2 {
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
    color: #2d2d2d;
}

/* GRID SYSTEM */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    gap: 50px 40px;
}

.art-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.art-item:hover {
    transform: translateY(-8px);
}

.art-placeholder {
    min-height: 300px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: #f5f4f2;
    flex-shrink: 0;
    width: 100%;
    transition: background-color 0.3s ease;
}

.art-item:hover .art-placeholder {
    background-color: #f0eeeb;
}

.art-placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.art-info {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #555;
    margin-top: 15px;
}

/* STARTING PAGE */
.featured-image {
    width: 100%;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background-color: #f5f4f2;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-content h1 {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.welcome-content p {
    color: #888;
    font-size: 0.9rem;
}

/* CONTACT & ABOUT */
.text-content {
    max-width: 600px;
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
}

.about-content {
    max-width: 680px;
    margin-top: 25px;
    flex: 1;
}

.about-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 280px;
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.85;
    margin-bottom: 22px;
}

.about-content p.intro {
    margin-bottom: 30px;
}

.about-content h3 {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.exhibitions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exhibitions li {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
}

.exhibitions li a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #999;
}

.exhibitions li a:hover {
    border-bottom-color: #333;
}

.exhibitions li span {
    display: inline-block;
    width: 50px;
    color: #666;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 500px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: #f5f4f2;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateX(8px);
    background: #eeeae4;
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.contact-card-icon::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: #0a3d0a;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.contact-card-icon.email::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6L12 13 2 6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6L12 13 2 6'/%3E%3C/svg%3E");
}

.contact-card-icon.phone::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.575 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.575 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.contact-card-icon.instagram::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='18' cy='6' r='1'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='18' cy='6' r='1'/%3E%3C/svg%3E");
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.contact-card-value {
    font-size: 1rem;
    color: #2d2d2d;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: #f5f4f2;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #2d2d2d;
}

.contact-card:hover {
    transform: translateX(8px);
    background: #eeeae4;
}

.contact-card:hover .contact-card-value {
    color: #0a3d0a;
}

footer {
    max-width: 1100px;
    margin: 80px auto 0 auto;
    padding-top: 25px;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.5px;
}

.detail-back {
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #666;
    margin-bottom: 30px;
    display: inline-block;
    transition: color 0.2s ease;
}

.detail-back:hover {
    color: #000;
}

.detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.detail-image {
    width: 100%;
    height: 85vh;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.detail-description {
    margin-top: 10px;
    margin-bottom: 30px;
}

.detail-title {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #2d2d2d;
}

.detail-description-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 600px) {
    nav ul {
        gap: 15px;
    }
    nav li {
        font-size: 0.7rem;
    }
}
