:root {
    --primary: #3B1C10;
    --primary-bg: #1A1D21;
    --accent: #D17E62;
    --accent-color: #D17E62;
    --bg-light: #F8F6F4;
    --text-main: #2D2D2D; /* Moderated for softer look */
    --text-muted: #757575; /* Moderated for softer look */
    --border-light: #EEEEEE;
}

/* Color Utilities */
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

/* ─── Scroll Reveal Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal.revealed > [class*="col-"]:nth-child(1) { transition-delay: 0s; }
.reveal.revealed > [class*="col-"]:nth-child(2) { transition-delay: 0.1s; }
.reveal.revealed > [class*="col-"]:nth-child(3) { transition-delay: 0.2s; }
.reveal.revealed > [class*="col-"]:nth-child(4) { transition-delay: 0.3s; }

/* Smooth transition for all interactive elements */
a, .btn, .card, .badge, .nav-link, img {
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* --- RavenBot --- */
.ravenbot-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 8px 32px rgba(209, 126, 98, 0.4) !important;
    transition: all 0.3s ease;
}

.ravenbot-trigger:hover {
    transform: scale(1.1);
}

.ravenbot-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    border-radius: 16px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 2000;
    font-family: 'Open Sans', sans-serif;
    border: 1px solid var(--border-light);
}

.ravenbot-header {
    background-color: var(--primary-bg);
    color: #fff;
    border-bottom: 2px solid var(--accent);
}

.ravenbot-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.ravenbot-messages {
    height: 300px;
    overflow-y: auto;
}

.msg-bubble {
    max-width: 85%;
    border-top-left-radius: 0;
    border: 1px solid var(--border-light);
}

/* --- Navigation --- */
.navbar-custom {
    background-color: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 1.2rem 0;
}

.navbar-brand .nav-logo {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0 1.2rem;
    position: relative;
    transition: color 0.3s ease;
}

/* FORCING COLOR & UNDERLINE */
.nav-link:hover, 
.nav-link.active, 
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent) !important;
}

.btn-nav-cta {
    background-color: var(--accent) !important;
    color: #fff !important;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(209, 126, 98, 0.4) !important;
}

.btn-nav-cta:hover {
    background-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 126, 98, 0.6) !important;
}

/* --- Global Button Hover to Red --- */
.btn-dark:hover, .btn-primary:hover {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

.btn-outline-dark:hover, .btn-outline-primary:hover {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

/* Fix for any potential blue-ish text/links */
a:hover {
    color: var(--accent);
}

/* --- Creative Gallery Slider --- */
.creative-slider-container {
    max-width: 950px;
    margin: 0 auto 4rem auto;
    position: relative;
    padding: 0 15px;
}

.carousel-item-premium {
    height: 550px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
}

.carousel-item-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-item-premium:hover img {
    transform: scale(1.05);
}

.carousel-control-prev-custom,
.carousel-control-next-custom {
    width: 54px;
    height: 54px;
    background: #fff !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    z-index: 10;
    border: none;
}

.carousel-control-prev-custom { left: -27px; }
.carousel-control-next-custom { right: -27px; }

.carousel-control-prev-custom:hover,
.carousel-control-next-custom:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(209, 126, 98, 0.3);
}

/* --- WhatsApp CTA --- */
.btn-whatsapp {
    background-color: #25D366 !important;
    color: #fff !important;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
    width: 100%;
    margin-top: 1.5rem;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
    opacity: 0.95;
    color: #fff !important;
}

/* --- Homepage Sections --- */
.hero-premium {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 10rem 0;
    color: #fff;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-premium .container { position: relative; z-index: 1; }

.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

/* Video Gallery */
.video-card, .video-thumb-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-thumb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-light);
    padding: 6rem 0 3rem 0;
    background: #fff;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

/* Pagination Overrides (Removing default blue) */
.pagination .page-link {
    color: var(--text-main);
    border: none;
    margin: 0 5px;
    border-radius: 8px !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(209, 126, 98, 0.3);
}

.pagination .page-link:hover {
    background-color: var(--bg-light);
    color: var(--accent);
}

/* Global Bootstrap Overrides (Removing final blue triggers) */
.btn-accent {
    background-color: var(--accent) !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 126, 98, 0.4);
}

/* Form Focus & Checkbox (Override blue glow) */
.form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 0.25rem rgba(209, 126, 98, 0.25) !important;
}

.form-check-input:checked {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

/* Media Queries */
@media (max-width: 991px) {
    .navbar-custom { padding: 1rem 0; }
    .nav-logo { height: 55px; }
    .hero-premium { padding: 6rem 0; }
}