@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    line-height: 1.6;
    color: #334155;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bg-overlay {
    background-color: rgba(0, 0, 0, 0.65);
}

/* Navigation enhancements */
nav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Hero section enhancements */
#hero {
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Form styling */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Chat Bubble Styles */
#chat-bubble {
    z-index: 1000;
}

#chat-button {
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(185, 28, 28, 0.3);
}

#chat-button:hover {
    box-shadow: 0 12px 35px rgba(185, 28, 28, 0.4);
}

#chat-button:active {
    transform: scale(0.95);
}

/* Button pulse effect */
@keyframes chatPulse {
    0% {
        box-shadow: 0 8px 25px rgba(185, 28, 28, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(185, 28, 28, 0.5);
    }
    100% {
        box-shadow: 0 8px 25px rgba(185, 28, 28, 0.3);
    }
}

#chat-button.pulse {
    animation: chatPulse 2s infinite;
}

/* Loading spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #chat-bubble {
        bottom: 1rem;
        right: 1rem;
    }
    
    #chat-button {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    #chat-bubble {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Desktop enhancements */
@media (min-width: 1025px) {
    #chat-bubble {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Print styles */
@media print {
    nav, footer, #chat-bubble {
        display: none !important;
    }
}