/* Custom styles for FileShare */

/* Global styles */
html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: #f8f9fa;
}

.container {
    flex: 1;
}

/* Hero section */
.hero {
    position: relative;
    background-color: #4a76a8;
    background-image: linear-gradient(135deg, #4a76a8 0%, #3a5783 100%);
    color: white;
}

.hero.is-large .hero-body {
    padding: 12rem 1.5rem;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Features section */
.features-section {
    padding: 5rem 1.5rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: #4a76a8;
    font-size: 3rem;
}

/* Upload form */
.upload-area {
    border: 2px dashed #4a76a8;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s;
    background-color: rgba(74, 118, 168, 0.05);
    cursor: pointer;
}

.upload-area.highlight {
    background-color: rgba(74, 118, 168, 0.1);
    border-color: #3a5783;
}

.upload-icon {
    font-size: 3rem;
    color: #4a76a8;
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1.2rem;
    color: #4a4a4a;
}

.upload-progress {
    margin-top: 1.5rem;
}

/* File cards */
.file-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s;
}

.file-card:hover {
    transform: translateY(-5px);
}

.file-card .card-content {
    flex-grow: 1;
}

.file-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.file-actions {
    display: flex;
    justify-content: space-between;
}

/* Progress bar */
.progress-small {
    height: 0.5rem;
}

/* Dashboard stats */
.stat-box {
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background: white;
    height: 100%;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #7a7a7a;
    font-size: 0.9rem;
}

.stat-icon {
    font-size: 2rem;
    color: #4a76a8;
    margin-bottom: 1rem;
}

/* User profile */
.profile-card {
    border-radius: 8px;
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4a76a8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: 1.5rem;
}

/* Installation wizard */
.install-step {
    padding: 2rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4a76a8;
    color: white;
    font-weight: bold;
    margin-right: 1rem;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Download page */
.download-box {
    text-align: center;
    padding: 3rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.download-icon {
    font-size: 4rem;
    color: #4a76a8;
    margin-bottom: 1.5rem;
}

.download-info {
    margin-bottom: 2rem;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    color: #7a7a7a;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero.is-large .hero-body {
        padding: 6rem 1.5rem;
    }
    
    .feature-box {
        margin-bottom: 1.5rem;
    }
    
    .upload-area {
        padding: 2rem;
    }
    
    .stat-box {
        margin-bottom: 1rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Helper classes */
.mb-6 {
    margin-bottom: 3rem !important;
}

.mt-6 {
    margin-top: 3rem !important;
}

.has-shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.is-clickable {
    cursor: pointer;
}

/* Customizing Bulma */
.navbar.is-primary {
    background-color: #4a76a8;
}

.button.is-primary {
    background-color: #4a76a8;
}

.button.is-primary:hover {
    background-color: #3a5783;
}

.notification.is-primary {
    background-color: #4a76a8;
}

.progress.is-primary::-webkit-progress-value {
    background-color: #4a76a8;
}

.progress.is-primary::-moz-progress-bar {
    background-color: #4a76a8;
}

.progress.is-primary::-ms-fill {
    background-color: #4a76a8;
}

.tabs.is-primary a {
    color: #4a76a8;
}

.tabs.is-primary a:hover {
    color: #3a5783;
}
