/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #d4af37;
    --secondary-color: #c5a059;
    --accent-color: #0a0a0a;
    --text-dark: #171717;
    --text-light: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: var(--text-dark);
}

/* Navbar Modernization */
.navbar {
    background-color: #0a0a0a !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}
.navbar-brand .text-secondary {
    color: #ffffff !important;
}

.nav-link {
    color: #f8fafc !important;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #0a0a0a !important;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Hero Section - Posh & Premium */
.hero-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #171717 100%);
    color: white;
    padding: 60px 0 160px 0; /* Tight padding with room at bottom for filter card overlap */
    min-height: auto; 
    display: flex;
    align-items: center;
    border-radius: 0 0 40px 40px; /* Reduced border radius */
    margin-bottom: 40px; /* Reduced gap */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Waving Hand Animation */
.waving-hand {
    display: inline-block;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
}
@keyframes wave {
    0% { transform: rotate(0.0deg) }
    10% { transform: rotate(14.0deg) }
    20% { transform: rotate(-8.0deg) }
    30% { transform: rotate(14.0deg) }
    40% { transform: rotate(-4.0deg) }
    50% { transform: rotate(10.0deg) }
    60% { transform: rotate(0.0deg) }
    100% { transform: rotate(0.0deg) }
}

/* Typing Effect Cursor */
.typewriter-cursor {
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    z-index: -1;
}

/* Floating Shapes - Elegant & Subtle */
.shape {
    position: absolute;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    animation: float 25s infinite ease-in-out;
}

.shape-1 {
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #d4af37; /* Gold */
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: #1e293b; /* Deep slate */
    border-radius: 50%;
    animation-delay: -5s;
}

.shape-3 {
    top: 20%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: #c5a059; /* Champagne */
    border-radius: 50%;
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(5deg); }
    66% { transform: translate(-20px, 30px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.hero-title {
    font-weight: 800;
    font-size: 5rem;
    /* Bigger font */
    margin-bottom: 30px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-text {
    font-size: 1.5rem;
    /* Bigger text */
    opacity: 0;
    transform: translateY(30px);
    margin-bottom: 40px;
    animation: fadeUp 1s ease forwards 0.3s;
    font-weight: 300;
}

.hero-btn {
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.6s;
    transition: all 0.3s ease;
    padding: 15px 50px !important;
    /* Bigger button */
    font-size: 1.25rem !important;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.price-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.location-badge {
    background-color: #eef2ff;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

/* Filters */
.filter-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 30px;
    margin-top: -120px;
    /* More overlap */
    position: relative;
    z-index: 10;
}

.form-select,
.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 0.95rem;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

/* Admin Sidebar Layout */
#wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    transition: margin .25s ease-out;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
}

body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
        margin-left: -15rem;
    }
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--primary-color);
}

.nav-link {
    color: rgba(255, 255, 255, .75) !important;
}

.nav-link:hover {
    color: #fff !important;
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}