/* Atalia Apartments - Ultra-Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gold: #C8A96A;
    --gold-hover: #B59353;
    --gold-light: #E8D6B0;
    --dark-bg: #0D0D0D;
    --dark-card: #141414;
    --dark-border: rgba(200, 169, 106, 0.2);
    --secondary-white: #F5F5F5;
    --text-muted: #D1D5DB;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --glass-bg: rgba(20, 20, 20, 0.85);
    --glass-border: rgba(200, 169, 106, 0.3);
    --gold-gradient: linear-gradient(135deg, #C8A96A 0%, #E8D6B0 50%, #B59353 100%);
    --dark-gradient: linear-gradient(180deg, #0D0D0D 0%, #161616 100%);
    --box-shadow-gold: 0 10px 30px rgba(200, 169, 106, 0.15);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--secondary-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: 0.5px;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-light);
}

.text-muted {
    color: #D1D5DB !important;
}

.text-light {
    color: #F9FAFB !important;
}

p, span, li, label {
    color: #E5E7EB;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

#atalia-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-gold);
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.loader-line {
    width: 150px;
    height: 2px;
    background: rgba(200, 169, 106, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    animation: loaderAnim 1.5s infinite;
}

@keyframes loaderAnim {
    0% { left: -100%; }
    100% { left: 100%; }
}

.atalia-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(250, 250, 250, 0.1);
}

.atalia-nav.scrolled {
    padding: 12px 0;
    background: rgba(13, 13, 13, 0.98);
    border-bottom: 1px solid var(--dark-border);
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFF !important;
    letter-spacing: 2px;
}

.brand-logo span {
    color: var(--primary-gold);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #F3F4F6 !important;
    margin: 0 12px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold) !important;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    border: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(200, 169, 106, 0.3);
}

.btn-gold:hover {
    background: var(--gold-light);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 169, 106, 0.4);
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

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

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    filter: brightness(0.45);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-tag {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #F3F4F6;
    font-weight: 400;
    margin-bottom: 40px;
}

.search-container {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.search-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.search-field label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-gold);
    margin-bottom: 6px;
    font-weight: 600;
}

.search-field input, .search-field select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFF;
    border-radius: 6px;
    padding: 10px 14px;
    width: 100%;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-field input:focus, .search-field select:focus {
    border-color: var(--primary-gold);
}

.search-field select option {
    background: #141414;
    color: #FFF;
}

.section-padding {
    padding: 100px 0;
}

.sub-title {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.room-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-gold);
    border-color: var(--primary-gold);
}

.room-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-img-wrapper img {
    transform: scale(1.08);
}

.room-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary-gold);
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-weight: 600;
}

.room-card-body {
    padding: 25px;
}

.room-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.room-price span {
    font-size: 0.85rem;
    color: #D1D5DB;
    font-family: var(--font-body);
    font-weight: 400;
}

.room-features-icons {
    display: flex;
    gap: 15px;
    color: #D1D5DB;
    font-size: 0.85rem;
    margin: 15px 0 20px 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 35px;
}

footer {
    background: #080808;
    border-top: 1px solid var(--dark-border);
    padding-top: 80px;
    padding-bottom: 30px;
    color: #D1D5DB;
}

footer h5 {
    color: #FFF;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: #D1D5DB;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--primary-gold);
}

#ai-chat-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(200, 169, 106, 0.5);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease;
}

#ai-chat-trigger:hover {
    transform: scale(1.1);
}

#ai-chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    height: 480px;
    background: #141414;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    z-index: 9999;
    overflow: hidden;
}

.chat-header {
    background: var(--dark-bg);
    padding: 15px 20px;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.chat-msg.bot {
    background: rgba(200, 169, 106, 0.15);
    border: 1px solid var(--dark-border);
    color: #FFF;
    align-self: flex-start;
}

.chat-msg.user {
    background: var(--primary-gold);
    color: #000;
    align-self: flex-end;
    font-weight: 500;
}

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

.chat-input-area input {
    flex: 1;
    background: #1E1E1E;
    border: 1px solid rgba(255,255,255,0.1);
    color: #FFF;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
}

/* Ultra-Luxury Toast & Alert Modal UI */
#atalia-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.atalia-toast {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid #C8A96A;
    border-radius: 10px;
    padding: 16px 24px;
    color: #FFFFFF;
    box-shadow: 0 15px 35px rgba(200, 169, 106, 0.3);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
    pointer-events: auto;
    animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

#atalia-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.atalia-modal-card {
    background: #141414;
    border: 1px solid #C8A96A;
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(200, 169, 106, 0.35);
    animation: modalIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 2.1rem; }
    .search-box { padding: 20px; }
    .search-container { margin-top: -30px; }
    .glass-card { padding: 22px; }
    #ai-chat-box { width: 92%; right: 4%; bottom: 85px; height: 420px; }
    #atalia-toast-container { right: 15px; top: 15px; left: 15px; }
    .atalia-toast { min-width: auto; width: 100%; }
    .room-img-wrapper { height: 230px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.95rem; }
    .hero-tag { font-size: 0.75rem; letter-spacing: 2px; }
    .btn-gold, .btn-outline-gold { padding: 10px 18px; font-size: 0.8rem; }
    .room-img-wrapper { height: 200px; }
    .section-padding { padding: 60px 0; }
    .brand-logo { font-size: 1.5rem; }
}
