/* Custom styles for Home Dealers Real Estate */

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Modern Header Styles */
.text-gradient {
    background: linear-gradient(90deg, #3B82F6, #1E40AF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Logo Gradient Text Effect */
.text-gradient:hover {
    background: linear-gradient(90deg, #2563EB, #1E3A8A);
    transition: all 0.3s ease;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Get Started Button Hover Effect */
.bg-gradient-to-r.from-blue-600.to-blue-800:hover {
    background: linear-gradient(90deg, #3B82F6, #1E40AF);
}

/* Active Navigation Link */
.nav-active {
    color: #3B82F6;
    border-bottom: 2px solid #3B82F6;
}

/* Hero Section Overlay */
.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Property Listing Styles */
.property-unit-type {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.property-unit-type:hover {
    background-color: #f3f4f6;
    border-radius: 4px;
    padding-left: 8px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s ease-in;
    opacity: 1; /* Set default opacity to 1 to ensure visibility */
    animation-fill-mode: forwards;
    animation-play-state: running; /* Set to running by default */
}

.slide-in-left {
    animation: slideInLeft 1.2s ease-out;
    opacity: 1; /* Set default opacity to 1 to ensure visibility */
    animation-fill-mode: forwards;
    animation-play-state: running; /* Set to running by default */
}

.slide-in-right {
    animation: slideInRight 1.2s ease-out;
    opacity: 1; /* Set default opacity to 1 to ensure visibility */
    animation-fill-mode: forwards;
    animation-play-state: running; /* Set to running by default */
}

.fade-in-up {
    animation: fadeInUp 1.2s ease-out;
    opacity: 1; /* Set default opacity to 1 to ensure visibility */
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
    animation-play-state: running; /* Set to running by default */
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.1);
}

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

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

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

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Custom Button Styles */
.btn-primary {
    background-color: #3B82F6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: white;
    color: #3B82F6;
    border: 1px solid #3B82F6;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3B82F6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
}

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

/* Form Inputs */
input:focus, textarea:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.25rem;
    }
}