/* Modern PyroGourd Website Styles */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ffd23f;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --background-dark: #1a1a1a;
    --background-light: #f8f9fa;
    --border-color: #ddd;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background-light);
}

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

/* Header */
header {
    background: var(--background-dark);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Navigation */
.main-nav {
    background: var(--primary-color);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-text h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem 0;
}

.hero-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.signature {
    background: var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.gallery-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay::before {
    content: "🔍";
    font-size: 2rem;
    color: white;
}

/* Artists Section */
.artists-section {
    padding: 4rem 0;
    background: var(--background-dark);
    color: var(--text-light);
}

.artists-section h2 {
    text-align: center;
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.artist-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-10px);
}

.artist-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid var(--accent-color);
}

.artist-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Tools & Contact Sections */
.tools-section,
.contact-section {
    padding: 3rem 0;
    text-align: center;
}

.tools-section {
    background: var(--secondary-color);
    color: white;
}

.contact-section {
    background: var(--primary-color);
    color: white;
}

.tools-section h2,
.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--background-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: -40px;
    right: 10px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

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

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.modal-nav button {
    background: rgba(255, 107, 53, 0.8);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 50px;
    height: 50px;
}

.modal-nav button:hover {
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 0.2rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .artists-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .logo {
        max-width: 250px;
    }
}