/* Antonio Mancini Website - Main Stylesheet */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #8b4513;
    --text-color: #333;
    --background: #fff;
    --accent: #c9a063;
    --light-gray: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

/* Header and Navigation */
header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1.site-title {
    font-size: 1.8rem;
    font-weight: normal;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

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

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    margin: -2rem -2rem 3rem -2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-dates {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Section Styling */
section {
    margin-bottom: 3rem;
}

h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem 0;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.artwork-card {
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.artwork-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

.artwork-info {
    padding: 1rem;
}

.artwork-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.artwork-details {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Timeline for Biography */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--accent);
    margin-top: 2rem;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.3rem;
    width: 1rem;
    height: 1rem;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-date {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Bibliography List */
.bibliography-list {
    list-style: none;
    padding-left: 0;
}

.bibliography-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    text-align: left;
}

.bibliography-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Technique Section */
.technique-highlight {
    background: var(--light-gray);
    padding: 2rem;
    border-left: 4px solid var(--accent);
    margin: 2rem 0;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    main {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.95rem;
}
