:root {
    --primary-color: #00CFFF; /* Updated to match logo */
    --secondary-color: #00b3e6; /* Updated to match logo text */
    --background-color: #f4f4f4; /* Assuming you want to keep the background neutral */
    --text-color: #333333; /* Matching the text color in the logo */
    --accent-color: #e74c3c; /* Optional: Keep this or adjust as per the desired accent */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    max-width: 800px;
}

nav {
    background: var(--secondary-color);
    color: #fff;
    padding: 0.5rem;
    position: relative;
    top: 0;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 100%;
    box-sizing: border-box; /* Ensures padding is included in total width */
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex; /* Changed to flex for better layout control */
    justify-content: center; /* Centers the nav items */
    width: 100%; /* Ensures the nav takes the full width */
    box-sizing: border-box; /* Ensures padding and border are included in width */
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: inline-block;
}

header {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    margin-top: 0; /* Ensure no space between navbar and header */
}

header h1 {
    margin: 0;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    border: 0px;
}

.btn:hover {
    background: #00b3e6; /* Slightly darker shade for hover effect */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    text-align: left;
    padding: 12px;
}

th {
    background-color: var(--primary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"], input[type="number"], textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

footer {
    background: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1047px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    flex: 1;
}

.footer-links {
    flex: 1;
    text-align: right;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .copyright, .footer-links {
        flex: none;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

.hunt-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden; /* This ensures the image doesn't spill out of the card */
    transition: transform 0.3s ease;
}

.hunt-image {
    width: 100%;
    height: 200px; /* Adjust this value as needed */
    object-fit: cover;
}

.hunt-card h3, .hunt-card p, .hunt-card .btn {
    margin: 10px;
}

.hunt-card .btn {
    margin-top: auto; /* This pushes the button to the bottom of the card */
}

.header-container {
    background-color: #00CFFF;
    padding: 1rem 0;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-height: 75px;
    width: auto;
}
.nav-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    margin-left: 40px;
}
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-menu a:hover {
    color: #fff;
}
.request-btn {
    background-color: #2ecc71;
    color: #fff;
    padding: 15px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.request-btn:hover {
    background-color: #27ae60;
    color: #fff !important;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .nav-menu {
        margin-top: 1rem;
    }
    .nav-menu li {
        margin: 0 10px;
    }
}