/* Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Accent Colors */
:root {
    --primary-accent: rgb(0, 112, 74);
    --text-color-light: #fff;
    --background-light: #f9f9f9;
    --border-color: #ddd;
}

/* Header */
header {
    background-color: var(--primary-accent);
    padding: 1rem 2rem;
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    font-size: 1.5rem;
}

nav {
    display: flex;
    gap: 1rem;
}
nav ul li{
    list-style: none;
}

nav a {
    color: var(--text-color-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Main Content */
main {
    padding: 2rem;
    flex: 1;
}

h2 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}
.container-fluid {
    padding: 0;
}

.sidebar {
    background-color: #f8f9fa;
    padding: 20px;
}

.user-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.map-section img {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

.contact-info {
    margin-top: 20px;
}

.contact-info h5 {
    font-weight: bold;
}

/* Top Navbar Links */
.top-nav a {
    margin-right: 20px;
    color: #000;
    font-weight: 500;
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 10px;
}

.search-bar input[type="text"] {
    padding: 0.5rem;
    border: 14px solid var(--border-color);
    border-radius: 4px;
    width: 100%;
}

.search-bar button {
    padding: 0.5rem 1rem;
    background-color: var(--primary-accent);
    color: var(--text-color-light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background-color: rgba(0, 112, 74, 0.8);
}


/* Card Styles */
.permit-options,
.ticket-list,
.history-list, merch-list{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-card{
    display: flex;
    align-items: center;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    /* min-width: fit-content; */
    /* max-width: 100%; */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    /* transition: box-shadow 0.3s; */
}

.permit-card,
.ticket-card,
.history-card,
.merch-card {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 350px;
    max-width: 550px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    margin: 14px;
    height: 300px;

}

.merch-card img {
    width: 200px;
    float: left;
    padding: 10px;
    height: auto;

}

.permit-card:hover,
.ticket-card:hover,
.history-card:hover,
.merch-card:hover {
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.permit-card h3,
.ticket-card h3,
.history-card h3, .merch-card h3 {
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
}

button {
    background-color: var(--primary-accent);
    color: var(--text-color-light);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: rgba(0, 112, 74, 0.8);
}

/* Footer */
footer {
    background-color: #333;
    color: var(--text-color-light);
    text-align: center;
    padding: 1rem;
}

  
.info-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
.parking-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
  }
  
.user-details {
    font-size: 0.9rem;
  }
  
.contact-info {
    margin-top: 20px;
  }
  
.contact-info h5 {
    font-weight: bold;
  }
  
/* Responsive Layout */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .permit-options,
    .ticket-list,
    .history-list, .merch-list {
        flex-direction: column;
    }

    .permit-card,
    .ticket-card,
    .history-card, .merch-card {
        flex: 1 1 100%;
    }

    .search-bar {
        flex-direction: column;
        gap: 5px;
    }
}
