/* Custom styles for Odessa Electrical Services */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Thin lines */
.thin-line {
    height: 1px;
    background: linear-gradient(to right, #d6b8d6, transparent);
}

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #a86ea8 0%, #935293 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #935293 0%, #7a407a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(147, 82, 147, 0.3);
}

.btn-secondary {
    border: 1px solid #d6b8d6;
    color: #7a407a;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f9f5f9;
    border-color: #a86ea8;
}

/* Service cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: #d6b8d6;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(90, 46, 86, 0.12);
}

/* Navigation links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #ffc030;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero cards */
.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 184, 214, 0.3);
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 192, 48, 0.2);
    box-shadow: 0 4px 20px rgba(90, 46, 86, 0.08);
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: #f9f5f9;
}

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

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

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .stat-card {
        min-width: 100%;
    }
}
