/* Professional Service Business - Custom Styles */

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Header Styles */
.site-header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-image i {
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* Service Cards */
.service-category-card {
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-icon i {
    transition: color 0.3s ease;
}

.service-category-card:hover .service-icon i {
    color: #ffc107 !important;
}

/* Location Cards */
.city-card {
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.city-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    background: #f8f9fa;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    display: block;
}

/* Search Form Enhancements */
.hero-search-form .form-control {
    border-radius: 0.5rem;
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.hero-search-form .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.hero-search-form .btn {
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 1rem 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1.2em;
}

/* Footer */
.site-footer {
    background: #343a40 !important;
}

.site-footer h5 {
    color: #ffc107;
}

.site-footer .text-light {
    color: #ced4da !important;
}

.site-footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffc107;
}

/* Error Pages */
.error-header {
    padding: 3rem 0;
}

.error-icon i {
    font-size: 5rem;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }
    
    .hero-search-form {
        margin-top: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-search-form .form-control,
    .hero-search-form .btn {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-icon i {
        font-size: 2rem !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .hero-section,
    .btn,
    .d-print-none {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}