/* --- Global Resets & Variables --- */
:root {
    --primary-color: #3498db; /* A blue for highlights */
    --secondary-color: #2c3e50; /* Dark background/text color */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --dark-bg: #2c3e50;
    --font-family: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
    scroll-behavior: smooth;
}

/* --- Navigation & Header --- */
header {
    background-color: var(--dark-bg);
    color: white;
    padding: 15px 0;
    position: fixed; /* Keeps the header at the top */
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- Sections & Containers --- */
section {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px; /* Offset for fixed header */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: #2980b9; /* Slightly darker primary color */
}

/* --- Project Grid --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* --- Contact Form --- */
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
}

#contact-form textarea {
    resize: vertical;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: var(--dark-bg);
    color: white;
    font-size: 0.9rem;
}

.social-links a {
    color: var(--primary-color);
    margin: 0 10px;
    text-decoration: none;
}

/* --- Basic Responsiveness (Optional but highly recommended) --- */
@media (max-width: 768px) {
    .nav-links {
        /* You might want to hide the nav links and add a hamburger menu icon here */
        display: none; 
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}