/* Basic Reset and Global Styles (Keep most of these) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5; /* Slightly tighter line height for single screen */
    color: #333333;
    background-color: #f8f8f8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px; /* Reduced padding */
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 10px; /* Reduced margin */
    color: #64b5f6;
}

p {
    margin-bottom: 10px; /* Reduced margin */
}

a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4285f4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Hero Section (Simplified) --- */
.hero {
    background-color: #f8f8f8;
    padding: 40px 15px; /* Reduced padding */
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2em; /* Slightly smaller hero heading */
    margin-bottom: 5px; /* Reduced margin */
    color: #333333;
}

.hero p {
    font-size: 1em;
    color: #666666;
}

.headshot.tiny-headshot { /* Optional tiny headshot style */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px auto 0;
    display: block;
}


/* --- Skills & About Section (Combined) --- */
.skills-about-section {
    background-color: #ffffff;
    padding: 30px 15px; /* Reduced padding */
    border-bottom: 1px solid #eeeeee;
    text-align: center; /* Center skills and about */
}

.skills-list {
    display: flex;           /* Horizontal skill list */
    flex-wrap: wrap;        /* Wrap skills on smaller screens */
    justify-content: center; /* Center skills horizontally */
    gap: 15px;             /* Reduced gap between skills */
    margin-bottom: 15px;    /* Space below skill list */
    margin-top: 15px;       /* Reduced margin */
}

.skill-item {
    padding: 8px 12px;      /* Smaller padding for skill items */
    background-color: #f8f8f8;
    border-radius: 3px;     /* Less rounded corners */
    font-size: 0.9em;       /* Slightly smaller font size */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: inline-flex;   /* For vertical alignment of icon and text */
    align-items: center;
    gap: 5px;
}

.skill-item i {
    font-size: 1.1em;       /* Smaller skill icons */
    color: #64b5f6;
}

.flutter-skill .skill-icon { /* Style for Flutter logo in skills */
    height: 1.1em;         /* Match icon height */
    width: auto;
    margin: 0;             /* Remove margins */
}
.flutter-skill .skill-icon img {
    max-height: 100%;
    max-width: 100%;
}


.skills-about-section .about-tagline {
    font-style: italic;
    color: #666666;
    font-size: 1em;        /* Slightly smaller tagline */
    margin-bottom: 0;
}


/* --- Projects Section (Simplified) --- */
.projects-section {
    background-color: #ffffff;
    padding: 30px 15px; /* Reduced padding */
    text-align: center; /* Center project info */
}

.projects-section h2 {
    font-size: 1.3em;      /* Smaller section heading */
}

.project-single {
    margin-top: 20px;       /* Space above project */
}

.project-single h3 {
    font-size: 1.1em;      /* Smaller project title */
    margin-bottom: 5px;     /* Reduced margin */
    color: #333333;
}


.project-icon.tiny-icon { /* Optional tiny project icon style */
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.project-link {
    display: inline-block;  /* Inline link for single screen */
    padding: 8px 15px;      /* Smaller link padding */
    background-color: #f8f8f8;
    text-align: center;
    border: 1px solid #eeeeee; /* Add border for visual separation */
    border-radius: 3px;     /* Less rounded corners */
    font-size: 0.9em;       /* Smaller font size */
    margin-top: 10px;       /* Space above link */
}


/* --- Contact Section (Simplified) --- */
.contact-section {
    background-color: #ffffff;
    padding: 30px 15px; /* Reduced padding */
    border-bottom: 1px solid #eeeeee;
    border-top: 1px solid #eeeeee;
    text-align: center; /* Center contact info */
}

.contact-section h2 {
    font-size: 1.3em;      /* Smaller section heading */
}


.contact-info {
    margin-top: 15px;       /* Reduced margin */
    margin-bottom: 15px;       /* Reduced margin */
}

.contact-info a {
    display: block;
    margin-bottom: 5px;     /* Reduced margin */
    font-size: 1.3em;        /* Slightly smaller font */
}

.social-links {
    margin-top: 10px;       /* Reduced margin */
    display: flex;
    justify-content: center;
    gap: 10px;             /* Reduced gap */
}

.social-links a {
    font-size: 1.5em;      /* Slightly smaller social icons */
    display: inline-block;
    margin-bottom: 0;
}


/* --- Footer (Minimal) --- */
footer {
    background-color: #f8f8f8;
    text-align: center;
    padding: 15px;         /* Reduced padding */
    font-size: 0.8em;      /* Even smaller footer font */
    color: #666666;
    border-top: 1px solid #eeeeee;
}


/* --- Media Queries for Responsiveness (Keep, but adjust if needed) --- */
@media (max-width: 768px) {
    .container {
        padding: 10px; /* Further reduced padding on smaller screens */
    }

    .hero {
        padding: 30px 10px; /* Further reduced hero padding */
    }

    .hero h1 {
        font-size: 1.8em; /* Even smaller hero heading on mobile */
    }
     /* ... other media query adjustments as needed ... */
}


@media (max-width: 480px) {
    .hero {
        padding: 20px 10px; /* Even more reduced hero padding on very small screens */
    }

    .hero h1 {
        font-size: 1.6em; /* Even smaller hero heading on very small mobiles */
    }
    /* ... further mobile-specific adjustments if needed ... */
}