:root {
    --primary-color: #d4b9a0;
    --secondary-color: #6d5a4e;
    --background-color: #faf7f5;
    --text-color: #2c2420;
}

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

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

header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero {
    color: white;
    padding: 2rem;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.date {
    font-size: 1.5rem;
    font-weight: 300;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.upload-zone {
    border: 2px dashed var(--primary-color);
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    background-color: #f8f8f8;
}

.upload-label {
    font-size: 1.2rem;
    color: var(--secondary-color);
    cursor: pointer;
}

.gallery-login {
    max-width: 400px;
    margin: 0 auto;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="password"] {
    padding: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--secondary-color);
}

.photo-grid, .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.video-item {
    position: relative;
    aspect-ratio: 16/9;
    width: 100%;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.download-btn {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.5rem;
    background-color: white;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

#uploadProgress {
    margin-top: 1rem;
}

.progress-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background-color: white;
    border-radius: 4px;
}

.progress-bar {
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    margin-top: 0.5rem;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.error {
    color: #e74c3c;
    margin-top: 0.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    color: white;
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .photo-grid, .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    main {
        padding: 2rem 1rem;
    }

    .upload-zone {
        padding: 2rem;
    }
}