/* Custom styles for The Buyer's Agent of East Florida */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf0f0;
}
::-webkit-scrollbar-thumb {
    background: #d45050;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8b1a2b;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 254, 249, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(139, 26, 43, 0.08);
}

.navbar-scrolled .menu-line {
    background: #8b1a2b !important;
}

/* Hero text gradient accent */
.hero-gradient-text {
    background: linear-gradient(135deg, #8b1a2b 0%, #d45050 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-20px) rotate(12deg); }
}

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

/* Pulse dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Service card hover lift */
.service-card-hover:hover {
    transform: translateY(-4px);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.6s ease;
}
.img-zoom:hover {
    transform: scale(1.05);
}

/* Mobile menu transitions */
.mobile-link {
    transition: all 0.2s ease;
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Geometric shape decorations */
.geo-shape-1 {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Selection color */
::selection {
    background: #f9d4d4;
    color: #8b1a2b;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #8b1a2b;
    outline-offset: 2px;
}

/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .font-display {
        line-height: 1.15;
    }
}

/* Print styles */
@media print {
    nav, #contact, .btn-ripple {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
