/* ===================================
   Properties UZ - Professional Styling
   =================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Professional Trust Theme */
    --primary-navy: #1E3A8A;
    --primary-navy-dark: #1E40AF;
    --charcoal: #374151;
    --gold: #D4AF37;
    --gold-bright: #F59E0B;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --trust-blue: #3B82F6;
    --trust-blue-light: #60A5FA;
    --success-green: #10B981;
    --text-dark: #0F172A;
    --text-slate: #1E293B;
    --gray-subtle: #E5E7EB;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Body & Layout */
body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--off-white) 0%, var(--gray-subtle) 100%);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Background Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(var(--primary-navy) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-navy) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Skyline Background */
.skyline {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    background: linear-gradient(to top, var(--primary-navy) 0%, transparent 100%);
    opacity: 0.1;
    pointer-events: none;
}

.skyline::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image:
        polygon(0% 60%, 5% 60%, 5% 100%, 0% 100%),
        polygon(8% 40%, 15% 40%, 15% 100%, 8% 100%),
        polygon(18% 55%, 23% 55%, 23% 100%, 18% 100%),
        polygon(26% 30%, 32% 30%, 32% 100%, 26% 100%),
        polygon(35% 50%, 40% 50%, 40% 100%, 35% 100%),
        polygon(43% 35%, 50% 35%, 50% 100%, 43% 100%),
        polygon(53% 45%, 58% 45%, 58% 100%, 53% 100%),
        polygon(61% 25%, 68% 25%, 68% 100%, 61% 100%),
        polygon(71% 40%, 76% 40%, 76% 100%, 71% 100%),
        polygon(79% 50%, 84% 50%, 84% 100%, 79% 100%),
        polygon(87% 35%, 93% 35%, 93% 100%, 87% 100%),
        polygon(96% 55%, 100% 55%, 100% 100%, 96% 100%);
    clip-path: polygon(
        0% 60%, 5% 60%, 5% 100%, 0% 100%,
        8% 40%, 15% 40%, 15% 100%, 8% 100%,
        18% 55%, 23% 55%, 23% 100%, 18% 100%,
        26% 30%, 32% 30%, 32% 100%, 26% 100%,
        35% 50%, 40% 50%, 40% 100%, 35% 100%,
        43% 35%, 50% 35%, 50% 100%, 43% 100%,
        53% 45%, 58% 45%, 58% 100%, 53% 100%,
        61% 25%, 68% 25%, 68% 100%, 61% 100%,
        71% 40%, 76% 40%, 76% 100%, 71% 100%,
        79% 50%, 84% 50%, 84% 100%, 79% 100%,
        87% 35%, 93% 35%, 93% 100%, 87% 100%,
        96% 55%, 100% 55%, 100% 100%, 96% 100%
    );
    background: var(--primary-navy);
    opacity: 0.8;
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Content Card - Glass Morphism */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: var(--spacing-xxl) var(--spacing-xl);
    box-shadow:
        0 10px 40px rgba(30, 58, 138, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    max-width: 700px;
    width: 100%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    animation: fadeInUp 0.8s ease-out;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 50px rgba(30, 58, 138, 0.15),
        0 25px 70px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Icon Container */
.icon-container {
    margin-bottom: var(--spacing-lg);
    animation: buildingConstruction 2s ease-out;
}

.property-icon {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 5px 15px rgba(30, 58, 138, 0.2));
    transition: transform var(--transition-normal);
}

.property-icon:hover {
    transform: scale(1.05) rotate(2deg);
}

.icon-path {
    fill: var(--primary-navy);
    stroke: var(--trust-blue);
    stroke-width: 1;
}

.door-path {
    fill: var(--gold);
}

/* Main Heading */
.main-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 3px;
    margin-bottom: var(--spacing-md);
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Tagline */
.tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--trust-blue);
    margin-bottom: var(--spacing-lg);
    animation: fadeIn 1s ease-out 0.5s both;
}

/* Divider */
.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    margin: 0 auto var(--spacing-lg) auto;
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.7s both;
}

/* Description */
.description {
    font-size: 1.125rem;
    color: var(--text-slate);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 1s ease-out 0.9s both;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1.1s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 12px;
    min-width: 150px;
    transition: transform var(--transition-normal), background var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--charcoal);
    margin-top: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-section {
    animation: fadeIn 1s ease-out 1.3s both;
}

.contact-label {
    font-size: 1rem;
    color: var(--text-slate);
    margin-bottom: var(--spacing-sm);
}

/* Email Button */
.email-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--trust-blue) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
}

.email-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, var(--trust-blue) 0%, var(--primary-navy) 100%);
}

.email-button:active {
    transform: translateY(0);
}

.email-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--charcoal);
    font-size: 0.875rem;
    animation: fadeIn 1s ease-out 1.5s both;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

@keyframes buildingConstruction {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .content-card {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .main-heading {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .property-icon {
        width: 100px;
        height: 100px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 767px) {
    :root {
        --spacing-xxl: 2.5rem;
        --spacing-xl: 2rem;
    }

    .container {
        padding: var(--spacing-md);
        min-height: 90vh;
    }

    .content-card {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: 16px;
    }

    .main-heading {
        font-size: 2.25rem;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 1.125rem;
    }

    .property-icon {
        width: 80px;
        height: 80px;
    }

    .description {
        font-size: 1rem;
    }

    .stats-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .stat-item {
        min-width: 100%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .email-button {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-lg);
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .skyline {
        height: 120px;
    }

    .footer {
        font-size: 0.75rem;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .main-heading {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    .background-pattern,
    .skyline {
        display: none;
    }

    body {
        background: white;
    }

    .content-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
