/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light mode colors (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent: #2c5aa0;
    --accent-hover: #1e3f70;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Dark mode colors */
        --bg-primary: #1a1a1a;
        --bg-secondary: #2d2d2d;
        --text-primary: #f5f5f5;
        --text-secondary: #b0b0b0;
        --accent: #4a7bc8;
        --accent-hover: #6294d8;
        --border: #404040;
        --shadow: rgba(255, 255, 255, 0.1);
    }
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 200;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Header */
header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

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

.logo img {
    height: 120px;
    width: auto;
}

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

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

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

/* Gallery Section */
.hero {
    padding: 40px 0;
}

.gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery {
    width: 100%;
    max-width: 800px;
    height: 800px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    margin: 0 auto;
}

.gallery img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out;
}

/* About Section */
.about {
    padding: 60px 0;
}

.content-body {
    max-width: 900px;
    margin: 0 auto;
}

.content-body p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 400;
}

.content-body p:last-child {
    margin-bottom: 0;
}

/* Contact Form */
.contact-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.contact-section h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
}

.contact-section .intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    background-color: var(--accent);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--accent-hover);
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        max-width: 600px;
        height: 600px;
    }
    
    .content-body p {
        font-size: 1.1rem;
    }
    
    .contact-section h1 {
        font-size: 2rem;
    }
    
    nav ul {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 80px;
    }
    
    .gallery {
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .content-body p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .contact-section h1 {
        font-size: 1.75rem;
    }
    
    .contact-section .intro {
        font-size: 1rem;
    }
}
