/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3b82f6;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3b82f6;
}

.nav-menu a.active {
    color: #3b82f6;
    font-weight: 600;
    border-bottom: 2px solid #3b82f6;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #2e66c0 0%, #8b5cf6 100%);
    padding: 20px 0;
    margin-top: 70px;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.reinvent-image {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.banner-text {
    color: white;
    flex: 1;
}

.banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
}

.banner-text p {
    margin: 0 0 15px 0;
    opacity: 0.9;
}

.btn-accent {
    background: white;
    color: #3b82f6;
    border: none;
    font-weight: 600;
}

.btn-accent:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Hero section */
/* Updated hero section to match About page branding */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%) !important;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

.hero .highlight {
    color: #60a5fa;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
}

.hero-description {
    max-width: 750px;
    margin: 1rem auto 2rem;
    opacity: 0.9;
}

.hero-buttons .btn-primary {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.hero-buttons .btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
}

.hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background: white;
    color: #1d4ed8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}

.btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #1e293b;
    border: 2px solid #1e293b;
}

.btn-secondary:hover {
    background: #1e293b;
    color: white;
}

/* Hero section button overrides for better contrast on gradient background */
.hero .btn-secondary {
    background: white;
    color: #1d4ed8;
    border: 2px solid white;
}

.hero .btn-secondary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Skills Overview */
.skills-overview {
    padding: 80px 0;
    background: white;
}

.skills-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.skill-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Featured projects */
.featured-projects {
    padding: 100px 0;
    background: #f8fafc;
}

.featured-projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.project-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: #e2e8f0;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.project-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.project-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-menu a {
        padding: 1rem;
        display: block;
        text-align: center;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .reinvent-image {
        max-width: 150px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
