/* Premium Banking - Obsidian & Gold Theme */

:root {
    /* Core Brand Colors */
    --primary-black: #0a0a0a;
    --primary-yellow: #ffd700;
    --primary-yellow-hover: #d4af37;
    --dark-gray: #1a1a1a;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;

    /* Functional Colors */
    --accent-500: #ffd700;
    --success: #4caf50;
    --warning: #ff9800;

    /* Modern Design System Overrides */
    --gray-50: #0f0f0f;
    --gray-200: #1a1a1a;
    --gray-500: #888888;
    --gray-600: #aaaaaa;
    --gray-700: #cccccc;
    --gray-900: #ffffff;

    --bg-main: var(--primary-black);
    --bg-card: var(--dark-gray);
}

body {
    background-color: var(--primary-black);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
}

.text-muted {
    color: var(--gray-500) !important;
}

/* Button Overrides */
.btn-modern {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-yellow) !important;
    color: var(--primary-black) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
    background: var(--primary-yellow-hover) !important;
    color: black !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.btn-ghost {
    background: transparent !important;
    color: var(--primary-yellow) !important;
    border: 1px solid var(--primary-yellow) !important;
}

.btn-ghost:hover {
    background: rgba(255, 215, 0, 0.1) !important;
}

/* Card Overrides */
.glass-card {
    background: rgba(26, 26, 26, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 1rem;
    padding: 2rem;
}

/* Badge Overrides */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-yellow);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Section Styling */
.section-modern {
    padding: 5rem 0;
    background-color: var(--primary-black);
}

.section-subtitle {
    color: var(--primary-yellow) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Section Specifics */
.hero-banking {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--primary-black);
    /* Background image will be set inline or via specific class if dynamic */
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.75) 50%, rgba(10, 10, 10, 0.95) 100%);
    position: absolute;
    inset: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    color: var(--primary-yellow) !important;
    background: rgba(255, 215, 0, 0.05) !important;
}

/* Blog Cards */
.blog-card {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-yellow);
}

.blog-image {
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

/* Floating Shapes Animation */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float-random 15s infinite ease-in-out;
    background: var(--primary-yellow);
    pointer-events: none;
}

@keyframes float-random {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
    background: radial-gradient(circle, #d4af37 0%, transparent 70%);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid var(--primary-yellow);
    border-radius: 2rem;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}