/* 
    Created on : Dec 31, 2024, 4:03:26 PM
    Author     : andrew
*/

:root {
    --primary-color: #1a73e8; /* Modern blue for primary branding */
    --secondary-color: #fbbc05; /* Accent yellow for highlights */
    --background-color: #f1f3f4; /* Light gray for a clean background */
    --text-color: #202124; /* Dark gray for text readability */
    --nav-background: #ffffff; /* White for navigation background */
    --nav-hover: #e8f0fe; /* Subtle blue hover effect for navigation */
}

/* General body styling for consistent layout */
body {
    font-family: Arial, sans-serif; /* Simple, clean font choice */
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column; /* Ensures footer stays at bottom */
    min-height: 100vh; /* Full height for flex layout */
}

/* Styling for the header section */
header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1.5em 0; /* Adds breathing room around content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 1px; /* Slight spacing for elegance */
}

/* Navigation bar styling */
nav {
    background-color: var(--nav-background);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Matches header shadow */
}

nav ul {
    list-style: none; /* Removes default bullet points */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Centers navigation items */
}

nav ul li {
    margin: 0; /* Removes unwanted gaps */
}

nav ul li a {
    display: block;
    padding: 1em 2em; /* Comfortable click target */
    text-decoration: none; /* Removes underline */
    color: var(--text-color);
    font-weight: bold; /* Emphasizes links */
    transition: background-color 0.3s; /* Smooth hover transition */
}

nav ul li a:hover {
    background-color: var(--nav-hover);
    border-radius: 5px; /* Adds subtle curvature */
}

/* Main content area styling */
main {
    flex: 1; /* Expands to fill available space */
    width: 70%;
    text-align: center;
    margin: 0 auto;
    
}
main img {
    border-radius: 10px;
}

main ul {
    list-style-type: none;
    padding: 0;
}

main ul li {
    margin: 15px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 10px;
    background-color: #e0e0e0;
    border-radius: 10px;
}

/* Hero section for standout messaging */
.gradient-intro {
    margin: 2em 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Eye-catching gradient */
    color: white;
    padding: 3em;
    border-radius: 10px; /* Softens edges */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Creates a layered effect */
}

.gradient-intro h2 {
    font-size: 2em;
    margin: 0 0 0.5em; /* Separates title from text */
}

.gradient-intro p {
    font-size: 1.2em;
    margin: 0;
}

/* Section for showcasing expertise */
.experience-section {
    background-color: var(--background-color);
    padding: 2em;
    text-align: center;
    border-top: 1px solid #ddd; /* Divides sections visually */
}

.experience-section h3 {
    font-size: 1.8em;
    margin-bottom: 0.5em; /* Clear separation from content */
}

.experience-section p {
    font-size: 1.2em;
    line-height: 1.6; /* Improves readability */
}

/* About section styling */
.about-section {
    background-color: var(--background-color);
    padding: 2em;
    text-align: center;
    border-top: 1px solid #ddd; /* Divides sections visually */
}

.about-section h3 {
    font-size: 1.8em;
    margin-bottom: 0.5em; /* Clear separation from content */
}

.about-section p {
    font-size: 1.2em;
    line-height: 1.6; /* Improves readability */
}

/* Footer for consistent branding */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1em 0; /* Adds spacing */
}

footer p {
    margin: 0;
    font-size: 0.9em; /* Small, unobtrusive text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stacks items vertically */
    }

    nav ul li a {
        padding: 1em; /* Adjusts for smaller screens */
    }
}