/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0b0f19; /* Sleek, dark background */
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: #6366f1; /* Premium violet accent */
}

.navbar nav a {
    margin-left: 32px;
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
}

.navbar nav a:hover {
    color: #ffffff;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 180px 80px 100px 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

.badge {
    background-color: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: inline-block;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.highlight {
    background: linear-gradient(to right, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text; /* Add this line to fix the warning */
    -webkit-text-fill-color: transparent;
}

.hero-content h2 {
    font-size: 28px;
    color: #94a3b8;
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* BUTTON HOVER EFFECTS */
.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
    background-color: #6366f1;
    color: white;
}

.btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* IMAGE ANIMATION & STYLES */
.hero-image-container {
    position: relative;
}

.profile-img {
    width: 360px;
    height: 360px;
    border-radius: 24px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    /* Subtle floating pulse animation */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ==========================================================================
   4. COMMON SECTION LAYOUT
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.section-header p {
    color: #64748b;
    font-size: 16px;
}

/* ==========================================================================
   5. ABOUT ME SECTION
   ========================================================================== */
.about-section {
    padding: 100px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.about-box p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.about-box p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   6. SKILLS SECTION
   ========================================================================== */
.skills-section {
    padding: 100px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* SKILL CARD HOVER EFFECTS */
.skill-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: #6366f1;
    transform: translateY(-5px);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

/* ==========================================================================
   7. PROJECTS SECTION
   ========================================================================== */
.projects-section {
    padding: 100px 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* WORK CARD HOVER EFFECTS & TRANSITIONS */
.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-img-wrapper {
    overflow: hidden;
    width: 100%;
    height: 220px;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.project-info p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #64748b;
}

/* Compound Hover interactions for projects */
.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

/* ==========================================================================
   8. CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 80px 140px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
}

.contact-card h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.contact-card p {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 32px;
}

.email-link {
    font-size: 28px;
    font-weight: 600;
    color: white;
    display: inline-block;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.email-link:hover {
    color: #6366f1;
    border-color: #6366f1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.social-links a {
    color: #64748b;
    font-weight: 600;
    font-size: 15px;
}

.social-links a:hover {
    color: white;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
    font-size: 14px;
}