/* style.css */

/* 1. CSS Variables for easy theme customization */
:root {
    --primary-color: #2c3e50; 
    
    --secondary-color: #2c3e50; 
    --background-color: #ecf0f1; /* Light Grey */
    --surface-color: #ffffff; /* White */
    --text-color: #34495e; /* Dark Grey */
    --font-family: 'Helvetica Neue', Arial, sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 2. General Body & Typography Styles (Mobile First) */
body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--primary-color);
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

/* New styling for links to look like buttons */
.project-section a {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--surface-color);
    padding: 12px 24px;
    margin-top: 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.project-section a:hover {
    background-color: var(--primary-color);
    color: var(--surface-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 3. Main Layout & Header */
.container {
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

header {
    background-color: var(--surface-color);
    padding: 1rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* 4. Section Styling for Topics */
.project-section {
    background-color: var(--surface-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.2s ease-in-out;
}




#teachable-machines {
    border-left: 5px solid #2c3e50; /* Orange */
}
/* Optional: Unique accent colors for each topic */
#nature-of-code {
    border-left: 5px solid #2c3e50e5; /* Green */
}

#universal-interface {
    border-left: 5px solid #2c3e50c4; /* Purple */
}
#debate-club {
    border-left: 5px solid #2c3e509b; /* Red */
}
#ai-graphic-novel {
    border-left: 5px solid #2c3e5074 ; /* Red */
}

#reflexion {
        border-left: 5px solid #2c3e5050; /* Red */
}
/* 5. Responsive Adjustments for larger screens */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 2rem;
    }
    
    /* Example of a grid layout for projects on larger screens */
    main {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }

    .project-section {
        margin-bottom: 0; /* Reset margin as gap is used */
    }
}