/* --- Global Styles & Variables --- */
:root {
    --primary-colour: #2C3E50; /* Dark Slate */
    --accent-colour: #2980B9; /* Professional Blue */
    --background-light: #F8F9FA;
    --text-main: #333333;
    --text-muted: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background-light);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--primary-colour);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
}

/* --- Typography & Sections --- */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-colour);
}

h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

/* --- Hero / About --- */
.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* --- Project Grid --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
}

/* If you have a real image, use this class on an <img> tag instead */
.real-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    margin-bottom: 10px;
    color: var(--primary-colour);
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--accent-colour);
    border: 2px solid var(--accent-colour);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-colour);
    color: white;
}

.btn-primary {
    background-color: var(--accent-colour);
    color: white;
    margin-right: 10px;
}

.btn-primary:hover {
    background-color: #1A5276;
    border-color: #1A5276;
}

/* --- Contact & Footer --- */
.contact-box {
    text-align: center;
    background: white;
    padding: 50px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-box p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 30px 0;
    background-color: var(--primary-colour);
    color: rgba(255,255,255,0.7);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    h2 {
        font-size: 2rem;
    }
}