/*
Theme Name: SHiftEDMake
Description: Custom theme voor SHiftEDMake - Serge Hanssens
Version: 1.0
Author: SHiftEDMake
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
    --primary-blue: #667eea;
    --primary-purple: #764ba2;
    --primary-pink: #f093fb;
    --accent-red: #ff6b6b;
    --accent-teal: #4ecdc4;
    --accent-yellow: #feca57;
    --accent-green: #96ceb4;
    --dark-gray: #2c3e50;
    --medium-gray: #34495e;
    --light-gray: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--medium-gray);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-nav-icon {
    width: 50px;
    height: 50px;
}

.logo-nav-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-nav-text .sh { color: var(--accent-red); }
.logo-nav-text .shift { color: var(--accent-teal); text-transform: lowercase; }
.logo-nav-text .ed { 
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.logo-nav-text .make { color: var(--accent-yellow); text-transform: lowercase; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--medium-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--medium-gray);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(240, 147, 251, 0.1) 100%),
        linear-gradient(45deg, var(--bg-light) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4em;
    font-weight: 900;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.4em;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white !important;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white !important;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--medium-gray);
    padding: 16px 32px;
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--medium-gray);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo {
    width: 400px;
    height: 400px;
    position: relative;
}

.hero-logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(102, 126, 234, 0.2));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(10deg); }
}

/* Philosophy Section */
.philosophy {
    padding: 120px 0;
    background: var(--white);
}

.philosophy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.philosophy-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    line-height: 1.2;
    font-style: italic;
}

.philosophy-attribution {
    font-size: 1.2em;
    color: var(--light-gray);
    margin-bottom: 60px;
}

.philosophy-text {
    font-size: 1.3em;
    line-height: 1.7;
    color: var(--medium-gray);
}

/* Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3em;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid;
}

.service-card:nth-child(1) { border-left-color: var(--accent-red); }
.service-card:nth-child(2) { border-left-color: var(--accent-teal); }
.service-card:nth-child(3) { border-left-color: var(--primary-blue); }
.service-card:nth-child(4) { border-left-color: var(--accent-yellow); }
.service-card:nth-child(5) { border-left-color: var(--accent-green); }
.service-card:nth-child(6) { border-left-color: var(--primary-pink); }

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

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.service-card p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 5px 0;
    color: var(--light-gray);
}

.service-features li::before {
    content: "âœ"";
    color: var(--accent-teal);
    font-weight: bold;
    margin-right: 10px;
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background: var(--white);
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.portfolio-item .year {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(118, 75, 162, 0.05) 50%, 
        rgba(240, 147, 251, 0.05) 100%);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.about-content {
    font-size: 1.2em;
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.credential-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.credential-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-content {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--dark-gray);
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo svg {
    width: 60px;
    height: 60px;
}

.footer p {
    color: #bdc3c7;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WordPress specific overrides */
.admin-bar .navbar {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
}

/* Force button text visibility */
.contact-item .btn-primary {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: padding-box !important;
    text-shadow: none !important;
}

.contact-item .btn-primary:visited {
    color: #ffffff !important;
}

/* PNG Logo styling */
.logo-nav {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 80px;
}

.logo-nav .main-logo {
    height: 60px;
    width: auto;
    max-width: 400px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-nav:hover .main-logo {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Remove old logo styles */
.logo-nav-icon,
.logo-nav-text {
    display: none !important;
}

.logo-nav svg {
    display: none !important;
}

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Global container max-width */
.hero-container,
.philosophy-container,
.services-container,
.portfolio-container,
.about-container,
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Services grid - max 3 columns */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 1150px;
    margin: 0 auto;
    gap: 40px;
}

/* Ensure never more than 3 columns on large screens */
@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1150px;
    }
}

/* Portfolio grid - max 3 columns also */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
}

@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
    }
}

/* Credentials grid - max 3 columns */
.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 900px;
    margin: 0 auto;
    gap: 30px;
}

@media (min-width: 1000px) {
    .credentials {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
}

/* Contact section - always max 2x2 */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 30px;
}

