/* Custom styles for Aziel Realtors */

body {
    font-family: "Josefin Sans", sans-serif;
}

/* Animations */
.slide-in-left {
    animation: slideInLeft 1s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-in-out;
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Button hover effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-effect:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: -2;
}

.btn-hover-effect:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all .3s;
    z-index: -1;
}

.btn-hover-effect:hover:before {
    width: 100%;
}

/* Price element animation */
.price-element {
    position: relative;
    display: inline-block;
}

.price-element:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.property-card:hover .price-element:after {
    width: 100%;
}

/* CTA button animation */
.cta-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonial slider */
.testimonial-slider {
    display: flex;
    overflow-x: hidden;
}

.testimonial-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
}

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

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

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

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

/* Custom styles for the new black, yellow, and red theme */
.text-theme-primary {
    color: #e50000 !important; /* Red */
}

.text-theme-secondary {
    color: #000000 !important; /* Black */
}

.text-theme-accent {
    color: #ffc107 !important; /* Yellow */
}

.bg-theme-primary {
    background-color: #e50000 !important; /* Red */
}

.bg-theme-secondary {
    background-color: #000000 !important; /* Black */
}

.bg-theme-accent {
    background-color: #ffc107 !important; /* Yellow */
}

.border-theme-primary {
    border-color: #e50000 !important; /* Red */
}

.border-theme-secondary {
    border-color: #000000 !important; /* Black */
}

.border-theme-accent {
    border-color: #ffc107 !important; /* Yellow */
}

.hover-theme-primary:hover {
    background-color: #b30000 !important; /* Darker Red */
}

.hover-theme-secondary:hover {
    background-color: #333333 !important; /* Lighter Black */
}

.hover-theme-accent:hover {
    background-color: #e5ac00 !important; /* Darker Yellow */
}
