/* Custom styles for Cindy Z McSpadden website */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #6e1c34 0%, #a11d3c 25%, #c2274b 50%, #d93333 75%, #8c2323 100%);
}

/* Decorative dot pattern */
.pattern-overlay {
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #a11d3c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #841d37;
}

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

.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%;
}

/* Service card hover */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon {
    transition: transform 0.4s ease;
}

/* Property image hover */
.property-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

/* Fade-in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Decorative line */
.decorative-line {
    position: relative;
}

.decorative-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #a11d3c, #d93333);
    border-radius: 2px;
}

/* Testimonial card */
.testimonial-card {
    background: linear-gradient(145deg, #fff8f8, #fff0f1);
    border-left: 4px solid #a11d3c;
}

/* Form focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #a11d3c;
    box-shadow: 0 0 0 3px rgba(161, 29, 60, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(180deg, #6e1c34 0%, #a11d3c 50%, #c2274b 100%);
    }
    
    .pattern-overlay {
        background-size: 30px 30px;
    }
}
