/* ===== COLOR SCHEME ===== */
:root {
    --primary-color: #007bff;
    --primary-color-hover: #0056b3;
    --primary-color-light: rgba(0, 123, 255, 0.1);
    --text-color: #333;
    --white-color: #ffffff;
    --background-color: #f8f8f8;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation Header - Floating Bubble Style */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white-color);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 20px var(--shadow-color);
    z-index: 1000;
    padding: 10px 30px;
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 6px 25px var(--shadow-color);
    transform: translateX(-50%) translateY(-2px);
}

.navbar nav {
    max-width: none;
    margin: 0;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
}

.navbar a:hover {
    color: var(--primary-color);
    background-color: var(--primary-color-light);
    transform: scale(1.05);
}

/* Section Styles */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 10px 10px;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.content-placeholder {
    text-align: center;
    padding: 60px 40px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.content-placeholder h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.content-placeholder h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.content-placeholder p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Frontpage Section - Background Image */
.frontpage {
    background-image: url('images/background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* About Section - Light Gray */
.about-header {
    text-align: center;
    margin-bottom: 20px;
}

.about-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.about {
    background: var(--background-color);
}

.about-content {
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 6px 30px var(--shadow-color);
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    min-height: 500px;
}

.headshot-container {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.headshot {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: all 0.3s ease;
}

.headshot:hover {
    box-shadow: 0 12px 35px var(--shadow-color);
    transform: scale(1.02);
}

.bio-section {
    grid-row: 1;
    grid-column: 2;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow-color);
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.bio-section:hover {
    box-shadow: 0 6px 25px var(--shadow-color);
    transform: translateY(-3px);
}

.goals-section {
    grid-row: 2;
    grid-column: 1;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow-color);
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.goals-section:hover {
    box-shadow: 0 6px 25px var(--shadow-color);
    transform: translateY(-3px);
}

.passions-section {
    grid-row: 2;
    grid-column: 2;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow-color);
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.passions-section:hover {
    box-shadow: 0 6px 25px var(--shadow-color);
    transform: translateY(-3px);
}

.about-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 12px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-content a:hover {
    color: var(--primary-color-hover);
    text-decoration: underline;
}

/* Resume Section - Medium Light Gray */
.resume {
    background: var(--background-color);
}

.resume-header {
    text-align: center;
    margin-bottom: 50px;
}

.resume-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.resume-content {
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 6px 30px var(--shadow-color);
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    min-height: 400px;
}

.resume-section {
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow-color);
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.resume-section:hover {
    box-shadow: 0 6px 25px var(--shadow-color);
    transform: translateY(-3px);
}

.experience-section {
    grid-row: 1;
    grid-column: 1;
}

.skills-section {
    grid-row: 1;
    grid-column: 2;
}

.leadership-section {
    grid-row: 2;
    grid-column: 1;
}

.download-section {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.resume-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.resume-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 12px;
}

.resume-content p:last-child {
    margin-bottom: 0;
}

.resume-download-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: inline-block;
}

.resume-download-btn:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

/* Resume section mobile responsive */
@media (max-width: 768px) {
    .resume-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .experience-section,
    .skills-section,
    .leadership-section,
    .download-section {
        grid-row: auto;
        grid-column: 1;
    }

    .resume-content h3 {
        font-size: 1.2rem;
    }

    .resume-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .resume-section {
        padding: 20px;
    }

    .resume-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .resume-content p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .resume-download-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Projects Section - Light Gray */
.projects {
    background: var(--background-color);
}

/* Projects Section Styles */
.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--shadow-color);
    text-decoration: none;
    color: var(--primary-color);
}

.project-image {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
    transition: all 0.3s ease;
}

.project-card:hover .project-image {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--primary-color);
}

.project-description {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    flex-grow: 1;
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .project-card {
        padding: 25px 20px;
    }
    
    .project-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .projects-header h2 {
        font-size: 1.5rem;
    }
    
    .project-card {
        padding: 20px 15px;
    }
    
    .project-image {
        height: 100px;
        margin-bottom: 15px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
}

/* Contact Section - Medium Light Gray */
.contact {
    background: var(--background-color);
}

/* Updated Contact Section Styles */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--shadow-color);
    text-decoration: none;
    color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-card:hover .contact-title {
    color: var(--primary-color);
}

.contact-description {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Footer Styles */
.footer {
    background: var(--white-color);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 20px 10px 10px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px var(--shadow-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        border-radius: 25px;
        padding: 8px 20px;
    }

    .navbar:hover {
        transform: translateY(-2px);
    }
    
    .navbar ul {
        min-height: 40px;
    }

    .navbar li {
        margin: 0 8px;
    }

    .navbar a {
        padding: 6px 12px;
        font-size: 0.9rem;
        font-weight: 700;
    }
    
    .section {
        padding: 120px 10px 20px;
    }
    
    .container {
        padding: 20px;
    }
    
    .content-placeholder {
        padding: 40px 20px;
    }
    
    .content-placeholder h1 {
        font-size: 2rem;
    }
    
    .content-placeholder h2 {
        font-size: 1.5rem;
    }
    
    .frontpage {
        background-attachment: scroll;
    }

    /* About section mobile responsive */
    .about-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .headshot-container,
    .bio-section,
    .passions-section,
    .goals-section {
        grid-row: auto;
        grid-column: 1;
    }

    .headshot {
        width: 200px;
        max-width: 200px;
    }

    .about-content h3 {
        font-size: 1.2rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .contact-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 6px 15px;
    }

    .navbar a {
        padding: 5px 8px;
        font-size: 0.85rem;
        font-weight: 700;
    }

    .navbar li {
        margin: 0 5px;
    }
    
    .content-placeholder h1 {
        font-size: 1.8rem;
    }
    
    .content-placeholder h2 {
        font-size: 1.3rem;
    }
    
    .content-placeholder p {
        font-size: 1rem;
    }

    .contact-header h2 {
        font-size: 1.5rem;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-title {
        font-size: 1.2rem;
    }

    .contact-description {
        font-size: 0.9rem;
    }

    /* Additional mobile adjustments for About section */
    .bio-section,
    .passions-section,
    .goals-section {
        padding: 20px;
    }

    .headshot {
        width: 150px;
        max-width: 150px;
    }

    .about-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .about-content p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
}