/* Modern Real Estate Theme - Premium Blue & White */

:root {
    --primary-blue: #0A2463;
    --secondary-blue: #3E92CC;
    --accent-blue: #1E88E5;
    --light-blue: #E3F2FD;
    --ultra-light-blue: #F0F7FF;
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --text-dark: #1A1A2E;
    --text-gray: #546E7A;
    --text-light: #78909C;
    --border-color: #E0E7EF;
    --shadow-sm: 0 2px 8px rgba(10, 36, 99, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 36, 99, 0.12);
    --shadow-lg: 0 16px 48px rgba(10, 36, 99, 0.16);
    --shadow-hover: 0 20px 60px rgba(30, 136, 229, 0.25);
    --gradient-primary: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    --gradient-light: linear-gradient(135deg, #E3F2FD 0%, #FFFFFF 100%);
    --gradient-accent: linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(to bottom, #F0F7FF 0%, #FFFFFF 100%);
    color: var(--text-dark);
    line-height: 1.6;
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Decorative Background Elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(62, 146, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -15%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(10, 36, 99, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 80px;
    position: relative;
    z-index: 1;
}

/* Stunning Header */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

/* Subtitle/Description */
h1::before {
    content: 'PREMIER PROPERTY MANAGEMENT';
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--secondary-blue);
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Premium Card Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Luxurious Card Design */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

/* Gradient Accent Border on Hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

/* Background Pattern */
.card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-blue);
}

.card:hover::after {
    opacity: 1;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Premium Profile Picture */
.profile-picture {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--light-blue);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover .profile-picture {
    transform: scale(1.08) rotate(3deg);
    border-color: var(--secondary-blue);
    box-shadow: 0 12px 32px rgba(30, 136, 229, 0.3);
}

/* Stylish Placeholder */
.profile-picture-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    border: 4px solid var(--light-blue);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-picture-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.card:hover .profile-picture-placeholder {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 32px rgba(30, 136, 229, 0.3);
}

/* Company Name Styling */
.company-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    flex: 1;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.card:hover .company-name {
    color: var(--accent-blue);
}

/* Services Section */
.services-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding-left: 16px;
}

.services-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Elegant Services List */
.services-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 12px;
}

.services-list li {
    padding: 12px 16px 12px 44px;
    color: var(--text-gray);
    position: relative;
    background: var(--gradient-light);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.services-list li::before {
    content: "?";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-accent);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
    transition: all 0.3s ease;
}

.card:hover .services-list li {
    background: var(--white);
    border-color: var(--light-blue);
    transform: translateX(4px);
}

.card:hover .services-list li::before {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.35);
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-light);
    font-size: 20px;
    font-weight: 500;
    grid-column: 1 / -1;
    background: var(--white);
    border-radius: 20px;
    border: 2px dashed var(--border-color);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px 60px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h1::before {
        font-size: 0.75rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .card {
        padding: 24px;
    }
    
    .profile-picture,
    .profile-picture-placeholder {
        width: 75px;
        height: 75px;
        font-size: 32px;
    }
    
    .company-name {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .company-name {
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 