/* ciitalia - Reusable Components */

/* Buttons */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    color: white;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
    color: white;
}

.btn-primary-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* Cards */
.card-modern {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: none;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.card-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
}

/* Badges */
.badge-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.badge-status-pending {
    background-color: var(--warning-color);
    color: #000;
}

.badge-status-confirmed {
    background-color: var(--success-color);
    color: white;
}

.badge-status-completed {
    background-color: #6c757d;
    color: white;
}

.badge-status-cancelled {
    background-color: var(--danger-color);
    color: white;
}

/* Loading Spinner */
.spinner-custom {
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navbar - Landing Style */
.navbar-custom {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color var(--transition-base);
}

.nav-link-custom:hover {
    color: white !important;
}

/* Navbar - Modern Style (for app pages) */
.navbar-modern {
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    border: none;
}

.navbar-brand-modern {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link-modern {
    color: #2d3748 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all var(--transition-base);
}

.nav-link-modern:hover {
    background: #f7fafc;
    color: var(--primary-color) !important;
}

.nav-link-modern.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
}

/* Section Headers */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
}

/* Stats Card */
.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Card */
.feature-card {
    text-align: center;
    padding: 30px;
    transition: transform var(--transition-base);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}
