/* ========================================
   Family Photo Upload Section Styles
   GitHub Issues Integration
   ======================================== */

/* ========================================
   Upload Call-to-Action Section
   ======================================== */

.upload-cta-section {
    background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--pastel-aqua) 100%);
    padding: var(--spacing-lg) 0;
    margin: var(--spacing-xl) 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.upload-cta-section::before {
    content: '📸';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    right: -50px;
    top: -50px;
    transform: rotate(15deg);
}

.upload-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.upload-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.upload-cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.upload-cta-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.upload-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--pastel-coral), var(--pastel-pink));
    color: var(--text-dark);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.upload-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.upload-btn-primary:hover::before {
    left: 100%;
}

.upload-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--pastel-rose);
}

.upload-btn-icon {
    margin-right: var(--spacing-xs);
    font-size: 1.5rem;
    vertical-align: middle;
}

.upload-instructions {
    margin-top: var(--spacing-md);
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   Family Uploads Gallery Section
   ======================================== */

.family-uploads-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--white), var(--pastel-sand));
}

.family-uploads-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.family-uploads-title {
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, var(--pastel-coral), var(--pastel-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.family-uploads-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.family-contributor-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--pastel-yellow), var(--pastel-peach));
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    margin: var(--spacing-xs);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Empty State (No Photos Yet)
   ======================================== */

.family-uploads-empty {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 0 auto;
}

.family-uploads-empty-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.family-uploads-empty-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.family-uploads-empty-text {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.upload-btn-secondary {
    display: inline-block;
    background: linear-gradient(135deg, var(--pastel-blue), var(--pastel-aqua));
    color: var(--text-dark);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.upload-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Family Uploads Grid
   ======================================== */

.family-uploads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.family-upload-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.family-upload-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.family-upload-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.family-upload-info {
    padding: var(--spacing-md);
}

.family-upload-contributor {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.contributor-icon {
    font-size: 1.2rem;
}

.family-upload-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
}

.family-upload-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   Upload Badge/Counter
   ======================================== */

.upload-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.upload-stat-card {
    background: linear-gradient(135deg, var(--pastel-lavender), var(--pastel-rose));
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    min-width: 150px;
}

.upload-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    line-height: 1;
}

.upload-stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-top: var(--spacing-xs);
}

/* ========================================
   Info Banner
   ======================================== */

.upload-info-banner {
    background: linear-gradient(135deg, var(--pastel-yellow) 0%, var(--pastel-peach) 100%);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
    border-left: 4px solid var(--pastel-coral);
}

.upload-info-banner h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.upload-info-banner p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.upload-info-banner ul {
    margin: var(--spacing-sm) 0 0 var(--spacing-md);
    color: var(--text-dark);
}

.upload-info-banner li {
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .upload-cta-section {
        padding: var(--spacing-md);
        margin: var(--spacing-md) 0;
    }

    .upload-btn-primary {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1.1rem;
        width: 100%;
        max-width: 400px;
    }

    .family-uploads-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--spacing-sm);
    }

    .family-upload-image {
        height: 250px;
    }

    .upload-stats {
        gap: var(--spacing-sm);
    }

    .upload-stat-card {
        min-width: 120px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .upload-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .family-uploads-grid {
        grid-template-columns: 1fr;
    }

    .upload-cta-icon {
        font-size: 3rem;
    }

    .family-uploads-empty-icon {
        font-size: 4rem;
    }
}

/* ========================================
   Loading State
   ======================================== */

.family-uploads-loading {
    text-align: center;
    padding: var(--spacing-xl);
}

.loading-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}
