/* General Body & Container - Public Pages */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6; /* Light grey background */
    color: #333;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles - Public Pages */
.main-header {
    background-color: #2c3e50; /* Dark blue/grey */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .site-title {
    color: #fff;
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.main-nav ul li a:hover {
    background-color: #34495e; /* Slightly lighter dark blue */
}

/* Main Content Area - Public Pages */
.main-content {
    padding: 30px 0;
    min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
}

/* Text alignment helpers */
.text-center {
    text-align: center;
}

/* Welcome Section Specific Styles */
.welcome-section {
    padding: 40px 0;
    text-align: center;
}

.welcome-section h2 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.welcome-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

/* Card Grid Layout */
.card-grid {
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between cards */
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
    margin-top: 30px;
}

/* Individual Card Styles */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    width: 350px; /* Fixed width for cards */
    max-width: 90%; /* Responsive adjustment */
    text-decoration: none; /* Remove underline from anchor tag */
    color: inherit; /* Inherit text color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

.card p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card .icon-placeholder {
    margin: 20px 0;
    /* You can style your SVG icons here */
}

.card .icon-placeholder svg {
    color: #3498db; /* Blue color for icons */
}


/* Buttons */
.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none; /* Remove default button border */
    transition: background-color 0.3s ease, transform 0.1s ease;
    width: 100%; /* Make button fill card width */
    font-size: 1.1em;
}

.button-primary {
    background-color: #3498db; /* Blue for check-in */
    color: #fff;
}

.button-primary:hover {
    background-color: #2980b9; /* Darker blue on hover */
    transform: translateY(-2px);
}

.button-secondary {
    background-color: #e74c3c; /* Red for check-out */
    color: #fff;
}

.button-secondary:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px);
}


/* Footer Styles - Public Pages */
.main-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9em;
}

/* Basic Form Section styling for check_in/out pages and public login */
.form-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding doesn't add to the width */
}