/**
 * ============================================================================
 * STYLE.CSS - RESEARCH INFRASTRUCTURE STYLING
 * ============================================================================
 * Research Protocol: Stanford IRB #2024-IR-7891
 * Purpose: Professional styling for legitimate appearance
 * ============================================================================
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.2em;
    color: #666;
}

.folder-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.folder-container {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.folder-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.folder-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.folder-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.folder-info {
    text-align: center;
    width: 100%;
}

.folder-info h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.folder-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 8px;
}

.folder-size {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 15px;
}

.folder-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.blurred-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blurred-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.7);
    transform: scale(1.1);
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.blur-overlay::after {
    content: '🔒';
    font-size: 1.2em;
    opacity: 0.6;
}

.more-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 0.85em;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-folder-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin-top: 10px;
}

.download-folder-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.download-icon-large {
    font-size: 1.3em;
}

.download-section {
    text-align: center;
    padding: 50px 0;
    margin-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.download-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.download-section .social-engineering {
    font-size: 0.95em;
    color: #666;
    font-style: italic;
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.download-section .privacy-note {
    font-size: 0.9em;
    color: #888;
    font-style: italic;
    margin: 10px 0;
    padding: 8px;
    background: #fff3cd;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
}

.download-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-transform: none;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.download-btn:active {
    transform: scale(0.98);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    color: #999;
    font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .gallery-preview {
        grid-template-columns: 1fr;
    }
    
    .download-btn {
        padding: 15px 40px;
        font-size: 1em;
    }
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.photo-thumb:nth-child(1) {
    animation-delay: 0.1s;
}

.photo-thumb:nth-child(2) {
    animation-delay: 0.2s;
}

.photo-thumb:nth-child(3) {
    animation-delay: 0.3s;
}
