/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background-color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #ffc107;
}

a {
    color: #ffc107;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffca2c;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #ffca2c;
    border-color: #ffca2c;
    color: #000;
}

.btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #000;
}

.bg-dark {
    background-color: #1a1a1a !important;
}

.bg-black {
    background-color: #000 !important;
}

.border-warning {
    border-color: #ffc107 !important;
}

.text-warning {
    color: #ffc107 !important;
}

/* Navbar */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 0;
    height: 2px;
    background-color: #ffc107;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.1);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Forms */
.form-control,
.form-select {
    background-color: #1a1a1a;
    border-color: #333;
    color: #fff;
}

.form-control:focus,
.form-select:focus {
    background-color: #1a1a1a;
    border-color: #ffc107;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* Placeholder Styling - Consolidated and Cross-Browser */
::placeholder {
    color: white !important;
    opacity: 1 !important;
}

input::placeholder,
textarea::placeholder {
    color: white !important;
    opacity: 1 !important;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: white !important;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: white !important;
}

/* Select Dropdown Options */
.form-select option {
    background-color: #212529;
    color: #fff;
}

/* File Input Styling */
.form-control[type="file"] {
    padding: 0.375rem 0.75rem;
}

.form-control[type="file"]::file-selector-button {
    background-color: #212529;
    color: #fff;
    border: 1px solid #ffc107;
    padding: 0.375rem 0.75rem;
    margin-right: 0.5rem;
    border-radius: 0.25rem;
}

/* Tables */
.table-dark {
    background-color: #1a1a1a;
    color: #fff;
}

.table-dark th,
.table-dark td {
    border-color: #333;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 193, 7, 0.1);
}

/* Pagination */
.page-link {
    background-color: #1a1a1a;
    border-color: #333;
    color: #ffc107;
}

.page-link:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.page-item.active .page-link {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 193, 7, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #ffc107;
    color: #000 !important;
}

/* Admin Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 193, 7, 0.1);
}

.sidebar .nav-link.active {
    background-color: rgba(255, 193, 7, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .sidebar {
        position: static;
        padding: 0;
    }

    .hero-section {
        height: auto;
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

