/* Georgia Tech Color Palette */
:root {
    --gt-navy: #003057;
    --gt-gold: #B3A369;
    --gt-dark: #00385f;
    --white: #ffffff;
    --black: #000000;
    --light-gray: #f5f5f5;
    --gray: #6b7280;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-gray);
}

/* Navigation */
.navbar {
    background-color: var(--gt-navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--gt-gold);
    border-bottom-color: transparent;
}

.nav-link.active {
    color: var(--white);
    border-bottom: 2px solid var(--gt-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-dark) 50%, var(--black) 100%);
    color: var(--white);
    min-height: calc(100vh - 64px);
    padding: 4rem 1rem 6rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--gt-gold);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.hero-description {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-icon {
    color: #9ca3af;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--gt-gold);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gt-gold);
    color: var(--gt-navy);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #9d8d5a;
}

/* About Section - Fixed white box issue */
.about-section {
    max-width: 900px;
    margin: 4rem auto 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gt-gold);
}

.about-text {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Page Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.page-title {
    font-size: 2.5rem;
    color: var(--gt-navy);
    margin-bottom: 3rem;
}

/* Skills Page */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--gt-gold);
}

.skill-card h3 {
    font-size: 1.25rem;
    color: var(--gt-navy);
    margin-bottom: 1rem;
}

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

.skill-tag {
    background-color: var(--gt-navy);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Project Gallery Styles */
.projects-grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-gallery-item {
    text-decoration: none;
    color: inherit;
    display: block;
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--gt-navy);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-gallery-item:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 48, 87, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-gallery-item:hover .project-overlay {
    opacity: 1;
}

.project-description {
    color: var(--white);
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gt-navy);
    margin-bottom: 0.75rem;
}

.tech-tags-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag-mini {
    background-color: var(--gt-navy);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* Project Detail Page Styles */
.project-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gt-navy);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-button:hover {
    color: var(--gt-gold);
}

.project-detail-header {
    margin-bottom: 2rem;
}

.project-detail-title {
    font-size: 2.5rem;
    color: var(--gt-navy);
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background-color: var(--gt-navy);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.project-detail-image {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-detail-content {
    line-height: 1.8;
}

.project-section {
    margin-bottom: 3rem;
}

.project-section h2 {
    font-size: 1.75rem;
    color: var(--gt-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--gt-gold);
}

.project-section p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    color: var(--gray);
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    font-size: 1.125rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gt-gold);
    font-weight: bold;
    font-size: 1.25rem;
}

.project-detail-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.project-detail-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gt-navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.project-detail-button:hover {
    background-color: var(--gt-dark);
}

.project-detail-button.secondary {
    background-color: var(--gt-gold);
    color: var(--gt-navy);
}

.project-detail-button.secondary:hover {
    background-color: #9d8d5a;
}

/* PDF Preview Styles */
.pdf-preview-section {
    margin: 3rem 0;
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pdf-preview-title {
    font-size: 1.75rem;
    color: var(--gt-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--gt-gold);
}

.pdf-container {
    width: 100%;
    background-color: var(--light-gray);
    border-radius: 0.5rem;
    overflow: hidden;
}

.pdf-embed {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

.pdf-fallback {
    padding: 2rem;
    text-align: center;
}

.pdf-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gt-navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.pdf-download-link:hover {
    background-color: var(--gt-dark);
}

/* Experience Page */
.experience-list {
    display: grid;
    gap: 2rem;
}

.experience-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--gt-gold);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-card h3 {
    font-size: 1.5rem;
    color: var(--gt-navy);
    margin-bottom: 0.25rem;
}

.company-name {
    font-size: 1.125rem;
    color: var(--gt-gold);
}

.period {
    color: var(--gray);
    font-weight: 600;
}

.responsibilities {
    list-style: none;
}

.responsibilities li {
    color: var(--gray);
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.responsibilities li::before {
    content: '▸';
    color: var(--gt-gold);
    font-weight: bold;
}

.download-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gt-navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-top: 2rem;
}

.download-resume:hover {
    background-color: var(--gt-dark);
}

/* Contact Page */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--gt-gold);
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(0, 48, 87, 0.05);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.contact-method:hover {
    background-color: rgba(0, 48, 87, 0.1);
}

.contact-icon {
    color: var(--gt-navy);
}

.contact-info .contact-label {
    font-weight: 600;
    color: var(--gt-navy);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-info .contact-value {
    color: var(--gray);
}

/* Footer */
.footer {
    background-color: var(--gt-navy);
    color: var(--white);
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    color: var(--gt-gold);
}

/* YouTube Video Styles */
.video-preview-section {
    margin: 3rem 0;
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-preview-title {
    font-size: 1.75rem;
    color: var(--gt-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--gt-gold);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: var(--black);
    border-radius: 0.5rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom Video Player Styles */
.video-container-custom {
    width: 100%;
    background-color: var(--black);
    border-radius: 0.5rem;
    overflow: hidden;
}

.video-container-custom video {
    width: 100%;
    height: auto;
    display: block;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide {
    display: none;
    position: relative;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
}

.fade {
    animation: fade 1s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 20px;
    border-radius: 3px;
    user-select: none;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.next { right: 0; }
.prev { left: 0; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #717171;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--gt-navy);
        padding: 0.5rem 0;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Mobile nav links - clean, no highlights */
    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-left: none;
        background-color: transparent !important;
    }

    .nav-menu .nav-link:hover {
        color: var(--white);
        background-color: rgba(255, 255, 255, 0.05) !important;
    }

    .nav-menu .nav-link.active {
        color: var(--white);
        border-left: 3px solid var(--gt-gold);
        background-color: transparent !important;
    }

    .hero {
        padding: 3rem 1rem 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid-gallery {
        grid-template-columns: 1fr;
    }

    .project-detail-title {
        font-size: 2rem;
    }

    .project-section h2 {
        font-size: 1.5rem;
    }

    .project-detail-links {
        flex-direction: column;
    }

    .project-detail-button {
        width: 100%;
        justify-content: center;
    }

    .experience-header {
        flex-direction: column;
    }

    .pdf-embed {
        height: 500px;
    }

    .slideshow-container {
        margin: 20px auto;
    }

    .caption {
        font-size: 16px;
        padding: 15px;
    }

    .prev, .next {
        padding: 12px;
        font-size: 16px;
    }
}
