/* Custom CSS for Räumungsservice24 */

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Enhanced Service Tabs */
.service-tab {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(230, 98, 16, 0.1);
    border-color: rgb(230, 98, 16) !important;
}

.service-tab.active {
    background-color: white !important;
    color: black !important;
    border: 2px solid rgb(230, 98, 16) !important;
    box-shadow: 0 4px 12px rgba(230, 98, 16, 0.15);
}

/* Modern Hero Section */
.hero-video-overlay {
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

/* Enhanced Button Styles */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(230, 98, 16, 0.1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(230, 98, 16, 0.2);
}
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Dropdown menu animations */
.group:hover .group-hover\:opacity-100 {
    animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu styles */
#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 50;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

#mobile-menu.hidden {
    display: none;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
}

#mobile-menu:not(.hidden) {
    display: block;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Header sticky fixes */
.sticky-header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Mobile menu animation */
@media (max-width: 1023px) {
    #mobile-menu {
        animation: slideDown 0.3s ease-out;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    border-color: rgb(230, 98,16);
    box-shadow: 0 0 0 3px rgba(174, 38, 36, 0.1);
}

/* Statistics counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stats-counter {
    animation: countUp 0.6s ease-out;
}

/* Parallax effect for About section */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid rgb(230, 98,16);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: rgb(230, 98,16);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b1f1d;
}

/* Social icons hover effect */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: rgb(230, 98,16) !important;
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
}

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

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, rgb(230, 98,16), #d73027);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom list bullets */
.custom-list li::before {
    content: '✓';
    color: rgb(230, 98,16);
    font-weight: bold;
    margin-right: 8px;
}

/* Video container responsive */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .service-tab {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    .dark-mode {
        background-color: #1a1a1a;
        color: #ffffff;
    }
}

/* Fixed contact buttons */
.fixed-contact-buttons {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    visibility: visible !important;
}

.contact-btn {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 24px !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    outline: none !important;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation: none;
}

.phone-btn {
    background-color: rgb(230, 98,16);
    animation: pulse 2s infinite;
}

.phone-btn:hover {
    background-color: #8b1f1d;
}

.whatsapp-btn {
    background-color: #25d366;
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(174, 38, 36, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(174, 38, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(174, 38, 36, 0);
    }
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .service-tab {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .fixed-contact-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
} 