/* General Styles */
body {
    background-color: #1a1a1a; /* Dark background */
    color: #f0e6d2; /* Light golden text */
    font-family: 'Georgia', serif; /* Tibia-inspired serif font */
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background-color: #2d2d2d; /* Dark navbar background */
    border-bottom: 2px solid #a67c00; /* Golden border */
}

.navbar-brand {
    color: #f0e6d2;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand:hover {
    color: #e5c67c;
}

.nav-link {
    color: #f0e6d2;
    font-size: 1rem;
}

.nav-link:hover {
    color: #e5c67c; /* Highlighted link */
}

.navbar-toggler {
    border-color: #a67c00;
}

/* Hero Section */
h1, h2, h3 {
    color: #f0e6d2; /* Golden headings */
    text-shadow: 1px 1px 2px #000;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Buttons */
.btn-primary {
    background-color: #a67c00; /* Golden button */
    border-color: #a67c00;
    color: #f0e6d2;
}

.btn-primary:hover {
    background-color: #e5c67c; /* Lighter gold */
    color: #1a1a1a; /* Dark text for contrast */
}

.btn-secondary {
    background-color: #2d2d2d;
    border-color: #a67c00;
    color: #f0e6d2;
}

.btn-secondary:hover {
    background-color: #3c3c3c;
    color: #e5c67c;
}

/* Table */
.table {
    background-color: #2d2d2d; /* Dark table background */
    border-collapse: collapse;
    width: 100%;
}

.table th {
    background-color: #3c3c3c; /* Slightly lighter for header */
    color: #f0e6d2;
    border-bottom: 2px solid #a67c00;
    padding: 10px;
}

.table td {
    border-bottom: 1px solid #444;
    padding: 10px;
    color: #e5c67c;
}

.table-hover tbody tr:hover {
    background-color: #3c3c3c;
}

/* Table Rows */
.table tbody tr {
    border-bottom: 1px solid #444; /* Row separator */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.table tbody tr:nth-child(even) {
    background-color: #2a2a2a; /* Subtle alternating row color */
}

.table tbody tr:hover {
    background-color: #3c3c3c; /* Highlight row on hover */
}

/* Table Cells */
.table td {
    padding: 10px;
    font-size: 0.95rem;
    vertical-align: middle; /* Align text in the middle */
}

/* Action Buttons */
.table .btn {
    font-size: 0.8rem;
    padding: 5px 10px;
    text-transform: uppercase;
}

/* Success Button */
.table .btn-primary {
    background-color: #007bff;
    border: none;
}

.table .btn-primary:hover {
    background-color: #0056b3;
}

/* Warning Button */
.table .btn-warning {
    background-color: #ffc107;
    border: none;
}

.table .btn-warning:hover {
    background-color: #e0a800;
}

/* Danger Button */
.table .btn-danger {
    background-color: #dc3545;
    border: none;
}

.table .btn-danger:hover {
    background-color: #b02a37;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .table thead {
        display: none; /* Hide table headers for small screens */
    }

    .table tbody tr {
        display: block;
        margin-bottom: 10px;
    }

    .table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 5px;
        border: none;
    }

    .table tbody td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #a67c00;
        text-transform: uppercase;
    }
}

/* Links */
a {
    color: #a67c00;
    text-decoration: none;
}

a:hover {
    color: #e5c67c;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2d2d2d;
    color: #f0e6d2;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #a67c00;
}

/* Forms */
form input, form textarea, form select {
    background-color: #3c3c3c;
    border: 1px solid #a67c00;
    color: #f0e6d2;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
}

form input:focus, form textarea:focus, form select:focus {
    border-color: #e5c67c;
    outline: none;
}

/* Benefits Section */
.row.text-center h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f0e6d2;
}

.row.text-center i {
    font-size: 2rem;
    color: #a67c00;
    margin-bottom: 0.5rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background-color: #2d2d2d;
}

::-webkit-scrollbar-thumb {
    background-color: #a67c00;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e5c67c;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        margin-bottom: 10px;
    }

    .table {
        font-size: 0.9rem;
    }
}
