/* Custom styles for Barbearia Premium */

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b45309;
}

/* Loading spinner */
.loading-spinner {
    border: 3px solid #374151;
    border-top: 3px solid #d97706;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #d97706, #b45309);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b45309, #92400e);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

/* Card hover effects */
.service-card, .barber-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover, .barber-card:hover {
    transform: translateY(-5px);
    border-color: #d97706;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Form styling */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.2);
}

/* Appointment card styling */
.appointment-card {
    background: linear-gradient(135deg, #374151, #4b5563);
    border-left: 4px solid #d97706;
    transition: all 0.3s ease;
}

.appointment-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Status badges */
.status-confirmed {
    background: linear-gradient(135deg, #10b981, #059669);
}

.status-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.status-cancelled {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
}

/* WhatsApp button styling */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: scale(1.05);
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    min-width: 300px;
    padding: 1rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Time slot styling */
.time-slot {
    transition: all 0.3s ease;
    cursor: pointer;
}

.time-slot:hover {
    background-color: #d97706;
    transform: scale(1.05);
}

.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #6b7280;
}

.time-slot.unavailable:hover {
    background-color: #6b7280;
    transform: none;
}