/* Reset & Base Variables */
:root {
    --primary-gold: #C5A059;
    --primary-gold-hover: #b08d46;
    --dark-bg: #121212;
    --dark-card: #1E1E1E;
    --text-main: #2C2C2C;
    --text-muted: #666666;
    --bg-light: #F9F7F2;
    --bg-white: #FFFFFF;
    --border-color: #E5E0D8;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.14);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, .brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-3 { margin-top: 16px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: #FFFFFF;
}

.btn-gold:hover {
    background-color: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.3);
}

.btn-outline-gold {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: #FFFFFF;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-title {
    color: var(--primary-gold);
    font-size: 20px;
    line-height: 1.1;
}

.brand-subtitle {
    color: #AAAAAA;
    font-size: 10px;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 28px;
}

.nav-link {
    color: #DDDDDD;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 22px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1541849546-216549ae216d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: #FFFFFF;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0.92) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    color: #CCCCCC;
    font-weight: 300;
}

/* Sections Base */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-tag {
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 34px;
    color: var(--dark-bg);
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 650px;
    margin: 10px auto 0 auto;
}

/* Apartment Showcase Catalog Styling */
.apartments-section {
    background: var(--bg-light);
    padding: 80px 0 60px 0;
}

.apartment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.apt-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apt-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.apt-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.apt-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.apt-card:hover .apt-img {
    transform: scale(1.05);
}

.apt-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(8px);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apt-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.apt-location {
    font-size: 12px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.apt-title {
    font-size: 19px;
    line-height: 1.35;
    color: var(--dark-bg);
    margin-bottom: 14px;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.apt-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border-color);
}

.apt-specs span {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.apt-specs span i {
    color: var(--primary-gold);
}

.apt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.apt-price-tag {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-gold);
}

/* Booking iFrame Container Styling */
.booking-section {
    background: #FFFFFF;
    margin-top: 0;
    position: relative;
    z-index: 20;
}

.iframe-container-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 12px;
    min-height: 550px;
}

#rentalls-iframe-container {
    width: 100%;
    min-height: 550px;
}

#rentalls-iframe-container iframe {
    width: 100% !important;
    min-height: 550px !important;
    border: none !important;
    border-radius: 8px;
}

.iframe-subfooter {
    font-size: 14px;
}


/* Benefits Section */
.benefits-section {
    background: var(--bg-light);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.benefit-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--primary-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Guide Section */
.guide-section {
    background: #FFFFFF;
}

.guide-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.guide-icon {
    font-size: 24px;
    color: var(--primary-gold);
}

.guide-list {
    list-style: none;
}

.guide-list li {
    font-size: 14px;
    margin-bottom: 12px;
    padding-left: 18px;
    position: relative;
    color: #444444;
}

.guide-list li::before {
    content: "•";
    color: var(--primary-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ Accordion */
.faq-section {
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 0 20px;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #888888;
    padding: 70px 0 30px 0;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand p {
    margin-top: 14px;
    color: #AAAAAA;
}

.copyright {
    margin-top: 24px;
    font-size: 12px;
}

.footer h4 {
    color: #FFFFFF;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #AAAAAA;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Floating AI Concierge Chat Widget */
.ai-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: var(--font-body);
}

.ai-chat-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2A2A2A 100%);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 14px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.ai-chat-toggle-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.3);
}

.ai-badge-online {
    width: 9px;
    height: 9px;
    background-color: #2ED573;
    border-radius: 50%;
    box-shadow: 0 0 8px #2ED573;
}

.ai-chat-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 520px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ai-chat-box.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
}

.ai-chat-header {
    background: var(--dark-bg);
    color: #FFFFFF;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 38px;
    height: 38px;
    background: rgba(197, 160, 89, 0.18);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ai-chat-header h4 {
    font-size: 15px;
    margin: 0;
    color: var(--primary-gold);
    font-family: var(--font-heading);
}

.ai-status {
    font-size: 11px;
    color: #AAAAAA;
}

.ai-status i {
    font-size: 8px;
    color: #2ED573;
    margin-right: 4px;
}

.ai-chat-close-btn {
    background: none;
    border: none;
    color: #AAAAAA;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.ai-chat-close-btn:hover {
    color: #FFFFFF;
}

.ai-chat-property-select {
    background: #F4F1EA;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
}

.ai-chat-property-select label {
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.ai-chat-property-select select {
    width: 100%;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: #FFFFFF;
    font-size: 12px;
    color: var(--text-main);
    outline: none;
}

.ai-chat-messages {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #FDFBF7;
}

.chat-msg {
    display: flex;
    max-width: 85%;
}

.chat-msg.user-msg {
    margin-left: auto;
    justify-content: flex-end;
}

.chat-msg.ai-msg {
    margin-right: auto;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.user-msg .msg-bubble {
    background: var(--primary-gold);
    color: #FFFFFF;
    border-bottom-right-radius: 2px;
}

.ai-msg .msg-bubble {
    background: #FFFFFF;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.ai-chat-input-area {
    padding: 12px;
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
}

.ai-chat-input-area input {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.ai-chat-input-area input:focus {
    border-color: var(--primary-gold);
}

.ai-chat-send-btn {
    width: 38px;
    height: 38px;
    background: var(--primary-gold);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ai-chat-send-btn:hover {
    background: var(--primary-gold-hover);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .iframe-footer { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark-bg);
        flex-direction: column;
        padding: 40px;
        transition: left 0.3s ease;
    }
    .nav-menu.active { left: 0; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .iframe-title { display: none; }
}
