/* Master Styles */
body{
    margin: 0px;
    font-family: "Lato", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.content-wrapper {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin-top: 0;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

/* Nav styles */
.nav-wrapper{
    display: flex;
    justify-content: space-between;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .nav-wrapper > .left-side {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .two-column-wrapper {
        grid-template-columns: 1fr;
    }
    
    .profile-image-wrapper {
        text-align: center;
    }
    
    .profile-image-wrapper img {
        padding: 10px;
        max-width: 100%;
        height: auto;
        max-height: 400px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .intro-text {
        font-size: 1em;
    }
    
    h1 {
        font-size: 2em;
    }
}

.left-side{
    display: flex;
}
.nav-wrapper > .left-side > div{
    margin-right: 20px;
    font-size: 0.9em;
    text-transform: uppercase;
}

.nav-link-wrapper{
    height: 22px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.5s;
}
.nav-link-wrapper a {
    color: #8a8a8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.brand div {
    transition: color 0.3s ease;
}

.nav-link-wrapper:hover{
    border-bottom: 1px solid black;
}
.nav-link-wrapper a:hover{
    color: black;
}

.active-nav-link{
    border-bottom: 1px solid black;
}
.active-nav-link a{
   color: black !important;
}

/* Homepage styles */
.home-content-wrapper {
    padding: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    min-height: 500px;
}

.hero-text h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: lightseagreen;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid lightseagreen;
}

.cta-button:hover {
    background-color: transparent;
    color: lightseagreen;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-button.secondary {
    background-color: transparent;
    color: lightseagreen;
    border: 2px solid lightseagreen;
}

.cta-button.secondary:hover {
    background-color: lightseagreen;
    color: white;
}

.hero-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image .subtitle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image:hover .subtitle {
    opacity: 1;
}

/*About page*/

.two-column-wrapper{
    display:grid;
    grid-template-columns: 1fr 1fr;
}

.profile-image-wrapper img{
    background-size: cover;
    width: 100%;
    max-width: 480px;
    height: 480px;
    object-fit: cover;
    border-radius: 10px;
    padding: 10px 0px 10px 30px;
}

.profile-content-wrapper{
    padding: 10px 20px;
}

.profile-content-wrapper .heading {
    color: lightseagreen;
    margin-top: 30px;
}

.profile-content-wrapper .heading:first-child {
    margin-top: 0;
}

.profile-content-wrapper p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.contact-me-wrapper {
    margin: 20px 0;
}

.contact-me-wrapper a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.contact-me-wrapper a:hover {
    transform: scale(1.1);
}

.contact-me-wrapper img {
    width: 200px;
    height: auto;
    border-radius: 5px;
}

/* Projects page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: lightseagreen;
    background-color: #f0fdfd;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.project-card h3 {
    color: lightseagreen;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.project-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background-color: lightseagreen;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-links .cta-button {
    flex: 1;
    min-width: 120px;
    text-align: center;
    font-size: 0.9em;
    padding: 10px 20px;
}

.project-placeholder {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 2px dashed #ddd;
    transition: all 0.3s ease;
    color: #333;
}

.project-placeholder:hover {
    border-color: lightseagreen;
    background-color: #f0fdfd;
}

.project-placeholder h3 {
    color: lightseagreen;
    margin-bottom: 10px;
}

/* Resume page */
.resume-container {
    max-width: 900px;
    margin: 0 auto;
}

.download-link {
    text-align: center;
    margin-top: 20px;
}

.download-link a {
    display: inline-block;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    /* Navigation */
    .nav-wrapper {
        background-color: #2a2a2a;
        box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    }

    .nav-link-wrapper a {
        color: #b0b0b0;
    }

    .nav-link-wrapper:hover {
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-link-wrapper a:hover {
        color: #e0e0e0;
    }

    .active-nav-link {
        border-bottom: 1px solid #e0e0e0;
    }

    .active-nav-link a {
        color: #e0e0e0 !important;
    }

    /* Headings and Text */
    .hero-text h1 {
        color: #e0e0e0;
    }

    h1, h2, h3 {
        color: #e0e0e0;
    }

    .intro-text {
        color: #b0b0b0;
    }

    .profile-content-wrapper p {
        color: #b0b0b0;
    }

    /* Buttons - Keep lightseagreen but adjust for dark mode */
    .cta-button {
        background-color: lightseagreen;
        color: white;
        border: 2px solid lightseagreen;
    }

    .cta-button:hover {
        background-color: #26a69a;
        color: white;
        box-shadow: 0 4px 8px rgba(32, 178, 170, 0.3);
    }

    .cta-button.secondary {
        background-color: transparent;
        color: lightseagreen;
        border: 2px solid lightseagreen;
    }

    .cta-button.secondary:hover {
        background-color: lightseagreen;
        color: white;
    }

    /* Hero Image */
    .hero-image {
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    }

    /* Profile Content */
    .profile-content-wrapper .heading {
        color: lightseagreen;
    }

    /* Projects Page */
    .project-placeholder {
        background-color: #2a2a2a;
        border: 2px dashed #444;
    }

    .project-placeholder:hover {
        border-color: lightseagreen;
        background-color: #2f3f3f;
    }

    .project-placeholder h3 {
        color: lightseagreen;
    }

    .project-placeholder p {
        color: #b0b0b0;
    }

    /* Project Cards in Dark Mode */
    .project-card {
        background-color: #2a2a2a;
        border-color: #444;
    }

    .project-card:hover {
        background-color: #2f3f3f;
        border-color: lightseagreen;
    }

    .project-description {
        color: #b0b0b0;
    }

    /* Resume Page */
    .resume-container iframe {
        border: 2px solid #444;
        background-color: #2a2a2a;
    }

    /* Content Wrapper */
    .content-wrapper {
        color: #e0e0e0;
    }

    /* Links in content */
    .content-wrapper a {
        color: lightseagreen;
    }

    .content-wrapper a:hover {
        color: #26a69a;
    }

    /* Home Content Wrapper */
    .home-content-wrapper {
        color: #e0e0e0;
    }

    /* Brand text in navigation */
    .brand {
        color: #e0e0e0;
    }

    .brand div {
        color: #e0e0e0;
    }

    /* Profile image wrapper */
    .profile-image-wrapper img {
        box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    }

    /* Contact wrapper links - keep original styling but ensure visibility */
    .contact-me-wrapper a {
        opacity: 0.9;
    }

    .contact-me-wrapper a:hover {
        opacity: 1;
    }
}