/* =========================
   GLOBAL
========================= */
body {
    padding-top: 70px;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', sans-serif;
}

/* =========================
   THEME COLORS
========================= */
.bg-dark {
    background: linear-gradient(90deg, #800020, #a83232) !important;
}

.bg-maroon {
    background-color: #800020;
}

/* =========================
   NAVBAR (NEW ✨)
========================= */
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    transform: translateY(-2px);
}

.nav-link.active {
    border-bottom: 2px solid #ffc107;
}

/* =========================
   HERO / HEADER
========================= */
.hero {
    padding: 50px 0;
    background: linear-gradient(to right, #ffffff, #f3f3f3);
    text-align: center;
    border-bottom: 2px solid #800020;
}

.hero h3 {
    font-weight: 700;
    color: #800020;
}

.date {
    font-size: 18px;
    color: #ff5733;
    font-weight: bold;
}

/* =========================
   ANNOUNCEMENT BAR
========================= */
.announcement {
    background: #ff5733;
    color: white;
    padding: 8px;
    text-align: center;
    font-weight: 600;
}

/* =========================
   TABLE STYLING
========================= */
.table thead {
    background-color: #800020;
    color: white;
}

.table tbody tr:hover {
    background-color: #f1f1f1;
    transition: 0.2s;
}

/* =========================
   CARD UI (UPGRADED ✨)
========================= */
.card, .paper-card {
    border: none;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover, .paper-card:hover {
    transform: translateY(-5px);
}

/* Headers */
.card-header, .paper-card-header {
    background-color: #800020;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Body */
.card-body, .paper-card-body {
    padding: 20px;
    color: #333;
    line-height: 1.6;
}

/* Footer */
.paper-card-footer {
    background-color: #f8f9fa;
    padding: 15px 20px;
    text-align: center;
    font-weight: 500;
}

/* =========================
   THEME LIST
========================= */
.theme-list {
    column-count: 2;
    column-gap: 30px;
}

@media (max-width: 768px) {
    .theme-list {
        column-count: 1;
    }
}

.theme-item {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    transition: all 0.3s ease;
    break-inside: avoid;
}

.theme-item::before {
    content: "•";
    color: #800020;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.theme-item:hover {
    color: #800020;
    transform: translateX(5px);
    font-weight: 500;
}

/* =========================
   LINKS
========================= */
.paper-link {
    color: #800020;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dotted #800020;
    transition: all 0.2s ease;
}

.paper-link:hover {
    color: #600018;
    border-bottom: 1px solid #600018;
}

/* =========================
   IMAGES (NEW ✨)
========================= */
img {
    border-radius: 8px;
    transition: 0.3s;
}

img:hover {
    transform: scale(1.03);
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #800020;
    color: white;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

/* =========================
   BUTTON (OPTIONAL 🔥)
========================= */
.btn-warning {
    background-color: #ffc107;
    border: none;
    font-weight: 500;
}

.btn-warning:hover {
    background-color: #e0a800;
}

/* =========================
   BLINK TEXT
========================= */
.blink-text {
    color: red;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}