/* ============================================================
   LUXURY DARK THEME OVERRIDES (ENHANCED)
   Base: Bootstrap 4 | Theme: Sky Castle Dark Elite
   ============================================================ */

/* 1. Load Luxury Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Manrope:wght@200;300;400;500;600&display=swap');

/* 2. Global Resets & Body */
body {
    background-color: #f8f0e1 !important; 
    color: #3f0b0b !important; /* Soft White for better contrast */
    font-family: 'Manrope', sans-serif !important;
    font-weight: 300;
    line-height: 1.8; /* Luxurious breathing room */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbar for Elite Feel */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fff9e5;
}
::-webkit-scrollbar-thumb {
    background: #3a4b66;
    border-radius: 5px;
    border: 2px solid #4d2e00;
}
::-webkit-scrollbar-thumb:hover {
    background: #3d2500; /* Gold on hover */
}

/* Selection Color */
::selection {
    background: #3d2500;
    color: #fff9e5;
}
h1 {font-family: 'Cinzel', serif !important;
    color: #3f0b0b !important;
    text-transform: uppercase;
    letter-spacing: 2px; /* Wider spacing = more luxury */
    margin-bottom: 1.5rem;}


/* 3. Typography Overrides */
h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4,
.navbar-brand {
    font-family: 'Cinzel', serif !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px; /* Wider spacing = more luxury */
    margin-bottom: 1.5rem;
}
h2, h6,
.h2, .h6,
.display-1, .display-2, .display-3, .display-4,
.navbar-brand {
    font-family: 'Cinzel', serif !important;
    color: #3f0b0b !important;
    text-transform: uppercase;
    letter-spacing: 2px; /* Wider spacing = more luxury */
    margin-bottom: 1.5rem;
}
.lead, .card-subtitle, small, .small, blockquote footer {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    color: #381b00ea !important;
    letter-spacing: 0.5px;
}

a {
    color: #3d2500;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth easing */
    text-decoration: none !important;
}
a:hover {
    color: #9e6900; /* Lighter gold on hover */
    text-shadow: 0 0 10px rgba(208, 168, 103, 0.4);
}

/* 4. Component Overrides */

/* Cards with Glassmorphism */
.card {
    background-color: #7b858af2 !important; /* #7b858af2 with slight transparency */
    border: 1px solid rgba(208, 168, 103, 0.15);
    backdrop-filter: blur(10px); /* Premium blur effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card:hover {
    transform: translateY(-5px); /* Elegant lift */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(208, 168, 103, 0.4); /* Gold border glows slightly */
}

.card-header, .card-footer {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(208, 168, 103, 0.1);
}

/* Inputs & Forms */
.form-control {
    background-color: #0f1521 !important; /* Slightly darker than card */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #3d2500 !important;
    padding: 12px 15px; /* Taller inputs feel more premium */
    border-radius: 2px; /* Sharper corners */
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #0f1521 !important;
    border-color: #3d2500;
    box-shadow: 0 0 15px rgba(208, 168, 103, 0.15);
}

/* Tables */
.table {
    color: #3d2500 !important;
}
.table th, .table td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 1rem; /* More spacing in tables */
    vertical-align: middle;
}
.table thead th {
    border-bottom: 2px solid #3d2500;
    color: #3d2500;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    font-weight: 500;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Modals */
.modal-content {
    background-color: #3d2500;
    border: 1px solid #c57600;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7);
}
.modal-header {
    border-bottom: 1px solid rgba(208, 168, 103, 0.2);
}
.modal-footer {
    border-top: 1px solid rgba(208, 168, 103, 0.2);
}

/* Dropdowns */
.dropdown-menu {
    background-color: #7b858af2;
    border: 1px solid rgba(208, 168, 103, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 0.5rem 0;
}
.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    font-family: 'Manrope', sans-serif;
    transition: all 0.2s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: #3d2500;
    color: #3d2500;
    padding-left: 25px; /* Slide effect */
}

/* List Groups */
.list-group-item {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}
.list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Buttons - Metallic Gold Gradient */
.btn {
    border-radius: 2px; /* Luxury implies structure */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 30px;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    /* Gradient for metallic look */
    background: linear-gradient(135deg, #3d2500 0%, #b88a44 100%) !important;
    border: 1px solid #3d2500 !important;
    color: #0f1521 !important;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e3c07e 0%, #cfaa65 100%) !important; /* Brighter gold */
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(208, 168, 103, 0.4);
}

.btn-outline-primary {
    color: #3d2500 !important;
    border: 1px solid #3d2500 !important;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #3d2500 !important;
    color: #0f1521 !important;
    box-shadow: 0 0 15px rgba(208, 168, 103, 0.3);
}

/* Navbar */
.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .active > .nav-link {
    color: #3d2500 !important

}