/* Custom Styles for Das Roofing Restoration Co. */

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

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

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

::-webkit-scrollbar-thumb {
    background: #8a2333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #581b1b;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(138, 35, 51, 0.1);
}

/* Button Hover Effects */
button, .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button::before, .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 ease;
}

button:hover::before, .btn:hover::before {
    left: 100%;
}

/* Image Hover Zoom */
img {
    transition: transform 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Loading Animation for Images */
img {
    background-color: #fcecec;
}

/* Print Styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
