/* =========================================
   VARIABLES & GLOBAL STYLES
   ========================================= */
:root {
    --primary-color: #c99c33; /* Luxurious Gold/Bronze */
    --primary-dark: #a67f25;
    --secondary-color: #1a1a2e; /* Dark Navy/Slate */
    --text-color: #4a4a4a;
    --light-bg: #f8f9fa;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-playfair {
    font-family: var(--font-heading);
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: #2c2c44 !important; }
.bg-dark { background-color: var(--secondary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }

/* Custom Buttons */
.btn-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(201, 156, 51, 0.3);
}
.btn-outline-primary.btn-custom {
    background-color: transparent;
    color: var(--primary-color);
}
.btn-outline-primary.btn-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background-color: var(--secondary-color);
    padding: 10px 0;
    font-size: 0.85rem;
}
.social-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 15px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar-brand .brand-text {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}
.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 1rem;
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 2rem);
}

/* =========================================
   HERO SLIDER
   ========================================= */
.carousel-item {
    height: 85vh;
    min-height: 600px;
}
.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 6s ease;
}
.carousel-item.active .slider-image {
    transform: scale(1.05); /* Slight zoom effect on active slide */
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
}
.carousel-caption {
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 0;
    text-align: left;
}
.slide-title {
    animation: fadeInUp 1s ease 0.2s both;
}
.slide-text {
    animation: fadeInUp 1s ease 0.4s both;
}
.carousel-caption .btn {
    animation: fadeInUp 1s ease 0.6s both;
}
.carousel-indicators {
    margin-bottom: 2rem;
}
.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 6px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease;
}
.carousel-indicators button.active {
    background-color: transparent !important;
    border-color: var(--primary-color) !important;
    transform: scale(1.3);
}

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

/* =========================================
   MARQUEE
   ========================================= */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}
.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls exactly half since content is duplicated */
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.tracking-wide {
    letter-spacing: 2px;
}
.about-image-wrapper {
    position: relative;
}
.experience-badge {
    bottom: -30px;
    right: -30px;
    z-index: 10;
}
@media (max-width: 991.98px) {
    .experience-badge {
        right: 20px;
        bottom: 20px;
    }
}

/* =========================================
   PROPERTIES SECTION
   ========================================= */
.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}
.property-card .card-img-top {
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.property-price {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    width: 100%;
    left: 0 !important;
    margin: 0 !important;
    padding: 20px 20px 10px 20px;
}
.property-card .badge {
    z-index: 2;
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.hover-shadow.transition {
    transition: all 0.3s ease;
}
.hover-shadow:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
}
.hover-shadow:hover .icon-wrapper {
    background-color: var(--primary-color) !important;
    color: white !important;
}
.icon-wrapper {
    transition: all 0.3s ease;
}

/* =========================================
   FOOTER
   ========================================= */
.footer-links a {
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}
.social-links-footer a {
    transition: all 0.3s ease;
}
.social-links-footer a:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-3px);
}
.placeholder-light::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   SEARCH FILTER BAR
   ========================================= */
.search-filter-wrapper {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.search-filter-wrapper select {
    box-shadow: none;
    font-weight: 500;
}
.search-filter-wrapper select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(201, 156, 51, 0.25);
}

/* =========================================
   AGENTS SECTION
   ========================================= */
.social-links-agent a {
    transition: color 0.3s ease;
}
.social-links-agent a:hover {
    color: var(--primary-color) !important;
}

/* =========================================
   FLOATING ACTION BUTTONS
   ========================================= */
.floating-chat, .back-to-top {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}
.floating-chat {
    right: 30px;
    background-color: #25D366; /* WhatsApp Green */
}
.floating-chat:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-5px);
}
.back-to-top {
    left: 30px;
    background-color: var(--primary-color);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

/* =========================================
   STICKY SOCIAL BAR
   ========================================= */
.sticky-social-bar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 999;
}
.sticky-social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}
.sticky-social-bar a:hover {
    transform: translateX(0);
    width: 60px;
}
.sticky-social-bar .facebook { background-color: #3b5998; }
.sticky-social-bar .twitter { background-color: #1da1f2; }
.sticky-social-bar .instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.sticky-social-bar .youtube { background-color: #ff0000; }
