
/* Navbar height compensation */
body {
    padding-top: 70px; /* Adjust this value based on your navbar height */
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030; /* Ensure navbar stays above other content */
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 64, 175, 0.98) 100%) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Make navbar transparent on scroll */
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Dropdown menu styling */
.dropdown-menu {
    background-color: rgba(15, 23, 42, 0.95);
    border: none;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Main content container */
.main-content {
    margin-top: 20px; /* Additional spacing if needed */
    position: relative;
    z-index: 1;
}

/* Hero Section with more visible background */
.hero-section {
    position: relative;
    background: 
        linear-gradient(rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.7)), /* Reduced opacity */
        url('../images/crypto-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 8rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Optional: Add a subtle pattern overlay for better text contrast */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0,0,0,0.15) 1px, transparent 1px);
    background-size: 10px 10px;
    z-index: 1;
    opacity: 0.5;
}





.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(30, 64, 175, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section {
        padding: 6rem 0;
        min-height: auto;
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 2rem;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
}


/* Text shadow for better contrast */
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Button shadows */
.btn.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



.feature-icon {
    transition: all 0.3s ease;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
}

.btn-primary {
    background-color: #2a5298;
    border-color: #2a5298;
}

.btn-primary:hover {
    background-color: #1e3c72;
    border-color: #1e3c72;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.chart-loading-spinner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    body {
        padding-top: 56px; /* Adjust for smaller navbar height on mobile */
    }
    
    .main-content {
        margin-top: 10px;
    }
}