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

:root {
    --bg-color: #121212;
    --bg-color-lighter: #1e1e1e;
    --text-color: #e0e0e0;
    --text-color-muted: #a0a0a0;
    --accent-color: #64b5f6;
    --border-color: #333;
    --card-bg: #1e1e1e;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    --header-bg: #0a0a0a;
    --footer-bg: #0a0a0a;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

a:hover {
    color: #90caf9;
}

/* Header styles */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.tagline {
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color-muted);
}

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

nav ul li {
    margin-right: 30px;
}

nav ul li a {
    font-weight: 400;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    color: var(--text-color);
}

nav ul li a:hover, nav ul li a.active {
    border-bottom: 2px solid var(--accent-color);
    color: var(--accent-color);
}

/* Section styles */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Gallery styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    aspect-ratio: 3/2;
    cursor: pointer;
    background-color: #000;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

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

/* Lazy loading styles */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.image-loading-indicator {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(100, 181, 246, 0.2);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lazy-image {
    position: relative;
    z-index: 2;
}

.loading {
    text-align: center;
    padding: 40px;
    font-style: italic;
    color: var(--text-color-muted);
}

.no-images, .no-images-list li {
    color: var(--text-color-muted);
}

.no-images-list {
    margin-left: 20px;
    margin-top: 10px;
}

/* About section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
}

/* Contact section */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.contact-info p {
    margin-bottom: 15px;
}

/* Footer styles */
footer {
    background-color: var(--footer-bg);
    color: var(--text-color-muted);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

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

.modal-content {
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

#modal-caption {
    color: white;
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 20px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.modal-nav {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.modal-nav button {
    background: rgba(30, 30, 30, 0.7);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.modal-nav button:hover {
    background: rgba(60, 60, 60, 0.9);
}

/* Responsive styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 40px 0;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
} 