/* Custom Styles for Harless Roofing */

:root {
    --rose-950: #1c0a0a;
    --rose-900: #2d0f12;
    --rose-800: #3f1519;
    --rose-700: #5c1f26;
    --rose-600: #7a2a33;
    --rose-500: #9c3642;
    --rose-400: #b8505c;
    --rose-300: #d47882;
    --rose-200: #e8a5ad;
    --rose-100: #f5d0d5;
    --rose-50: #fdf0f2;
}

/* Custom font families */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

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

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

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

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::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;
}

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

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Custom selection color */
::selection {
    background: #f5d0d5;
    color: #2d0f12;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card:hover {
    transform: translateY(-5px);
}

/* Form focus effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(156, 54, 66, 0.1);
}

/* Gallery item hover */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 10, 10, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Custom gradient backgrounds */
.gradient-rose {
    background: linear-gradient(135deg, #fdf0f2 0%, #fafaf5 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #2d0f12 0%, #1c0a0a 100%);
}

/* Pulse animation for CTA */
@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}
