/* Single Page Styles */
html {
    scroll-behavior: smooth;
}

/* Update home section with new background */
.home {
    background-image: url('backwall.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* About Section */
#about {
    scroll-margin-top: 80px;
    min-height: 100vh;
    padding: 150px 50px 50px 50px;
    background-color: #8a9ba8;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-left {
    flex: 0 0 300px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-item strong {
    color: #333;
    font-weight: 600;
}

.info-item span {
    color: #666;
    text-align: right;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}

.social-links a {
    font-size: 24px;
    color: #333;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #5F9EA0;
}

.about-right {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-right h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

.about-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #5F9EA0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: 500;
}

.download-btn:hover {
    background-color: #4a8a8c;
    transform: translateY(-2px);
}

/* Experience Section */
#experience {
    scroll-margin-top: 80px;
    padding: 80px 50px;
    background-color: #2c3e50;
    color: white;
}

.experience h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #5F9EA0;
}

.experience-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.job-details {
    color: #5F9EA0;
    font-style: italic;
    margin-bottom: 20px;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.experience-item li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #5F9EA0;
}

/* Projects Section */
#projects {
    scroll-margin-top: 80px;
    min-height: 100vh;
    padding: 150px 50px 50px 50px;
    background-color: #8a9ba8;
}

.projects h1 {
    font-size: 48px;
    color: white;
    text-align: left;
    margin-bottom: 50px;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #4a5568;
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.project-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tech-stack {
    margin-top: auto;
    margin-bottom: 20px;
    padding-top: 20px;
}

.tech-stack span {
    font-size: 14px;
    color: #cbd5e0;
    font-style: italic;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-links a {
    font-size: 24px;
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #5F9EA0;
}

/* Contact Section */
#contact {
    background-color: #2c3e50;
    min-height: 60vh;
    padding: 150px 50px 80px 50px;
    scroll-margin-top: 80px;
}

.contact h1 {
    font-size: 48px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h2 {
    font-size: 32px;
    color: #5F9EA0;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-links a:hover {
    background-color: #5F9EA0;
    transform: translateY(-3px);
    border-color: #5F9EA0;
}

.contact-links i {
    font-size: 20px;
}

/* Active Navigation State */
.navbar a {
    transition: color 0.3s ease;
}

.navbar a.active {
    color: #5F9EA0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about {
        padding: 120px 20px 50px 20px;
    }
    
    .about-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-left {
        flex: 1;
        width: 100%;
    }
    
    .experience {
        padding: 50px 20px;
    }
    
    .projects {
        padding: 120px 20px 50px 20px;
    }
    
    .projects h1 {
        font-size: 36px;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        padding: 30px;
        min-height: auto;
    }
    
    #contact {
        padding: 120px 20px 50px 20px;
        min-height: 50vh;
    }
    
    .contact h1 {
        font-size: 36px;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-links a {
        width: 250px;
        justify-content: center;
    }
}