/* Hero section - better proportions on wide screens */
.hero-container {
    max-width: 1200px;
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 1400px) {
    .hero-container {
        max-width: 1200px;
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* Philosophy and About sections - readable width */
.philosophy-container,
.about-container {
    max-width: 1000px;
}

/* Contact container - compact */
.contact-container {
    max-width: 800px;
}

/* Navbar - center the nav container */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure sections don't get too wide */
.hero,
.philosophy,
.services,
.portfolio,
.about,
.contact {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Typography adjustments for wide screens */
@media (min-width: 1600px) {
    .hero-subtitle {
        max-width: 600px;
    }
    
    .philosophy-text {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 800px;
        margin: 0 auto 40px auto;
    }
}

/* Mobile menu toggle styling */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--medium-gray);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile menu toggle animation when active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* RESPONSIVE DESIGN - FIXED MOBILE LAYOUT */
@media (max-width: 1024px) {
    .logo-nav .main-logo {
        height: 55px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -220px;
        width: 220px;
        height: auto;
        max-height: calc(100vh - 100px);
        background: white;
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        border-radius: 15px 0 0 15px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
        margin-top: 10px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        list-style: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 18px 25px;
        text-decoration: none;
        color: var(--medium-gray);
        font-weight: 500;
        font-size: 1em;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu a:hover {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        color: var(--primary-blue);
        padding-left: 30px;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .nav-menu a:hover::before {
        transform: scaleY(1);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.2);
        z-index: -1;
        backdrop-filter: blur(2px);
    }
    
    /* FIXED HERO SECTION FOR MOBILE */
    .navbar {
        height: 70px;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .logo-nav .main-logo {
        height: 45px;
        max-width: 280px;
    }
    
    .hero {
        margin-top: 70px;
        min-height: calc(100vh - 70px);
        padding: 40px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 0 15px;
        display: grid !important;
    }
    
    /* Force the visual (cube) to be first */
    .hero-visual {
        order: -1 !important;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    /* Content comes second */
    .hero-content {
        order: 1 !important;
        text-align: center;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.2em;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    
    .hero-logo {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 0.95em;
    }
    
    /* Philosophy section spacing */
    .philosophy {
        padding: 60px 0;
    }
    
    .philosophy-container {
        padding: 0 15px;
    }
    
    .philosophy-quote {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    
    .philosophy-text {
        font-size: 1.1em;
    }
    
    /* Services section */
    .services {
        padding: 60px 0;
    }
    
    .services-container {
        padding: 0 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    /* Portfolio section */
    .portfolio {
        padding: 60px 0;
    }
    
    .portfolio-container {
        padding: 0 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* About section */
    .about {
        padding: 60px 0;
    }
    
    .about-container {
        padding: 0 15px;
    }
    
    .credentials {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact section */
    .contact {
        padding: 60px 0;
    }
    
    .contact-container {
        padding: 0 15px;
    }
    
    .contact-content {
        padding: 30px 20px;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 25px;
        margin-top: 30px;
    }
    
    .contact-item {
        text-align: center;
        padding: 20px;
        background: rgba(255,255,255,0.5);
        border-radius: 12px;
    }
    
    .contact-item .btn-primary {
        margin-top: 10px;
        padding: 12px 24px;
        font-size: 0.9em;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 15px;
    }
    
    .nav-menu:not(.active) {
        display: none;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .nav-menu {
        width: 200px;
        right: -200px;
    }
    
    .nav-menu a {
        padding: 16px 20px;
        font-size: 0.95em;
    }
    
    .nav-menu a:hover {
        padding-left: 25px;
    }
    
    .logo-nav .main-logo {
        height: 40px;
        max-width: 250px;
    }
    
    /* HERO SECTION FIXES FOR SMALL SCREENS */
    .hero-content h1 {
        font-size: 1.8em !important;
    }
    
    .hero-subtitle {
        font-size: 1em !important;
    }
    
    .hero-logo {
        width: 150px !important;
        height: 150px !important;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .philosophy-quote {
        font-size: 1.5em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .contact-content {
        padding: 25px 15px;
    }
    
    .contact-item {
        padding: 15px;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow-x: hidden;
}

/* Prevent text overflow */
* {
    box-sizing: border-box;
    word-wrap: break-word;
}

/* Container max width safety */
.hero-container,
.philosophy-container,
.services-container,
.portfolio-container,
.about-container,
.contact-container {
    max-width: 100%;
}

/* Animation improvements */
.nav-menu a {
    opacity: 0;
    transform: translateX(20px);
    animation: menuSlideIn 0.3s ease forwards;
}

.nav-menu.active a:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.active a:nth-child(2) { animation-delay: 0.15s; }
.nav-menu.active a:nth-child(3) { animation-delay: 0.2s; }
.nav-menu.active a:nth-child(4) { animation-delay: 0.25s; }
.nav-menu.active a:nth-child(5) { animation-delay: 0.3s; }

@keyframes menuSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}