@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

html {
    overflow-x: hidden;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-section {
    background-color: transparent;
    padding: 3rem 0;
}


.bio,
.contact-links {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.updates-section {
    background-color: transparent;
    padding: 3rem 0;
}

.blog-section {
    background-color: transparent;
    padding: 3rem 0;
}

.blog-section h1,
.blog-intro {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    background-color: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #3498db;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.main-content {
    min-height: calc(100vh - 140px);
}

/* Profile Section */
.profile-section {
    background-color: transparent;
    padding: 3rem 0;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-image {
    flex-shrink: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 0;
    object-fit: cover;
    border: 1px solid #2c3e50;
}

.profile-text {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}

.profile-text h1 {
    font-size: 5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-shadow: 
        -0.5px -0.5px 0 #fff,
        0.5px -0.5px 0 #fff,
        -0.5px 0.5px 0 #fff,
        0.5px 0.5px 0 #fff,
        -0.5px 0 0 #fff,
        0.5px 0 0 #fff,
        0 -0.5px 0 #fff,
        0 0.5px 0 #fff;
}

.tagline {
    font-size: 2.5rem;
    color: #2c3e50;
    /* text-shadow: 
        -0.25px -0.25px 0 #fff,
        0.25px -0.25px 0 #fff,
        -0.25px 0.25px 0 #fff,
        0.25px 0.25px 0 #fff,
        -0.25px 0 0 #fff,
        0.25px 0 0 #fff,
        0 -0.25px 0 #fff,
        0 0.25px 0 #fff; */
}

.bio {
    background-color: rgba(94, 164, 176, 0.9);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid #fff;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1;
    color: #fff;
}

.bio p {
    margin-bottom: 1rem;
}

.contact-links {
    background-color: transparent;
    padding: 1.5rem;
    border-radius: 0;
    border: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-section .contact-links {
    background-color: transparent !important;
    margin: 0 auto;
}

.contact-links a {
    color: #5ea4b0;
    background-color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #5ea4b0;
    border-radius: 5px;
    transition: all 0.3s;
}

.contact-links a:hover {
    background-color: #5ea4b0;
    color: #fff;
    border-color: #fff;
}

/* Updates/Projects Section */
.updates-section {
    padding: 3rem 0;
}

.updates-section h2 {
    font-size: 4rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    /* text-shadow: 
        -0.25px -0.25px 0 #fff,
        0.25px -0.25px 0 #fff,
        -0.25px 0.25px 0 #fff,
        0.25px 0.25px 0 #fff,
        -0.25px 0 0 #fff,
        0.25px 0 0 #fff,
        0 -0.25px 0 #fff,
        0 0.25px 0 #fff; */
}

.update-card {
    background-color: #fff;
    /* border-radius: 8px; */
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.update-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.update-content {
    padding: 1.5rem;
}

.update-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.date {
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.update-content p {
    color: #555;
    margin-bottom: 1rem;
}

.link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.link:hover {
    color: #2980b9;
}

/* Blog Section */
.blog-section {
    padding: 3rem 0;
    background-color: transparent;
}

.blog-section h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background-color: transparent;
    padding: 0;
    /* text-shadow: 
        -0.25px -0.25px 0 #fff,
        0.25px -0.25px 0 #fff,
        -0.25px 0.25px 0 #fff,
        0.25px 0.25px 0 #fff; */
}

.blog-intro {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    background-color: transparent;
    padding: 0;
    /* text-shadow: 
        -0.25px -0.25px 0 #fff,
        0.25px -0.25px 0 #fff,
        -0.25px 0.25px 0 #fff,
        0.25px 0.25px 0 #fff; */
}

.blog-post-preview {
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #2c3e50;
}

.blog-post-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.blog-post-preview h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.blog-post-preview h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-preview h2 a:hover {
    color: #3498db;
}

.post-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2980b9;
}

/* Individual Blog Post */
.blog-post {
    background-color: transparent;
    padding: 3rem 0;
}

.blog-post .container-narrow {
    background-color: #fff;
    padding: 3rem;
    border-radius: 0;
    border: 2px solid #2c3e50;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    transition: color 0.3s;
}

.back-link:hover {
    color: #2980b9;
}

.blog-post h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.blog-post h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-post ul, .blog-post ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    color: #555;
}

.blog-post li {
    margin-bottom: 0.5rem;
}

.blog-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
}

blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-text h1 {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .contact-links {
        justify-content: center;
    }

    .container, .container-narrow {
        padding: 1rem;
    }
}

/* Section Layout - Left title, Right content */
.section-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin: 0;
    /* text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff; */
}

.section-content {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

/* About Section */
.about-section {
    padding: 3rem 0;
}

.about-text-block {
    background-color: rgba(94, 164, 176, 0.9);
    padding: 2rem;
    border-radius: 0;
    /* border: 2px solid #2c3e50; */
    color: #fff;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
}

.about-text-content {
    flex: 1;
}

.about-text-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}


/* .about-text-block p {
    margin-bottom: 1rem;
    line-height: 1.3;
} */

.about-photo {
    flex-shrink: 0;
}

.about-photo img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    /* border: 3px solid #2c3e50; */
    border-radius: 0;
}

/* Contact Section Inline */
.contact-section-inline {
    padding: 2rem 0;
    margin-bottom: 3rem;
}

/* Work Section */
.work-section {
    padding: 3rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.project-card {
    background-color: rgba(94, 164, 176, 0.9);
    /* border-radius: 8px; */
    overflow: hidden;
    border: 2px solid #2c3e50;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
    color: #fff;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.project-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    transition: opacity 0.3s;
}

.project-link:hover {
    opacity: 0.7;
}


/* Work Section - Side by side */
.work-section .section-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.work-section .section-title {
    font-size: 3.5rem;
    color: #2c3e50;
    text-align: left;
    margin: 0;
    /* text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff; */
}
/* Responsive */
/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .logo {
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* Profile/Header Section */
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-text h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }

    /* Section Layouts */
    .section-layout,
    .work-section .section-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title,
    .work-section .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .updates-section h2 {
        font-size: 2rem;
    }

    /* About Section */
    .section-content {
        flex-direction: column;
    }
    
    .about-text-block {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .about-photo img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    /* Contact Links */
    .contact-links {
        justify-content: center;
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Containers */
    .container, .container-narrow {
        padding: 1rem;
    }
    
    /* Blog */
    .blog-section h1 {
        font-size: 2rem;
    }
    
    .blog-intro {
        font-size: 1rem;
    }
}