/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Allow scrolling while keeping background */
html, body {
    width: 100%;
    min-height: 100vh;
    height: 100%;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Background Container */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/truckyoufump_ca.png') no-repeat center center;
    background-size: cover;
    z-index: -2;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .background-container {
        position: fixed;
    }
}

/* Overlay for 25% transparency effect */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    animation: fadeOverlay 2s ease-in-out forwards;
    z-index: -1;
}

@keyframes fadeOverlay {
    0% { background: rgba(0, 0, 0, 1); }
    20% { background: rgba(0, 0, 0, 0); }
    60% { background: rgba(0, 0, 0, 0); }
    100% { background: rgba(0, 0, 0, 0.75); }
}

/* Intro Text Styling */
#intro {
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 80%;
}

/* Hamburger Menu */
.menu-toggle {
    position: fixed;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 5px;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
    display: block;
}

/* Fullscreen Menu */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    transition: right 0.3s ease-in-out;
    padding-top: 60px;
    z-index: 999;
}

/* Menu text */
.menu a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    opacity: 1;
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Toggle Menu */
.menu.active {
    right: 0;
}

/* Table Styles */
table {
    width: 90%;
    border-collapse: collapse;
    margin: 20px auto;
    background: transparent;
}

th, td {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px;
    text-align: left;
    color: white;
}

th {
    background: rgba(0, 86, 179, 0.5);
    font-weight: bold;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

.category {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    text-align: center;
}
