/* BeyazCanavar - Y2K Apple-Inspired Minimalist Design */

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #1d1d1f;
    line-height: 1.6;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Counter styling */
.counter {
    font-size: 14px;
    color: #6e6e73;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Gallery container */
.gallery-container {
    width: 100%;
    height: 600px;
    padding: 20px;
    background: #fbfbfd;
    border-radius: 12px;
    border: 1px solid #f0f0f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery section */
.gallery {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.gallery-image {
    max-width: 600px;
    max-height: 500px;
    width: auto;
    height: auto;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.gallery-image:not([src]) {
    display: none;
}

/* Navigation buttons */
.nav-btn {
    position: absolute;
    background: transparent;
    border: 1px solid #d2d2d7;
    color: #1d1d1f;
    padding: 12px 20px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-weight: 400;
    letter-spacing: 0.3px;
    min-width: 80px;
    z-index: 10;
}

#prevBtn {
    left: -120px;
}

#nextBtn {
    right: -120px;
}

.nav-btn:hover:not(:disabled) {
    background: #f5f5f7;
    border-color: #1d1d1f;
    transform: translateY(-1px);
}

.nav-btn:active:not(:disabled) {
    transform: translateY(0);
    background: #e8e8ed;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Submit section */
.submit-section {
    background: #fbfbfd;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #f0f0f5;
    width: 100%;
    max-width: 500px;
    margin-top: 40px;
}

.submit-section h2 {
    font-size: 24px;
    font-weight: 300;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.file-label {
    display: block;
    font-size: 14px;
    color: #6e6e73;
    margin-bottom: 15px;
    font-weight: 400;
}

.file-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 20px;
    background: #ffffff;
}

.file-input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.submit-btn {
    background: #007aff;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.submit-btn:hover {
    background: #0056cc;
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
    background: #004499;
}

.submit-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.submit-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.submit-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Success/Error pages */
.back-link {
    color: #007aff;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
    display: inline-block;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #0056cc;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .gallery-container {
        height: 400px;
        padding: 15px;
    }
    
    .footer-container {
        padding: 15px;
        margin: 0 auto 40px auto;
    }
    
    .gallery {
        max-width: 100%;
    }
    
    #prevBtn {
        left: 10px;
    }
    
    #nextBtn {
        right: 10px;
    }
    
    .gallery-image {
        max-width: 100%;
        max-height: 400px;
    }
    
    .nav-btn {
        min-width: 100px;
        padding: 14px 24px;
    }
    
    .submit-section {
        padding: 30px 20px;
    }
    
    .submit-section h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gallery {
        gap: 15px;
    }
    
    .nav-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .gallery-image {
        max-height: 300px;
    }
    
    .submit-section {
        padding: 25px 15px;
    }
}

/* Loading and empty states */
.gallery-image[src=""] {
    display: none;
}

/* Focus states for accessibility */
.nav-btn:focus,
.submit-btn:focus,
.file-input:focus {
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

/* Subtle animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

/* Footer container */
.footer-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fbfbfd;
    border-radius: 12px;
    border: 1px solid #f0f0f5;
    margin-top: 40px;
}

/* Footer */
.footer {
    padding: 20px 0;
    width: 100%;
}

.footer-content {
    font-size: 14px;
    color: #6e6e73;
    font-weight: 400;
}

.footer-credit {
    margin-top: 8px;
    font-size: 12px;
    color: #86868b;
}

.footer-heart {
    color: #ff3b30;
    margin: 0 4px;
}

.footer-link {
    color: #007aff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #0056cc;
    text-decoration: underline;
}

/* Print styles */
@media print {
    .submit-section,
    .nav-btn {
        display: none;
    }
    
    .gallery-image {
        max-width: 100%;
        box-shadow: none;
    }
} 