:root {
    --primary-color: #ff6b35;    /* Orange */
    --secondary-color: #2ec4b6;  /* Teal */
    --accent-color: #011627;     /* Navy Blue */
    --success-color: #27ae60;    /* Green */
    --warning-color: #f39c12;    /* Yellow */
    --danger-color: #e74c3c;     /* Red */
    --info-color: #3498db;       /* Blue */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--accent-color);
}

.main-content {
  padding-top: 77px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    /* background removed for animated gradient */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.animated-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    left: -100px;
    top: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    right: -50px;
    top: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    left: 20%;
    bottom: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

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

/* Property Cards */
.property-card {
    border: 1px solid lightgray;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #e6e6e6;
}

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

.property-card .card-img-top {
    height: 240px;
    object-fit: cover;
}

/* Ensure consistent image sizes */
.property-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Keep text color consistent */
.property-card .text-dark:hover {
    color: #212529 !important;
}

/* Make the entire card clickable */
.property-card-link {
    color: inherit;
    text-decoration: none;
}

.property-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.property-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.property-location {
    color: var(--secondary-color);
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Custom Badges */
.badge-primary {
    background-color: var(--primary-color);
}

.badge-secondary {
    background-color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: white;
    padding: 3rem 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .property-image {
        height: 200px;
    }
}

/* Admin Dashboard */
.admin-sidebar {
    background: var(--dark-color);
    min-height: calc(100vh - 76px);
    padding: 20px 0;
}

.admin-sidebar .nav-link {
    color: white;
    padding: 10px 20px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--primary-color);
}

/* Animated Hero Background */
.hero-bg-animated {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(270deg, #ff6b35, #2ec4b6, #011627, #ff6b35);
    background-size: 600% 600%;
    animation: gradientBG 16s ease infinite;
    opacity: 0.45; /* increased for visibility */
    pointer-events: none;
}

@keyframes gradientBG {
    0% {background-position:0% 50%}
    50% {background-position:100% 50%}
    100% {background-position:0% 50%}
}

/* Fade-in Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards;
}

.fade-in-up[style*="animation-delay:0.2s"] {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section { position: relative; min-height: 400px; } 


.card-body {
  background-color: #ddd;
}