:root {
    --bg-color: #050505;
    --surface-color: rgba(255, 255, 255, 0.03);
    --primary-color: #ffb86c;
    /* Amber/Gold for warmth */
    --secondary-color: #bd93f9;
    /* Soft Purple */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gradient: linear-gradient(135deg, #ffb86c, #ff79c6);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
    --card-hover-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(189, 147, 249, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 184, 108, 0.08) 0%, transparent 25%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.greeting {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.name {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.bio {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 184, 108, 0.3);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 184, 108, 0.4);
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.image-container {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections General */
.section {
    padding: 8rem 10%;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
}

.section-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards (Glassmorphism) */
.about-content,
.projects-grid,
.timeline,
.contact-wrapper {
    position: relative;
    z-index: 2;
}

.skill-card,
.project-card,
.timeline-content,
.contact-wrapper {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.skill-card:hover,
.project-card:hover,
.timeline-content:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--card-hover-shadow);
    background: rgba(255, 255, 255, 0.05);
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.stats {
    display: flex;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-item .number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Services / Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-image {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--glass-border);
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
    padding-top: 1rem;
}

/* Timeline */
.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    width: 2px;
    opacity: 0.3;
}

.timeline-content {
    padding: 2rem;
}

.timeline-date {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 4rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    color: white;
    border-radius: 12px;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    background: #020202;
    padding: 3rem;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        display: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero {
        flex-direction: column-reverse;
        padding-top: 8rem;
        text-align: center;
        gap: 4rem;
    }

    .image-container {
        width: 280px;
        height: 280px;
    }

    .name {
        font-size: 3rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 40px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-content::before {
        left: -33px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -33px;
    }

    .timeline-date {
        text-align: left;
        padding: 0;
        margin-bottom: 0.5rem;
    }

    .timeline-item:nth-child(even) .timeline-date {
        text-align: left;
        padding: 0;
    }
}