/* General Layout */
body {
    font-family: 'Merriweather', serif;
    background: black; /* dark background */
    margin: 0;
    padding: 0;
    color: #e0e0e0; /* light text */
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

h4 {
    margin-top: 40px;
    font-weight: 700;
    color: #f5c16c; /* warm golden accent */
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
    background: #1e1e1e; /* darker navbar */
    border-bottom: 1px solid #333;
    border-radius: 12px;
    padding: 14px 24px;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f5c16c;
    text-decoration: none;
}

/* Hamburger menu icon */
.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hide checkbox */
#menu-toggle {
    display: none;
}

/* Navigation links */
.nav-links, .nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a, .nav-menu li a {
    text-decoration: none;
    color: #e0e0e0;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links li a:hover, .nav-menu li a:hover {
    background-color: #f5c16c; 
    color: #121212;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links, .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e1e1e;
        flex-direction: column;
        display: none;
        padding: 12px 0;
        border-top: 1px solid #333;
    }

    #menu-toggle:checked + .menu-icon + .nav-links,
    #menu-toggle:checked + .menu-icon + .nav-menu {
        display: flex;
    }

    .nav-links li, .nav-menu li {
        padding: 10px 20px;
    }
}

/* Search form */
.search-form {
    display: flex;
    max-width: 450px;
    margin: 25px 0;
    border-radius: 30px;
    overflow: hidden;
    background: #1e1e1e;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.search-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    background: #121212;
    color: #e0e0e0;
}

.search-form button {
    padding: 12px 18px;
    border: none;
    background: #f5c16c;
    cursor: pointer;
    color: #121212;
    font-weight: 600;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #e0a841;
}

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

/* Card styling */
.card {
    background: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.9);
}

.card-img, .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #2a2a2a;
}

.card-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h5 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #f5c16c;
}

.card-body p {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: #cfcfcf;
    line-height: 1.4;
}

/* Card actions */
.card-actions {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 12px;
}

.card-actions .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
    color: #121212;
}

.card-actions .btn-primary {
    background: #f5c16c;
}

.card-actions .btn-primary:hover {
    background: #e0a841;
}

.card-actions .btn-warning {
    background: #d17b3b;
}

.card-actions .btn-warning:hover {
    background: #b05a21;
}

.card-actions .btn-danger {
    background: #a14a3f;
}

.card-actions .btn-danger:hover {
    background: #7f382f;
}

/* Simple list */
.simple-list {
    margin-top: 40px;
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.simple-list h4 {
    margin-bottom: 15px;
    font-size: 1.15rem;
    border-bottom: 1px solid #333;
    padding-bottom: 6px;
    color: #f5c16c;
}

.list-item {
    background: #2a2a2a;
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.list-item span {
    font-size: 0.9rem;
    color: #cfcfcf;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    background: #2b2b2b;
    border: 1px solid #444;
    color: #f5c16c;
}

/* Footer */
.footer {
    text-align: center;
    padding: 25px;
    border-top: 1px solid #333;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #cfcfcf;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-warning {
    background: #d17b3b;
    color: #121212;
}

.btn-warning:hover {
    background: #b05a21;
}

.btn-danger {
    background: #a14a3f;
    color: #fff;
}

.btn-danger:hover {
    background: #7f382f;
}
