@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #25334a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-cyan: #38bdf8;
    --accent-purple: #c084fc;
    --border-color: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.orb-1 { top: -100px; left: -100px; width: 400px; height: 400px; background: rgba(56, 189, 248, 0.3); }
.orb-2 { top: 40%; right: -150px; width: 500px; height: 500px; background: rgba(192, 132, 252, 0.2); }
.orb-3 { bottom: -100px; left: 20%; width: 600px; height: 600px; background: rgba(56, 189, 248, 0.2); }

/* Typography & Utilities */
h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

h2 span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.nav-self {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-self h1 {
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-items a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-items a:hover {
    color: var(--accent-cyan);
}

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

.primary-btn {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #fff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 132, 252, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-cyan);
}

.secondary-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.greeting {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    text-align: left;
}

.my-name {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.my-name span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
}

/* About Section */
.about-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 2px solid var(--border-color);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 28px;
    border: 2px solid var(--accent-cyan);
    z-index: -1;
    opacity: 0.3;
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    text-align: left;
}

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

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.1);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tech-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tech-tags span {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Skills Section */
.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
}

.skill-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-item h3 i {
    color: var(--accent-cyan);
    font-size: 1.8rem;
}

.skill-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.info-box i {
    font-size: 2rem;
    color: var(--accent-purple);
    background: rgba(192, 132, 252, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-box p, .info-box a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: var(--accent-cyan);
}

.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    margin-top: 4rem;
}

/* Observer Animations */
.hidden { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.show { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media (max-width: 900px) {
    .about-container, .contact-container { flex-direction: column; }
    .my-name { font-size: 3rem; }
    .subtitle { font-size: 1.5rem; }
    .nav-self { flex-direction: column; gap: 1rem; padding: 1rem; }
    .nav-items a { font-size: 0.85rem; }
}
