/* assets/css/style.css */

:root {
    --primary-color: #D4AF37; /* Luxury Gold */
    --secondary-color: #111111; /* Dark Black */
    --accent-color: #FFFFFF; /* White */
    --text-muted: #FFFFFF;
    --card-bg: #1a1a1a;
    --transition: all 0.3s ease-in-out;
}

body {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    font-family: 'Inter', 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 1px;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-gold {
    color: var(--primary-color);
}

.bg-dark-custom {
    background-color: var(--secondary-color);
}

.bg-gold {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Buttons */
.btn-gold {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 0; /* Sharp corners for premium look */
}

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

.btn-outline-gold {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 0;
}

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

/* Navbar */
.navbar {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.navbar-brand img {
    height: 100px;
    object-fit: contain;
}

.nav-link {
    color: var(--accent-color) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 15px;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.9)), url('../images/hero-bg.png') center/cover;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease-out;
}

/* Cards (Properties & Gems) */
.luxury-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.luxury-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.luxury-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    z-index: 2;
}

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

.luxury-card-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.luxury-card-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 0 20px;
}

.footer-heading {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

#preloader h2 {
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.2rem;
    animation: pulse 1.5s infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1050;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.mobile-bottom-nav .nav-item {
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Adjust body padding to avoid content hiding behind the bottom nav */
    body {
        padding-bottom: 60px;
    }

    /* Move floating WhatsApp button slightly higher on mobile */
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
