:root {
    --primary-color: #143679;
    --primary-light: #2a56af;
    --primary-dark: #0b1f48;
    --accent-color: #e5edf9;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-color: #f8fafc;
    --sharp-radius: 4px;
    --panel-radius: 8px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Playfair Display', serif;
}

.text-gradient {
    /* For dark background, we use a lighter gradient */
    background: linear-gradient(135deg, #ffffff, #e5edf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('photo-1618773928121-c32242e63f39.avif') center/cover no-repeat;
}

/* Dark overlay for text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(11, 31, 72, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

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

/* Brand Logo Container */
.logo-container {
    padding: 2rem 0;
}

.brand-logo {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    /* Adding drop shadow to ensure logo stands out on the dark background */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

/* Custom Badge */
.badge-custom {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: rgba(20, 54, 121, 0.8);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--sharp-radius);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

/* Properties Section */
.properties-section {
    padding: 3rem 0;
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

/* Property Card Styling */
.property-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--sharp-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(20, 54, 121, 0.1);
    border-color: var(--primary-light);
}

.property-image-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-image {
    transform: scale(1.08);
}

.property-content {
    padding: 1rem;
}

.property-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-light);
    letter-spacing: 0.5px;
}

.property-rating {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f59e0b;
}

.property-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.property-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Coming Soon Card Styling */
.card-coming-soon {
    position: relative;
    user-select: none;
    pointer-events: none;
}

.card-coming-soon .property-image-wrapper {
    filter: blur(4px);
    opacity: 0.8;
}

.card-coming-soon .property-content {
    filter: blur(2px);
    opacity: 0.6;
}

.coming-soon-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--sharp-radius);
}

.coming-soon-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border-radius: var(--sharp-radius);
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(20, 54, 121, 0.3);
    font-family: 'Inter', sans-serif;
}

/* Footer Corporate */
.footer-corporate {
    background-color: var(--primary-color);
    color: white;
}

.footer-corporate .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-corporate a.text-muted:hover {
    color: white !important;
}

.logo-white {
    filter: brightness(0) invert(1);
}