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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #111827;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #2563eb 0%, #08b9ef 100%);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.banner-text {
    margin: 0;
}

.banner-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.banner-close:hover {
    opacity: 1;
}

.banner-link {
    font-weight: bold;
    text-decoration: underline;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: white;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar-content {
    padding: 2rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 2rem 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-profile {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.sidebar-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.sidebar-profile-image:hover {
    border-color: #0ea5e9;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sidebar-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.nav-menu {
    list-style: none;
    padding: 0 1rem;
    flex-grow: 1;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.nav-link span {
    font-size: 1rem;
}

.sidebar-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.sidebar-footer .footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.sidebar-footer .social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.sidebar-footer .social-link:hover {
    color: #0ea5e9;
}

.hamburger {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    flex-direction: column;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
    border-radius: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    color: white;
    padding: 80px 0;
    margin-top: 0;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #0ea5e9;
    color: white;
    border: 2px solid #0ea5e9;
}

.btn-primary:hover {
    background: #0284c7;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background: #fbbf24;
    color: #1f2937;
    border: 2px solid #fbbf24;
}

.btn-secondary:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #f9fafb;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* About Section */
.about {
    background: #1f2937;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #374151;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #4b5563;
}

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

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #d1d5db;
    font-weight: 500;
}

/* Skills Section */
.skills-grid {
    max-width: 600px;
    margin: 2rem auto 0;
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: #374151;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #4b5563;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: #2563eb;
}

.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.skill-item span {
    font-weight: 500;
    color: #e5e7eb;
}

/* Experience Section */
.experience {
    background: #1f2937;
}

.experience-grid {
    max-width: 100%;
    padding: 0 20px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-item {
    background: #374151;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #4b5563;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px 0 0 2px;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.experience-title h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.25rem;
}

.company {
    color: #2563eb;
    font-weight: 500;
    font-size: 0.95rem;
}

.experience-date-hours {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.experience-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.experience-description ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.experience-description li {
    color: #d1d5db;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.experience-description li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.experience-description.quote {
    font-weight: bold;
}

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

.experience-tech span {
    background: #4b5563;
    color: #e5e7eb;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.coursework-lists {
    margin-top: 1rem;
}

.coursework-section {
    margin-bottom: 1.5rem;
}

.coursework-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.coursework-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.coursework-section li {
    color: #d1d5db;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.coursework-section li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.25rem;
}

/* Projects Section */
.projects {
    background: #1f2937;
}

.projects-grid {
    max-width: 100%;
    padding: 0 20px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.project-card {
    background: #374151;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #4b5563;
    width: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-header {
    height: 60px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 0 1rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.project-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.project-image {
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

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

.project-content {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: #374151;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .project-image {
    opacity: 0;
    transform: translateY(-20px);
}

.project-card:hover .project-content {
    opacity: 1;
    transform: translateY(0);
}


.project-content p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: #4b5563;
    color: #e5e7eb;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.project-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    color: #1d4ed8;
}

.spigotmc-project-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: filter 0.3s ease;
}

.spigotmc-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.spigotmc-icon:hover {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(200deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .banner-link {
        font-weight: bold;
        text-decoration: underline;
    }
    
    /* Mobile Sidebar */
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .sidebar-profile-image {
        width: 100px;
        height: 100px;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        max-width: 100%;
        padding: 0 20px;
    }

    .experience-grid {
        max-width: 100%;
        padding: 0 20px;
    }

    .projects-grid {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }

    .hero-container {
        padding: 0 20px;
    }
}

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

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

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

    .section-title {
        font-size: 1.8rem;
    }

    .project-card {
        margin: 0 10px;
    }
    
    .project-header {
        height: 70px;
        padding: 0 1rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
} 