/* Core Settings */
:root {
    --primary-red: #c0392b;
    --dark-red: #962d22;
    --light-bg: #f9f9f9;
    --dark-text: #2c3e50;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-text);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--light-bg); }
.text-center { text-align: center; }

/* Navbar */
.navbar {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span { color: var(--primary-red); }

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li { margin-left: 25px; }

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary-red); }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content { flex: 1; }

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
}

/* CSS Graphic: ID Card */
.id-card {
    width: 280px;
    height: 170px;
    background: white;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    padding: 20px;
}

.id-header {
    background: var(--dark-red);
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.id-photo {
    width: 70px;
    height: 70px;
    background: #e0e0e0;
    border-radius: 4px;
    float: left;
    margin-right: 15px;
}

.id-line {
    height: 8px;
    background: #eee;
    margin-bottom: 12px;
    width: 140px;
}

.id-line.short { width: 90px; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-red);
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-full {
    background: var(--primary-red);
    color: white;
    width: 100%;
    margin-top: 10px;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
    border-top: 5px solid var(--primary-red);
}

.card h3 { margin-bottom: 15px; }

/* Responsive Table */
.table-container {
    width: 100%;
    overflow-x: auto;
    background: white;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

th {
    background-color: #f4f4f4;
    color: var(--dark-text);
    text-align: left;
    padding: 18px;
    border-bottom: 2px solid var(--primary-red);
}

td {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

/* Zebra Styling */
tr:nth-child(even) {
    background-color: #fff9f9;
}

.status {
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}
.status.open { color: #27ae60; }
.status.full { color: var(--primary-red); }
.status.soon { color: #f39c12; }

/* Login Box */
.login-box {
    max-width: 420px;
    margin: 0 auto;
    padding: 50px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.login-box h2 { margin-bottom: 10px; }
.login-box p { margin-bottom: 30px; color: #666; font-size: 14px; }

.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.small-text { font-size: 12px; color: #999; margin-top: 20px; text-align: center; }

/* Footer */
footer {
    background: var(--dark-text);
    color: white;
    text-align: center;
    padding: 50px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .css-graphic-press { display: none; } /* Hide complex graphic on small mobile screens */
    .nav-links { display: none; } 
}