/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Animation Controls */
.animation-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.control-btn {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.control-btn.paused {
    background: rgba(34, 139, 34, 0.8);
}

/* When animations are paused, apply visual effects to indicate paused state */
.animations-paused .animated-gif {
    filter: grayscale(30%) contrast(0.8);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Header styles */
.header {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 240, 0.9) 100%);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.description {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
nav {
    margin: 40px 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured section */
.featured-section {
    margin-bottom: 80px;
}

.featured-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #444;
    font-weight: 300;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.artwork-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.artwork-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwork-card:hover .featured-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    padding: 30px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.artwork-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.card-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Preview section */
.preview-section {
    margin-bottom: 80px;
}

.preview-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #444;
    font-weight: 300;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-preview {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-preview h3 {
    padding: 20px;
    font-size: 1.2rem;
    color: #444;
    text-align: center;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 60px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: rgba(255, 255, 255, 0.8);
    margin: 40px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Responsive design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 60px 15px 40px;
        margin: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .animation-controls {
        top: 10px;
        right: 10px;
    }
}