@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

body {
    font-family: "Zain", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.5;
    background-color: #634e39;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.side-nav {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    z-index: 1000;

    background: rgba(44, 36, 32, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.side-nav a {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    filter: invert(1) opacity(0.7);
    text-decoration: none;
}


.side-nav a:hover {
    filter: invert(1) opacity(1);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    position: relative;
    padding: 2rem 2rem 4rem;
}

.header-card {
    background-color: #ffffff;
    padding: 2.5rem;
    width: 90%;
    margin: 3.5rem auto 0;
    border-radius: 0.4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.name {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: "Zain", sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    border-bottom: 3px solid #1a1a1a;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.title {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    font-weight: 300;
    color: #1a1a1a;
    text-align: left;
    font-family: "Zain", sans-serif;
    line-height: 1.8;
    max-width: 50rem;
    letter-spacing: 0.02em;
}

.subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: #555;
    text-align: left;
    font-family: "Zain", sans-serif;
    line-height: 1.8;
    max-width: 50rem;
    letter-spacing: 0.02em;
}

.gallery {
    margin: 3rem 0;
    padding: 3rem 0;
    border-top: 4px solid #b8a898;
    border-bottom: 4px solid #b8a898;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
            transparent 5%,
            rgba(0, 0, 0, 0.08) 10%,
            rgba(0, 0, 0, 0.08) 90%,
            transparent 95%);
}

.section-header {
    text-align: left;
    padding: 0 4rem;
    margin-bottom: 3rem;
}

.section-title {
    font-family: "Zain", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-family: "Zain", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #b8a898;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.museum-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 3rem;
    align-items: flex-start;
}

.artwork {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 0 1 280px;
    max-width: 320px;
}

.frame {
    background: #2c2420;
    padding: 12px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px #3d3530,
        inset 0 0 0 4px #1a1512;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

.frame::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.painting-image {
    display: block;
    width: 100%;
    max-width: 260px;
    height: 320px;
    object-fit: cover;
    border: 4px solid #f5f0e8;
}

.plaque {
    margin-top: 1.2rem;
    background: linear-gradient(135deg, #f8f4ec 0%, #ece5d8 100%);
    border: 1px solid #c8bfb0;
    padding: 0.5rem 1.2rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    min-width: 140px;
}

.plaque-title {
    font-family: "Zain", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #2a2a2a;
    letter-spacing: 0.03em;
    font-style: italic;
}

.plaque-medium {
    font-family: "Zain", sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    color: #777;
    margin-top: 0.15rem;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .museum-wall {
        gap: 2.5rem;
        padding: 1.5rem 1rem;
    }

    .gallery-header {
        padding: 0 2rem;
    }

    .gallery-title {
        font-size: 2rem;
    }
}


.cta-trapezoid {
    display: inline-block;
    position: relative;
    /* align left edge with hero's left corner (hero is 90% width, auto margins) */
    margin: 0 0 2rem 5%;
    padding: 1rem 2.5rem;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-trapezoid:hover {
    background-color: #fff;
    color: #1a1a1a;
}

.hero {
    position: relative;
}

@media (max-width: 600px) {
    .cta-trapezoid {
        position: static;
        clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
        margin: 2rem auto 0;
        display: block;
    }
}

/* .qr-code {} */

.qr-code:hover {
    opacity: 1;
}

.review {
    background-color: #ffffff;
    padding: 2.5rem;
    max-width: 40rem;
    width: 90%;
    margin: 3rem auto;
    border-radius: 0.4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-style: italic;
    text-align: center;
}

.contact-card {
    background-color: #ffffff;
    padding: 3rem;
    max-width: 38rem;
    width: 90%;
    margin: 1rem auto 4rem;
    border-radius: 0.4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.contact-me {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.social-button {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.6rem 1.8rem;
    border: 1px solid #1a1a1a;
    border-radius: 0.2rem;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-button:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.social-icon {
    width: 1rem;
    height: 1rem;
    filter: invert(1);
    transition: filter 0.3s ease;
}

.social-button:hover .social-icon {
    filter: invert(0);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;

    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    flex-direction: column;

    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links .social-link img {
    width: 1.5rem;
    /* Slightly smaller, more elegant */
    height: 1.5rem;
    filter: invert(1) opacity(0.6);
    /* White icons to match the theme */
    transition: all 0.3s ease;
}

/* Hover state for the contact info */
.social-link:hover img {
    filter: invert(1) opacity(1);
    transform: translateY(-3px);
}

.social-link::after {
    content: attr(data-label);
    /* If you add data-label="Instagram" in HTML */
    font-family: "Zain", sans-serif;
    font-size: 0.7rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.social-link:hover::after {
    opacity: 1;
}