/* Dark Luxury Trading Theme - Wimont Invest Inspired */

:root {
    --gold-primary: #C9A24D;
    --gold-hover: #E0B85A;
    --gold-light: #F4D03F;
    --bg-dark: #0A0A0A;
    --bg-charcoal: #181A20;
    --bg-card: #1E1E1E;
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --text-muted: #8A8A8A;
    --border-gold: #C9A24D;
    --success-green: #10B981;
    --danger-red: #EF4444;
}

/* Global Dark Theme */
body {
    background-color: var(--bg-dark) !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gold-primary) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
}

p, .lead {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Buttons */
.btn-primary,
.btn-warning,
.btn-success {
    background: var(--gold-primary) !important;
    color: var(--bg-dark) !important;
    border: 2px solid var(--gold-primary) !important;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-primary:hover,
.btn-warning:hover,
.btn-success:hover {
    background: var(--gold-hover) !important;
    border-color: var(--gold-hover) !important;
    box-shadow: 0 4px 20px rgba(201, 162, 77, 0.4);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--gold-primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--gold-hover) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(24, 26, 32, 0.75) 100%),
                url('../img/in-cirro-slide-1.jpg') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(201, 162, 77, 0.3);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(201, 162, 77, 0.2) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 2rem;
}

.card:hover {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 8px 30px rgba(201, 162, 77, 0.15);
    transform: translateY(-5px);
}

.card-body {
    color: var(--text-secondary);
}

.card-body h2,
.card-body h5 {
    color: var(--gold-primary) !important;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(201, 162, 77, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 40px rgba(201, 162, 77, 0.2);
    transform: translateY(-8px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 77, 0.1);
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--gold-primary);
}

.feature-card h3 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Why Choose Us Section */
.why-choose-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(201, 162, 77, 0.1);
}

.why-choose-item:last-child {
    border-bottom: none;
}

.why-choose-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.why-choose-text {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Expert Analysts Section */
.expert-section {
    background: var(--bg-charcoal);
    padding: 5rem 0;
}

.expert-image {
    filter: grayscale(30%);
    border-radius: 8px;
    border: 2px solid rgba(201, 162, 77, 0.3);
}

/* Latest Trades Table */
.trades-table {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 77, 0.2);
}

.trades-table table {
    width: 100%;
    border-collapse: collapse;
}

.trades-table thead {
    background: var(--bg-charcoal);
}

.trades-table th {
    color: var(--gold-primary) !important;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gold-primary);
}

.trades-table td {
    color: var(--text-secondary);
    padding: 1rem;
    border-bottom: 1px solid rgba(201, 162, 77, 0.1);
}

.trades-table tbody tr:hover {
    background: rgba(201, 162, 77, 0.05);
}

.position-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.position-call {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

.position-put {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-red);
    border: 1px solid var(--danger-red);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-in {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-green);
}

.status-out {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-red);
}

/* Brokers Carousel */
.broker-card {
    background: var(--bg-card);
    border: 2px solid rgba(201, 162, 77, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.broker-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 40px rgba(201, 162, 77, 0.3);
    transform: translateY(-5px);
}

.broker-card.active {
    border-color: var(--gold-primary);
    box-shadow: 0 15px 50px rgba(201, 162, 77, 0.4);
}

.broker-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.broker-info-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.broker-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.broker-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 77, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    filter: brightness(1.3);
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold-primary) !important;
}

.dropdown-menu {
    background: var(--bg-card) !important;
    border: 1px solid rgba(201, 162, 77, 0.2) !important;
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
}

.dropdown-item:hover {
    background: rgba(201, 162, 77, 0.1) !important;
    color: var(--gold-primary) !important;
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-primary {
    background: var(--bg-charcoal) !important;
}

/* Footer */
footer {
    background: var(--bg-charcoal) !important;
    border-top: 1px solid rgba(201, 162, 77, 0.2);
    color: var(--text-secondary);
    padding: 3rem 0 1.5rem !important;
}

footer a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

footer .list-inline-item {
    margin-right: 1.5rem;
}

footer .copyright-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 77, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid var(--gold-primary);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--gold-primary);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Badges */
.badge {
    background: rgba(201, 162, 77, 0.2);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Accordion */
.accordion-item {
    background: var(--bg-card) !important;
    border: 1px solid rgba(201, 162, 77, 0.2) !important;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.accordion-button {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(201, 162, 77, 0.1) !important;
    color: var(--gold-primary) !important;
}

.accordion-body {
    color: var(--text-secondary);
}

/* Ticker */
.price-ticker {
    background: var(--bg-charcoal);
    padding: 1rem 0;
    border-top: 1px solid rgba(201, 162, 77, 0.2);
    border-bottom: 1px solid rgba(201, 162, 77, 0.2);
}

.price-ticker li {
    color: var(--text-secondary);
    margin-right: 2rem;
}

.bg-up {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-green);
}

.bg-down {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-red);
}

/* Hero Background Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.8) 100%);
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-gold {
    color: var(--gold-primary) !important;
}

.bg-dark-card {
    background: var(--bg-card) !important;
}

.border-gold {
    border-color: var(--gold-primary) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Additional Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* To Top Button */
.to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 162, 77, 0.3);
}

.to-top:hover {
    background: var(--gold-hover);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(201, 162, 77, 0.5);
    color: var(--bg-dark);
}

/* Page Loader */
.page-loader {
    background: var(--bg-dark) !important;
    z-index: 9999;
}

.spinner-grow {
    background-color: var(--gold-primary) !important;
}

/* Social Media Links */
.social-media-list a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-media-list a:hover {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

/* Optional Link Button Styling */
.optional-link .btn-link {
    color: var(--text-primary) !important;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.optional-link .btn-link:hover {
    color: var(--gold-primary) !important;
}
