/* 
   ==========================================================================
   💎 BookingApp Premium Design System
   ========================================================================== */

:root {
    /* Color Palette - Bookly Theme */
    --primary: #171717;         /* Premium Black */
    --primary-dark: #0a0a0a;    /* Deep Black */
    --primary-light: #404040;   /* Dark Gray */
    --secondary: #525252;       /* Medium Gray */
    --accent: #FFCC00;          /* Bookly Yellow */
    --success: #10b981;         /* Emerald 500 */
    --danger: #ef4444;          /* Red 500 */
    --background: #f8fafc;      /* Slate 50 */
    --surface: #ffffff;
    --text-main: #171717;       /* Black */
    --text-muted: #525252;      /* Gray */
    
    /* Shadows & Borders */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--background);
    color: var(--text-main);
    font-family: 'Inter', 'Cairo', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   🧩 Global Components UI
   ========================================================================== */

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--surface);
}

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

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-glass {
    background: rgba(23, 23, 23, 0.95); /* Premium Black */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ==========================================================================
   🏘️ Property Cards
   ========================================================================== */

.property-card {
    overflow: hidden;
}

.property-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.property-img {
    transition: transform 0.6s ease;
}

.property-card:hover .property-img {
    transform: scale(1.1);
}

/* ==========================================================================
   📊 Statistics Cards
   ========================================================================== */

.stat-card {
    background: var(--surface);
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* ==========================================================================
   ✨ Animations
   ========================================================================== */

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

.animate-up {
    animation: fadeInUp 0.5s ease backwards;
}

/* ==========================================================================
   🌑 Footer
   ========================================================================== */

.site-footer {
    background: var(--primary-dark);
    color: #a3a3a3;
    padding: 80px 0 30px;
}

.site-footer h5 {
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--primary-light);
    transform: translateX(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    margin-top: 50px;
}
