:root {
    --black: #000000;
    --dark-purple: #1a0525;
    --muted-purple: #4a305e;
    --deep-purple: #3a1c54;
    --purple: #6a2c91;
    --dusty-lilac: #b39dbd;
    --silver-dusty-lilac: #d6cfda;
    --light-pink: #fdfafb;
    --soft-pink-nav: #f8e8f2;
}

/* --- Base Layout --- */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, var(--black) 0%, var(--dark-purple) 100%);
    background-attachment: fixed;
    color: var(--deep-purple);
}

.main-wrapper {
    flex: 1; /* Pushes footer down */
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    border-left: 2px solid var(--silver-dusty-lilac);
    border-right: 2px solid var(--silver-dusty-lilac);
    display: flex;
    flex-direction: column;
    background-color: var(--light-pink);
    box-sizing: border-box;
}

/* --- Header --- */
.site-header {
    background-color: var(--black);
    text-align: center;
    padding: 20px;
    border-top: 2px solid var(--silver-dusty-lilac);
}

.logo-placeholder {
    width: 100%;
    max-width: 600px;
    height: 130px;
    background-color: var(--black);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver-dusty-lilac);
}

/* --- Navigation --- */
.site-nav {
    background: linear-gradient(to bottom, var(--dark-purple), var(--muted-purple));
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, var(--purple), var(--silver-dusty-lilac), var(--purple)) 1;
    animation: navBorderPulse 2s infinite alternate;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-links li {
    padding: 15px 0;
}

.nav-links a {
    color: var(--soft-pink-nav);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--dusty-lilac);
    text-decoration: underline;
    animation: textPulse 1.5s infinite alternate;
}

.nav-links a:active, .nav-links a.active {
    color: var(--dusty-lilac);
}

/* --- Content Area --- */
.content-area {
    padding: 20px;
    flex: 1;
}

.content-area h1, .content-area h2, .content-area h3 {
    background: linear-gradient(to right, var(--deep-purple), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
    text-align: center;
}

.content-area a {
    color: #5b327d; /* Slightly lighter deep purple */
    text-decoration: underline;
}

/* --- Forms (Contact Page) --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--silver-dusty-lilac);
    background: #fff;
    color: var(--deep-purple);
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--dusty-lilac);
    animation: inputFocusPulse 1.5s infinite alternate;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to bottom, var(--dark-purple) 0%, var(--purple) 50%, var(--dark-purple) 100%);
    color: var(--light-pink);
    border: 2px solid var(--silver-dusty-lilac);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    animation: buttonHoverGlow 1.5s infinite alternate;
}

.contact-form button.sending {
    background: red !important;
    border-color: red;
}

/* --- Footer --- */
.site-footer {
    padding: 20px 0px;
    color: var(--soft-pink-nav);
    border-bottom: 2px solid var(--silver-dusty-lilac);
}

.footer-top {
    background: linear-gradient(to bottom, var(--muted-purple), var(--dark-purple));
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    padding: 20px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: var(--soft-pink-nav);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--dusty-lilac);
    text-decoration: underline;
    animation: textPulse 1.5s infinite alternate;
}

.social-icons {
    text-align: center;
    font-size: 24px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a i {
    background: linear-gradient(to bottom, var(--deep-purple), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.2s;
}

.social-icons a:hover i {
    transform: scale(1.1);
}

/* --- Mobile Nav Elements --- */
.mobile-controls {
    display: none;
}
.mobile-nav-wrapper {
    display: none;
}

/* --- Keyframe Animations --- */
@keyframes navBorderPulse {
    0% { box-shadow: 0 0 5px var(--silver-dusty-lilac), inset 0 0 5px var(--silver-dusty-lilac); }
    100% { box-shadow: 0 0 15px var(--silver-dusty-lilac), inset 0 0 10px var(--silver-dusty-lilac); }
}

@keyframes textPulse {
    0% { opacity: 1; text-shadow: 0 0 2px var(--dusty-lilac); }
    100% { opacity: 0.7; text-shadow: 0 0 8px var(--dusty-lilac); }
}

@keyframes inputFocusPulse {
    0% { box-shadow: 0 0 5px var(--dusty-lilac); }
    100% { box-shadow: 0 0 12px var(--dusty-lilac); }
}

@keyframes buttonHoverGlow {
    0% { box-shadow: 0 0 5px var(--silver-dusty-lilac); }
    100% { box-shadow: 0 0 15px var(--dusty-lilac); }
}

/* --- Responsive Media Queries --- */
@media screen and (max-width: 768px) {
    .site-nav {
        display: none; /* Hide desktop nav */
    }

    .site-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .logo-placeholder {
        max-width: 200px;
        height: 60px;
        margin: 0;
    }

    .mobile-controls {
        display: block;
        font-size: 30px;
        color: var(--silver-dusty-lilac);
        cursor: pointer;
    }

    /* Mobile Drawer */
    .mobile-nav-wrapper {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(to bottom, var(--black) 0%, var(--dark-purple) 100%);
        z-index: 1000;
        transition: left 0.4s ease;
        box-shadow: 5px 0 15px rgba(0,0,0,0.8);
    }

    .mobile-nav-wrapper.open {
        left: 0;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid var(--muted-purple);
    }

    .mobile-nav-header .logo-mini {
        color: var(--silver-dusty-lilac);
        font-weight: bold;
    }

    .close-nav {
        font-size: 28px;
        color: var(--silver-dusty-lilac);
        cursor: pointer;
    }

    .mobile-nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-links li {
        border-bottom: 1px solid var(--muted-purple);
    }

    .mobile-nav-links a {
        display: block;
        padding: 20px;
        color: var(--soft-pink-nav);
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-nav-links a:active {
        color: var(--dusty-lilac);
    }

    .footer-top {
        flex-direction: column;
        gap: 15px;
    }
}

/* Target mobile devices under 768px */
@media (max-width: 768px) {
  img {
    width: 100%;
    height: auto;
  }
}

/* --- Artist Profiles --- */
.artist-profile {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--silver-dusty-lilac);
}

.artist-profile:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.artist-name {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(to right, var(--deep-purple), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.artist-body {
    /* Clearfix to ensure the container stretches to fit floated images */
    overflow: hidden; 
}

.artist-photo {
    float: left;
    width: 360px;
    height: 360px;
    object-fit: cover; /* Ensures non-square images fill the box nicely */
    margin-right: 20px;
    margin-bottom: 15px;
    border: 2px solid var(--silver-dusty-lilac);
    border-radius: 4px;
    background-color: var(--black); /* Placeholder background */
}

.about-heading {
    font-weight: bold;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--deep-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artist-bio {
    line-height: 1.6;
}

/* --- Mobile Adjustments for Artists --- */
@media screen and (max-width: 768px) {
    .artist-photo {
        float: none;
        display: block;
        width: 100%;
        max-width: 360px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto 20px auto;
    }
    
    .about-heading {
        text-align: center;
    }
}