/* Minimal Makeup Portfolio Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Header */
.header {
    background: #fff;
    position: static;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.artist-name {
    font-size: 2rem;
    color: #000000;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.artist-subtitle {
    text-align: center;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav a {
    color: #9f9f9f;
    font-family: 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'DejaVu Sans Mono', monospace;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: #333;
    text-decoration-thickness: 2px;
}

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

/* Global link styling */
a {
    color: inherit;
}

/* Portfolio Section */
.portfolio-section {
    margin: 1rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

/* Project Section */
.project-section {
    margin: 2rem 0;
}

.project-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



.project-image {
    margin-bottom: 2rem;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content {
    margin-bottom: 2rem;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.2;
    text-align: center;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.project-description p {
    margin-bottom: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.portfolio-item {
    position: relative;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    background-color: #580070;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    color: white;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox .title {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.lightbox .description {
    margin-top: 0.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 0.7;
}

.about {
    margin: 2rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-height: 600px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

.about p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #000000;
}

.contact {
    margin: 2rem 0;
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #000000;
}

.contact-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.instagram-section {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 6px;
    width: 100%;
    max-width: 500px;
}

.instagram-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.instagram-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: black;
}

.instagram-link {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    outline: none;
    border: 2px solid #000000;
    text-decoration-color: white;
}

.instagram-link:hover {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.instagram-link:focus {
    outline: none;
    border: 2px solid #000000;
}

.instagram-link:active {
    outline: none;
    border: 2px solid #000000;
}

.contact-form {
    padding: 2rem;
    border-radius: 6px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #000000;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.submit-btn {
    background: #333;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background: #555;
}

.footer {
    background: #ffffff;
    font-family: 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'DejaVu Sans Mono', monospace;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

.footer .copyright {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    color: #333;
}

.footer-links a {
    color: #666;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #333;
}

.portfolio-item img[src*="placeholder"],
.project-image img[src*="placeholder"] {
    opacity: 0.7;
    background: #f8f9fa;
}

/* Portfolio Image Loading States */
.portfolio-image-container {
    position: relative;
    overflow: hidden;
}

.portfolio-thumbnail {
    opacity: 0.6;
    filter: blur(1px);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.portfolio-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.portfolio-thumbnail:not([src*="placeholder"]) + .portfolio-loading-overlay {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Project Image Loading States */
.image-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    min-height: 200px;
}

.image-loading-container p {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.project-image img {
    opacity: 0.6;
    filter: blur(1px);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.project-image img:not([src*="placeholder"]) {
    opacity: 1;
    filter: blur(0px);
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .nav a {
        font-size: 0.8rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .project-layout {
        gap: 1.5rem;
    }
    
    .project-images {
        gap: 1.5rem;
    }
    
    .project-content {
        margin-bottom: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .artist-name {
        font-size: 1.5rem;
    }
    
    .nav {
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }
    
    .nav a {
        font-size: 0.7rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}