/**
 * ArtistSea - Starter Theme CSS
 * Single-page scrolling portfolio template
 */

@import url('./website_common.css');
 
/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Artist Header */
.artist-header {
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.artist-name {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.artist-headline {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.artist-location {
    font-size: 0.9rem;
    color: #888;
}

/* About Section */

.artist-statement {
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

/* CV Section */
.cv-section {
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.artist-statement,
.cv-section,
.contact-info {
    max-width: 700px;
}

.cv-heading {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cv-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    white-space: pre-line;
}

/* Gallery Section */
.gallery-section {
    padding: 2rem 0 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.gallery-masonry {
    position: relative;
    padding: 0 1rem;
}

.gallery-masonry .gallery-item {
    position: absolute;
    margin-bottom: 0;
}

.gallery-item {
    margin-bottom: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover img {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Artwork Info */
.artwork-info {
    padding: 0.75rem 0;
}

.artwork-title {
    font-weight: 500;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
}

.artwork-title:hover {
    color: var(--accent-color);
}

.artwork-meta {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.25rem;
}

.artwork-price {
    font-weight: 500;
    color: var(--accent-color);
}

/* Sticky Navigation */
.site-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 999;
    padding: 0.75rem 0;
}

.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-brand:hover {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-links .nav-link {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}

.nav-links .nav-link:hover {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.03);
}

.nav-links .nav-link.active {
    color: var(--accent-color);
    font-weight: 500;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.85rem;
}

.site-footer a {
    color: #888;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent-color);
}

.footer-social-links {
    margin-bottom: 1.5rem;
}

.footer-social-links a {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin: 0 0.5rem;
    transition: opacity 0.2s;
}

.footer-social-links a:hover {
    opacity: 0.7;
}

/* Contact Section */
.contact-section {
    background: #f9f9f9;
    padding: 3rem 0;
    text-align: center;
}

.contact-section h2 {
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: var(--accent-color);
}

/* Click to Reveal Contact */
.contact-info a.reveal-contact {
    color: var(--accent-color);
    font-style: italic;
    cursor: pointer;
    border-bottom: 1px dashed var(--accent-color);
    text-decoration: none;
}

.contact-info a.reveal-contact:hover {
    opacity: 0.8;
}

.contact-info a.revealed {
    font-style: normal;
    border-bottom: none;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.contact-form .form-label {
    font-weight: 500;
    color: #555;
}

.contact-form .form-control {
    border-radius: 4px;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

/* Accent Button */
.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    opacity: 0.9;
}

.btn-accent:disabled {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    opacity: 0.65;
}

/* Preview Banner */
.preview-banner {
    background: #fff3cd;
    color: #856404;
    padding: 0.75rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.preview-banner a {
    color: #856404;
    font-weight: 500;
}

/* Adjust nav position when preview banner is present */
.preview-banner + .site-nav {
    top: 44px;
}

/* Scroll offset for anchor targets */
:target {
    scroll-margin-top: 80px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .artist-name {
        font-size: 1.8rem;
    }

    .gallery-masonry {
        padding: 0 0.5rem;
    }

    .site-nav .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links .nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    :target {
        scroll-margin-top: 120px;
    }
}
