/* Custom styles for Rita Khodorkovsky Real Estate Website */

/* Primary color scheme matching ritakhodorkovsky.info */
:root {
    --primary-blue: #007bff;
    --primary-dark: #0056b3;
    --success-green: #25d366;
    --light-bg: #f8f9fa;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navbar styling */
.navbar {
    background: white !important;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* Hero section styling */
.hero-section {
    padding-top: 100px;
}

/* Card enhancements */
.card {
    border: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Property cards */
.property-card {
    overflow: hidden;
}

.property-card img {
    transition: transform 0.3s ease;
}

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

/* Victoria AI section styling */
.victoria-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
}

/* Button styling */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success-green);
    border-color: var(--success-green);
}

/* Form styling */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Status message styling */
#appt-status {
    min-height: 1.5rem;
    font-weight: 500;
    padding: 8px;
    border-radius: 6px;
    margin-top: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        text-align: center;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* 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);
}

/* Stats section */
.stats-section {
    background: var(--primary-blue);
}

/* Property badges */
.badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 15px;
}

/* Contact section specific */
.contact-card {
    background: white;
}

.victoria-ai-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
}

/* Appointment form enhancements */
.appointment-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Utility classes */
.shadow-lg {
    box-shadow: var(--shadow) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

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

section {
    scroll-margin-top: 80px;
}

/* Hero section adjustments */
.hero-section {
    padding-top: 100px; /* Account for fixed navbar */
}

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

/* Section padding adjustments */
section {
    scroll-margin-top: 80px; /* Account for fixed navbar when scrolling to sections */
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Form styling improvements */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Status message styling */
#appt-status {
    min-height: 1.5rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-cta {
        right: 15px;
        bottom: 15px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
}

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

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

/* Retell widget container styling */
#retell-root {
    z-index: 1060;
}

/* Custom button styles for better contrast */
.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Professional spacing for contact section */
.contact-item {
    padding: 2rem;
    border-radius: 0.5rem;
    background: var(--bs-gray-100);
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: var(--bs-gray-200);
}

/* Enhanced card styling for properties */
.property-card .card-img-top {
    border-radius: 0.375rem 0.375rem 0 0;
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-dark));
}

/* Office hours notice styling */
.office-hours {
    background: var(--bs-info);
    color: var(--bs-white);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}
