/*
 * Vantry Capital Website Styles
 * Version: 1.0.0
 */

/* =============================================================================
   CSS Variables - Brand Colors (Institutional)
   ============================================================================= */
:root {
    --vantry-primary: #001f2e;        /* Deep institutional blue (darker) */
    --vantry-secondary: #5a6c7d;      /* Slate gray */
    --vantry-dark: #000d14;           /* Charcoal (darker) */
    --vantry-light: #f7f8fa;          /* Soft white */
    --vantry-gold: #b8936c;           /* Muted gold */
    --vantry-green: #2d6a4f;          /* Forest green */
    --vantry-accent: #00384d;         /* Professional blue (darker) */
    --vantry-text: #2c3e50;           /* Deep gray text */
    --vantry-border: #e1e4e8;         /* Subtle border */
}

/* =============================================================================
   Base Styles
   ============================================================================= */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--vantry-text);
    padding-top: 72px; /* Navbar height */
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.01em;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--vantry-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; line-height: 1.15; font-weight: 700; }
h2 { font-size: 2.5rem; line-height: 1.25; }
h3 { font-size: 1.75rem; line-height: 1.3; }

a {
    color: var(--vantry-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--vantry-accent);
}

/* =============================================================================
   Navbar
   ============================================================================= */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--vantry-gold) !important;
}

/* =============================================================================
   Hero Section
   ============================================================================= */
.hero-section {
    background: #ffffff;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 56px;
}

.hero-graphic {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* =============================================================================
   Feature Icons
   ============================================================================= */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* =============================================================================
   Cards
   ============================================================================= */
.card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* =============================================================================
   Buttons
   ============================================================================= */
.btn {
    border-radius: 4px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: none;
    border-width: 2px;
}

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

.btn-primary {
    background-color: var(--vantry-primary);
    border-color: var(--vantry-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--vantry-accent);
    border-color: var(--vantry-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 61, 92, 0.2);
}

.btn-outline-primary {
    border-color: var(--vantry-primary);
    color: var(--vantry-primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--vantry-primary);
    border-color: var(--vantry-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-light {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--vantry-primary);
    font-weight: 600;
}

.btn-light:hover {
    background-color: var(--vantry-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =============================================================================
   Footer
   ============================================================================= */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a:hover {
    color: var(--vantry-gold) !important;
}

/* =============================================================================
   Form Styles
   ============================================================================= */
.form-control, .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
    border-color: var(--vantry-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* =============================================================================
   Utility Classes
   ============================================================================= */
.rounded-4 {
    border-radius: 16px !important;
}

.shadow-lg {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* =============================================================================
   Responsive Adjustments
   ============================================================================= */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 4rem 0;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
}

/* =============================================================================
   Institutional Styling
   ============================================================================= */

/* Section spacing */
section {
    padding: 5rem 0;
}

section.py-5 {
    padding: 5rem 0 !important;
}

/* Refined backgrounds */
.bg-light {
    background-color: var(--vantry-light) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--vantry-primary) 0%, var(--vantry-accent) 100%) !important;
}

/* Card refinements */
.card {
    border: 1px solid var(--vantry-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card:hover {
    border-color: var(--vantry-primary);
    box-shadow: 0 8px 24px rgba(0, 61, 92, 0.12);
}

/* Stats styling */
.stat-item h1 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Trust indicators */
.trust-indicator {
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-4px);
}

/* Text refinements */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--vantry-secondary);
}

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

/* Dropdown menus */
.dropdown-menu {
    border: 1px solid var(--vantry-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 250px;
}

.dropdown-header {
    color: var(--vantry-secondary);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    color: var(--vantry-text);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--vantry-light);
    color: var(--vantry-primary);
    padding-left: 1.25rem;
}

.dropdown-item i {
    color: var(--vantry-secondary);
    width: 20px;
}

/* Nested dropdown submenu - accordion style */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu-content {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
    background-color: var(--vantry-light);
}

.dropdown-submenu.show .submenu-content {
    display: block;
}

.dropdown-submenu .submenu-content .dropdown-item {
    padding-left: 2.5rem;
    font-size: 0.9rem;
}

.dropdown-submenu .submenu-toggle::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.6rem;
    float: right;
    margin-top: 0.4rem;
    color: var(--vantry-secondary);
    transition: transform 0.2s ease;
}

.dropdown-submenu.show .submenu-toggle::after {
    transform: rotate(180deg);
}

.dropdown-submenu .submenu-toggle {
    cursor: pointer;
}

/* =============================================================================
   Hero Visualization Animations
   ============================================================================= */

/* Floating particle animations */
@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    25% {
        transform: translate(10px, -15px);
        opacity: 0.8;
    }
    50% {
        transform: translate(-5px, -25px);
        opacity: 0.6;
    }
    75% {
        transform: translate(15px, -10px);
        opacity: 0.9;
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    33% {
        transform: translate(-12px, 18px);
        opacity: 0.9;
    }
    66% {
        transform: translate(8px, -12px);
        opacity: 0.7;
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }
    30% {
        transform: translate(15px, 10px);
        opacity: 0.8;
    }
    60% {
        transform: translate(-8px, 20px);
        opacity: 0.9;
    }
}

/* Price ticker subtle animation */
.price-ticker {
    animation: priceUpdate 3s ease-in-out infinite;
}

@keyframes priceUpdate {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

/* Hero background animations */
@keyframes gridScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(80px);
    }
}

@keyframes floatCard1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

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

/* =============================================================================
   Cookie Consent Banner
   ============================================================================= */
.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3548 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-banner p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-banner a {
    color: #4dabf7;
    text-decoration: underline;
}

.cookie-consent-banner a:hover {
    color: #74c0fc;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-consent-banner .btn-primary {
    background: var(--vantry-gold);
    border-color: var(--vantry-gold);
}

.cookie-consent-banner .btn-primary:hover {
    background: #c9a47d;
    border-color: #c9a47d;
}

.cookie-consent-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-consent-banner .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-banner p {
        margin-bottom: 1rem !important;
    }

    .cookie-consent-buttons {
        justify-content: center;
    }
}
