/* Hero section gradient background */
.hero-gradient {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.85) 0%, rgba(0, 180, 216, 0.85) 100%);
}

/* Property card hover effects */
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.testimonial-card:hover {
    transform: scale(1.02);
}

/* Parallax section styling */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Floating button animation */
.floating-button {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Image hover zoom effect */
.image-hover-zoom img {
    transition: transform .5s ease;
}

.image-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Modal transitions */
.modal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal.active .modal-content {
    transform: translateY(0);
}

/* Form feedback styles */
.form-success {
    display: none;
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.form-error {
    display: none;
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Loading spinner animation */
.loading-spinner {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hidden property styling */
.hidden-property {
    display: none;
}

/* Admin panel tab styling */
.admin-tab {
    padding: 0.75rem 1rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.admin-tab.active {
    border-bottom-color: #1e40af;
    color: #1e40af;
    font-weight: 600;
}

/* Admin content visibility */
.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
}

/* Image preview styling */
.preview-image {
    max-width: 100%;
    max-height: 200px;
    margin-top: 1rem;
    border-radius: 0.5rem;
    display: none;
}