/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 4rem 1rem 2rem;
}

.header__title, .header__subtitle {
    font-family: 'Press Start 2P', cursive;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 90%;
    word-wrap: break-word;
}

/* In sections.css */
.header__images-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;
}

.header__image {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
}

.header__image:last-child {
    max-width: 200px;
    margin-top: -2rem; /* Negative margin to bring it closer to the first image */
}

/* About Section */
.about__title {
    font-family: 'Press Start 2P', cursive;
    margin: 2.5rem 0;
}

.about__description {
    line-height: 1.6;
    margin: 1.5rem 0;
}

/* Experience Section */
.experience__title {
    font-family: 'Press Start 2P', cursive;
    margin: 2.5rem 0;
}

.experience__item {
    margin-bottom: 3rem;
}

.experience__company {
    font-size: 1.25rem;
    margin: 1.5rem 0;
}

.experience__duration {
    color: #a8a8a8;
    margin: 1rem 0;
}

.experience__description {
    line-height: 1.6;
    margin: 1.5rem 0;
}

.experience__list {
    list-style: circle;
    padding-left: 1.5rem;
}

.experience__list-item {
    margin: 1rem 0;
    line-height: 1.6;
}

/* Tech Stack */
.tech-stack__title {
    font-family: 'Press Start 2P', cursive;
    margin: 2.5rem 0;
}

.tech-stack__icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 2rem;
    justify-items: center;
    padding: 2rem 0;
}

.tech-stack__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.2s;
}

.tech-stack__icon:hover {
    transform: scale(1.1);
}

/* Education Section */
.education__title {
    font-family: 'Press Start 2P', cursive;
    margin: 2.5rem 0;
}

.education__description {
    line-height: 1.6;
    margin: 1.5rem 0;
}

.education__resources {
    list-style: none;
    padding: 0;
}

.education__resource-item {
    margin: 1rem 0;
}

.education__resource-item a {
    color: #fffff0;
    text-decoration: none;
    transition: opacity 0.2s;
}

.education__resource-item a:hover {
    opacity: 0.8;
}

/* Contact Section */
.contact__title {
    font-family: 'Press Start 2P', cursive;
    margin: 2.5rem 0;
}

.contact__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.contact__link {
    transition: transform 0.2s;
}

.contact__link:hover {
    transform: translateY(-4px);
}

.contact__link img {
    width: 32px;
    height: 32px;
}

/* Footer */
.footer {
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
}

/* Add to sections.css */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post {
    background: rgba(255, 255, 240, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}

.blog-post__title {
    font-family: var(--font-pixel);
    margin-bottom: 0.5rem;
}

.blog-post__date {
    color: #a8a8a8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post__excerpt {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-post__link {
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 240, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s, opacity 0.2s;
}

.blog-post__link:hover {
    background: rgba(255, 255, 240, 0.1);
    opacity: 0.9;
}

.post-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Add to sections.css */
.post-header {
    text-align: center;
    padding: 4rem 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 240, 0.1);
}

.post-title {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: #a8a8a8;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.post-date {
    font-size: 0.875rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
}

.post-tag {
    background: rgba(255, 255, 240, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
}