/* CSS Variables for Color Palette */
:root {
    --dark-bg: #1a1a1a;
    --dark-gray: #2a2a2a;
    --darker-gray: #1f1f1f;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    
    /* Lime Green Accent Colors */
    --lime-bright: rgb(90, 222, 62);
    --lime-medium: rgb(51, 220, 15);
    --lime-base: rgb(34, 193, 0);
    --lime-dark: rgb(27, 156, 0);
    --lime-darker: rgb(21, 120, 0);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(90, 222, 62, 0.1);
    transition: all 0.3s ease;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--lime-bright), var(--lime-base));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--lime-bright), var(--lime-base));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--lime-bright);
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.grid-pattern {
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        linear-gradient(rgba(90, 222, 62, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 222, 62, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

/* Animated gradient orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.5;
    transition: transform 0.15s ease-out, opacity 0.3s ease;
    will-change: transform;
}

.gradient-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(90, 222, 62, 0.6) 0%,
        rgba(51, 220, 15, 0.4) 30%,
        rgba(34, 193, 0, 0.2) 60%,
        transparent 100%
    );
    top: 20%;
    left: 15%;
    animation: orbPulse 6s ease-in-out infinite;
    transform: translate(var(--orb-1-x, 0px), var(--orb-1-y, 0px));
    transform-origin: center;
}

.gradient-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle,
        rgba(34, 193, 0, 0.5) 0%,
        rgba(51, 220, 15, 0.3) 40%,
        rgba(90, 222, 62, 0.15) 70%,
        transparent 100%
    );
    bottom: 25%;
    right: 20%;
    animation: orbPulse 7s ease-in-out infinite;
    animation-delay: -2s;
    transform: translate(var(--orb-2-x, 0px), var(--orb-2-y, 0px));
    transform-origin: center;
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(51, 220, 15, 0.4) 0%,
        rgba(90, 222, 62, 0.25) 35%,
        rgba(34, 193, 0, 0.1) 65%,
        transparent 100%
    );
    top: 50%;
    right: 10%;
    animation: orbPulse 8s ease-in-out infinite;
    animation-delay: -4s;
    transform: translate(var(--orb-3-x, 0px), var(--orb-3-y, 0px));
    transform-origin: center;
}

/* Pulsing animation for subtle breathing effect */
@keyframes orbPulse {
    0%, 100% {
        opacity: 0.4;
        filter: blur(60px);
    }
    50% {
        opacity: 0.6;
        filter: blur(55px);
    }
}


@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--lime-bright), var(--lime-base), var(--lime-medium));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin: 2rem 0 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--lime-bright), var(--lime-base));
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(90, 222, 62, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--lime-bright);
    border-color: var(--lime-base);
}

.btn-secondary:hover {
    background: rgba(90, 222, 62, 0.1);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Remove section-specific gradients - using global gradient instead */

section > * {
    position: relative;
    z-index: 1;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--lime-bright), var(--lime-base));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background-color: var(--darker-gray);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(90, 222, 62, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    transform: translateY(var(--about-parallax, 0px));
    transition: transform 0.1s ease-out;
    pointer-events: none;
    z-index: 0;
}

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

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background-color: var(--dark-bg);
    position: relative;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(34, 193, 0, 0.12) 0%,
        transparent 70%
    );
    border-radius: 50%;
    transform: translateY(var(--contact-parallax, 0px));
    transition: transform 0.1s ease-out;
    pointer-events: none;
    z-index: 0;
}

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

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

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

.hidden {
    display: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--dark-gray);
    border: 1px solid rgba(90, 222, 62, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--lime-base);
    box-shadow: 0 0 0 3px rgba(90, 222, 62, 0.1);
    background-color: rgba(90, 222, 62, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(90, 222, 62, 0.3);
}

/* Form Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(90, 222, 62, 0.1);
    border: 1px solid var(--lime-base);
    color: var(--lime-bright);
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff6b6b;
}

/* Footer */
.footer {
    background-color: var(--darker-gray);
    border-top: 1px solid rgba(90, 222, 62, 0.1);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--lime-bright), var(--lime-base));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-gray);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(90, 222, 62, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--lime-bright), var(--lime-base));
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(90, 222, 62, 0.3);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(90, 222, 62, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid rgba(90, 222, 62, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-form {
        max-width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}


