/* 
* Gabriel Silva Art - Main Stylesheet
* A modern, responsive design for an artist's portfolio website
*/

/* Base Styles & CSS Reset */
:root {
    /* Color Palette */
    --primary-color: #3d405b;
    --secondary-color: #e07a5f;
    --accent-color: #81b29a;
    --light-color: #f4f1de;
    --dark-color: #2d2d34;
    --gray-color: #8e9aaf;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.separator {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1.5rem auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-family: var(--body-font);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #323549;
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #d0694d;
    color: #fff;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo img {
    max-height: 60px;
}

.main-nav .nav-links {
    display: flex;
}

.main-nav .nav-links li {
    margin-left: 2rem;
}

.main-nav .nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/artwork1.svg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 5px;
    box-shadow: 10px 10px 0 var(--accent-color);
}

.about-text {
    flex: 1.5;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-text .subtitle {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Gallery Section */
.gallery {
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.artwork {
    position: relative;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.artwork img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.artwork-info {
    padding: 1.5rem;
}

.artwork-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.artwork-info p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Exhibitions Section */
.exhibitions-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.exhibitions-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 120px;
    height: 100%;
    width: 2px;
    background-color: var(--gray-color);
}

.exhibition {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.exhibition-date {
    width: 120px;
    padding-right: 30px;
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
}

.exhibition-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    position: relative;
}

.exhibition-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -8px;
    width: 16px;
    height: 16px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.exhibition-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.exhibition-content .location {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Games Section */
.games {
    background-color: #f9f9f9;
}

.games-content {
    max-width: 800px;
    margin: 0 auto;
}

.games-list, .news-sources {
    margin: 2rem 0;
    padding-left: 1rem;
}

.games-list li, .news-sources li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.games-list li::before, .news-sources li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-item p {
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer-icon {
    width: 48px;
    height: 48px;
}

.footer h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #fff;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: height 0.3s ease;
    }
    
    .main-nav .nav-links.active {
        height: calc(100vh - 80px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .exhibitions-timeline::before {
        left: 20px;
    }
    
    .exhibition {
        flex-direction: column;
    }
    
    .exhibition-date {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        margin-bottom: 0.5rem;
    }
    
    .exhibition-content::before {
        left: -30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
}
