/* NEXORA PROPERTY - Live Demo Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --gold: #d4af37;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-600: #475569;
    --gray-900: #0f172a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-premium {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: var(--white);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-900);
}

.btn-gold:hover {
    background: var(--gold-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--navy-800);
    color: var(--navy-800);
}

.btn-outline:hover {
    background: var(--navy-800);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Section */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--navy-900);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 48px;
    font-size: 18px;
}

/* Filters */
.filters {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.filter-select {
    padding: 12px 24px;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background: var(--white);
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.property-image {
    height: 200px;
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    position: relative;
}

.property-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--navy-900);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.property-content {
    padding: 24px;
}

.property-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy-900);
}

.property-location {
    color: var(--gray-600);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 16px;
}

.property-details {
    display: flex;
    gap: 16px;
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 16px;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.amenity-tag {
    background: var(--gray-100);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--gray-600);
}

/* Chat */
.chat-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-messages {
    height: 500px;
    overflow-y: auto;
    padding: 24px;
    background: var(--gray-50);
}

.message {
    margin-bottom: 16px;
    display: flex;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
}

.bot-message .message-content {
    background: var(--navy-800);
    color: var(--white);
}

.user-message .message-content {
    background: var(--gold);
    color: var(--navy-900);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-600);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }
}

.chat-input-container {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    font-size: 16px;
}

.quick-questions {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    background: var(--white);
    flex-wrap: wrap;
    justify-content: center;
}

.quick-btn {
    padding: 8px 16px;
    background: var(--gray-100);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.quick-btn:hover {
    background: var(--navy-800);
    color: var(--white);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-900);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--navy-800);
}

.success-message {
    text-align: center;
    padding: 32px;
    background: #d4edda;
    border-radius: 12px;
    color: #155724;
}

.success-message h3 {
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background: var(--navy-900);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: var(--white);
    margin: 15% auto;
    padding: 32px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray-600);
}

.close:hover {
    color: var(--navy-900);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}