/* Base Styles */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header & Nav */
header {
    background-color: #1a1a1b;
    border-bottom: 3px solid #e27d3c;
    padding: 20px;
    text-align: center;
}

h1 {
    color: #e27d3c;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav a {
    color: #aaa;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #e27d3c;
}

/* Typography */
h2, h3 {
    color: #e27d3c;
}

ul {
    list-style-type: square;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #333;
    padding: 30px;
    color: #666;
    font-size: 0.9rem;
    background: #111;
}

/* Container for the cards */
.project-grid {
    display: flex;
    flex-direction: row; /* Force side-by-side */
    flex-wrap: wrap;     /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    width: 100%;        /* Take up all available space */
}

/* Individual card styling */
.project-card {
    background: #1a1a1b;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    
    /* Updated Flex rules */
    flex: 0 1 auto;      /* Stop the stretching */
    width: 250px;        /* Force a specific width for all cards */
    
    text-align: center;
    transition: 0.3s;
}

.project-card h3 {
    margin-top: 0;
}

.project-card:hover {
    border-color: #e27d3c;
    transform: translateY(-5px);
}

.construction-notice {
    border: 2px dashed #e27d3c;
    padding: 20px;
    margin: 20px auto 40px auto; /* Centering the box itself */
    text-align: center;
    background: rgba(226, 125, 60, 0.05);
    max-width: 860px; /* Matching your main content width minus padding */
    border-radius: 8px; /* Smooths the corners to match your cards */
}

.construction-notice h2 {
    margin-top: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Update h1 for more impact */
h1 {
    color: #e27d3c;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}

/* Add a subtle glow to your cards */
.project-card {
    background: #1a1a1b;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Adds depth */
    /* ... keep your other existing card styles ... */
}