/* Additional responsive styles and enhancements */

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu {
        display: none;
    }
    
    .contact-info {
        display: none;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .overview-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-text .section-header,
    .about-text .section-header {
        text-align: center;
    }
    
    .company-highlights {
        grid-template-columns: 1fr;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .emergency-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
      .contact-info-section {
        text-align: center;
    }
      .hero-image-container {
        height: 450px;
    }
    
    .circular-design {
        width: 320px;
        height: 320px;
    }
    
    .center-image {
        width: 200px;
        height: 200px;
    }
      .usp-item {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .usp-1 { top: -15px; }
    .usp-2 { right: -70px; }
    .usp-3 { right: -70px; }
    .usp-4 { bottom: -15px; }
    .usp-5 { left: -70px; }
    .usp-6 { left: -70px; }
}

@media (max-width: 480px) {
    .page-header-content h1 {
        font-size: 1.8rem;
    }
    
    .mvv-card,
    .service-card.detailed,
    .team-member,
    .portfolio-item {
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .mvv-card {
        padding: 1.5rem;
    }
    
    .service-card.detailed {
        padding: 1.5rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }      .hero-image-container {
        height: 350px;
    }
    
    .circular-design {
        width: 250px;
        height: 250px;
    }
      .center-image {
        width: 160px;
        height: 160px;
    }
    
    .center-image img {
        width: 110%;
        height: 110%;
        min-width: 100%;
        min-height: 100%;
    }
      .usp-item {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .usp-1 { top: -12px; }
    .usp-2 { right: -55px; }
    .usp-3 { right: -55px; }
    .usp-4 { bottom: -12px; }
    .usp-5 { left: -55px; }
    .usp-6 { left: -55px; }
}

/* Enhanced button animations */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Portfolio Filter Animation */
.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

/* Service card hover effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.mvv-card::before,
.team-member::before,
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before,
.mvv-card:hover::before,
.team-member:hover::before,
.portfolio-item:hover::before {
    opacity: 1;
}

/* Loading animations */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ff6b35;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 18px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Enhanced form styling */
.form-group {
    position: relative;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label {
    transform: translateY(-25px);
    font-size: 12px;
    color: #dc2626;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #9ca3af;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Accessibility Improvements */
.btn:focus,
.filter-btn:focus,
input:focus,
select:focus,
textarea:focus,
.nav-menu a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .scroll-to-top,
    .btn,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .page-header {
        background: none !important;
        color: #000 !important;
        padding: 20px 0 !important;
    }
    
    .page-header-content h1,
    .page-header-content p {
        color: #000 !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .service-card,
    .mvv-card,
    .team-member {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
        color: #fff;
    }
    
    .btn-secondary {
        background: #fff;
        border: 2px solid #000;
        color: #000;
    }
    
    .service-icon,
    .mvv-icon,
    .location-icon {
        background: #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
}

.center-image img {
        width: 110%;
        height: 110%;
        min-width: 100%;
        min-height: 100%;
    }
