/* Custom CSS for Vector New York Website */

:root {
    --primary: #0b1527;
    --primary-dark: #080f1b;
    --primary-light: #132543;
    --accent: #2970e6;
    --accent-light: #4286f5;
    --text-light: #eef1f6;
    --text-muted: #a0a8b8;
    --highlight: #64b5f6; /* Changed from orange to light blue */
    --highlight-light: #90caf9;
    --light-gray: #f5f5f5;
    --success: #27ae60;
}

body {
    background-color: var(--primary);
    color: var(--text-light);
}

.text-white-50, 
.text-secondary,
.text-light-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Navbar styling */
.navbar {
    border-bottom: 1px solid rgba(42, 127, 255, 0.15);
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    z-index: 1000;
}

.navbar-scrolled {
    border-bottom: 1px solid rgba(42, 127, 255, 0.25);
    background-color: rgba(7, 14, 26, 0.98) !important;
    padding: 0.5rem 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-btn {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

/* Styling for nav links */
.nav-link {
    position: relative;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    display: inline-block;
    color: rgb(224, 224, 224);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--highlight);
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: white !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--highlight-light) !important;
}

/* Make investor services link white on hover */
.nav-item a[href*="investor_services"]:hover {
    color: white !important;
}


/* Skyline animation styling */
.skyline-container-wrapper {
    overflow: hidden;
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
    pointer-events: none;
    background-color: transparent;
}

.skyline-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 25%;
    /* background: linear-gradient(to top, rgba(7, 15, 30, 0.9), transparent); */
    background-color: transparent;
}

.skyline-building {
    position: absolute;
    bottom: 0;
    background-color: transparent;
    box-shadow: 0 0 20px rgba(42, 127, 255, 0.3);
}

.building-1 {
    height: 25%;
    width: 4%;
    left: 10%;
    animation: float1 30s infinite ease-in-out;
}

.building-2 {
    height: 40%;
    width: 5%;
    left: 25%;
    animation: float2 40s infinite ease-in-out;
}

.building-3 {
    height: 50%;
    width: 6%;
    left: 42%;
    animation: float3 35s infinite ease-in-out;
}

.building-4 {
    height: 35%;
    width: 4%;
    left: 60%;
    animation: float4 38s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { height: 25%; }
    50% { height: 28%; }
}

@keyframes float2 {
    0%, 100% { height: 40%; }
    50% { height: 45%; }
}

@keyframes float3 {
    0%, 100% { height: 50%; }
    50% { height: 55%; }
}

@keyframes float4 {
    0%, 100% { height: 35%; }
    50% { height: 40%; }
}

/* Custom hero section styling */


.nyc-skyline-bg {
    background-size: 100% 60%;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #040d17;
    position: relative;
}

/* Scroll down button styling */
.scroll-down-link {
    display: inline-block;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.scroll-down-link:hover {
    opacity: 0.8;
    transform: translateY(5px);
}

@keyframes pulse {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}


/* Property card styling */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(11, 21, 39, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 1.5rem;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    background-color: rgba(11, 21, 39, 0.95);
}

.card-img-top {
    border-radius: 4px 4px 0 0;
}

/* Listing detail page styling */
.listing-detail .property-overview .card-body {
    padding: 1.5rem;
}

.listing-detail .property-overview h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Admin dashboard styling */
.admin-dashboard .table th {
    font-weight: 600;
}

/* Custom button styles */
.btn {
    border-radius: 4px;
    padding: 0.6rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-highlight {
    background-color: var(--highlight);
    color: white;
}

.btn-highlight:hover {
    background-color: var(--highlight-light);
    color: white;
}

/* Footer styling */
footer a:hover {
    text-decoration: underline;
}

/* Contact card sticky styling */
.contact-card {
    background-color: var(--primary-dark);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    position: sticky;
    top: 90px; /* Account for navbar height + some padding */
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}