/* Photo Recovery App Styles */

/* Color Variables */
:root {
    --photo-primary: #8e44ad;
    --photo-secondary: #9b59b6;
    --photo-accent: #e74c3c;
    --photo-light: #f8f9fa;
    --photo-gradient: linear-gradient(135deg, var(--photo-primary) 0%, var(--photo-secondary) 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
}

/* Header Styles */
.legal-header {
    background: var(--photo-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.app-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-icon-large i {
    font-size: 4rem;
    color: var(--photo-primary);
}

/* Download Button */
.download-btn {
    background: #34a853;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.download-btn:hover {
    background: #2d8f47;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Screenshots Section */
.screenshots-section {
    background: var(--photo-light);
}

.screenshot-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

/* Features Section */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--photo-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--photo-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--photo-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Developer Info Section */
.developer-info {
    background: var(--photo-gradient);
    color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
}

.info-item i {
    width: 30px;
    color: rgba(255,255,255,0.8);
}

/* Download CTA Section */
.download-cta {
    background: var(--photo-gradient);
    color: white;
    position: relative;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 10s ease-in-out infinite;
}

.download-cta h2 {
    color: white;
}

.download-cta .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.download-cta .btn-outline-primary {
    color: white;
    border-color: white;
}

.download-cta .btn-outline-primary:hover {
    background-color: white;
    color: var(--photo-primary);
}

/* Footer Styles */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--photo-primary);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .app-icon-large i {
        font-size: 3rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .screenshot-overlay {
        position: static;
        transform: none;
        background: rgba(0,0,0,0.8);
        padding: 15px;
    }
    
    .download-cta .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .download-cta .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
}

/* Animation Keyframes */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Modal Styles for Screenshots */
.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: var(--photo-gradient);
    color: white;
    border: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

/* Badge Styles */
.badge {
    font-size: 0.9em;
    padding: 8px 12px;
    border-radius: 20px;
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Text Colors */
.text-photo-primary {
    color: var(--photo-primary) !important;
}

/* Background Colors */
.bg-photo-primary {
    background-color: var(--photo-primary) !important;
}

.bg-photo-gradient {
    background: var(--photo-gradient) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--photo-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--photo-secondary);
} 