/* General Styles */
:root {
    --primary-color: #007AFF; /* Primary Color (Blue) */
    --background-color: #ffffff; /* Background (White) */
    --text-color: #333333; /* Text Color */
    --card-background: #f8f9fa; /* Card Background */
    --footer-background: #1c1c1e; /* Footer Background */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

/* Header */
header {
    background: var(--background-color);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Main Content */
main {
    padding-top: 80px; /* Space equal to header height */
}

section {
    padding: 60px 0;
    text-align: center;
}

/* Hero Section */
#hero {
    padding: 80px 0;
}

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

#hero h2 {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.project-card {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
}

.project-card h4 {
    font-size: 1.4rem;
    margin: 15px 20px 10px;
}

.project-card p {
    margin: 0 20px 20px;
    color: #666;
}

.project-links {
    padding: 0 20px 20px;
}

.project-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 15px;
}

.project-links a:hover {
    text-decoration: underline;
}

/* Contact Section */
#contact .social-links {
    margin-top: 30px;
}

#contact .social-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    margin: 0 15px;
    font-size: 1.1rem;
}

#contact .social-links a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--footer-background);
    color: #f8f9fa;
    text-align: center;
    padding: 20px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    nav {
        display: none; /* Hide mobile menu for simplicity */
    }
}