/* ============================================
   NAUSHAD Alam (KING) - PORTFOLIO
   Dark Theme with Golden Accents 👑
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    
    /* Golden Accent */
    --gold: #FFD700;
    --gold-light: #FFED4A;
    --gold-dark: #D4AF37;
    --gold-glow: rgba(255, 215, 0, 0.3);
    
    --accent-green: #00ff88;
    --accent-blue: #00d4ff;
    
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    
    --font-main: 'Outfit', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease-out;
    mix-blend-mode: difference;
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-crown {
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--gradient-gold) !important;
    color: var(--bg-primary) !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.cta-btn::after {
    display: none !important;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--gold-glow) !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.tagline {
    display: block;
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--gold-glow);
}

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease 0.5s forwards;
    opacity: 0;
}

.hero-card {
    width: 350px;
    height: 450px;
    background: var(--bg-card);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--gold), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0.3;
}

.card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-card);
    margin: 3px;
    border-radius: 27px;
}

.profile-icon {
    width: 150px;
    height: 150px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--bg-primary);
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px var(--gold-glow);
}

.card-lines {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.line {
    width: 150px;
    height: 8px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    animation: linePulse 2s infinite;
}

.line:nth-child(2) {
    width: 120px;
    animation-delay: 0.3s;
}

.line:nth-child(3) {
    width: 100px;
    animation-delay: 0.6s;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold);
    animation: float 6s ease-in-out infinite;
}

.fe-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.fe-2 {
    top: 30%;
    left: 0%;
    animation-delay: 1s;
}

.fe-3 {
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

.fe-4 {
    bottom: 10%;
    left: 10%;
    animation-delay: 1.5s;
}

/* Section Styles */
section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
}

.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: var(--gradient-dark);
}

.about-content {
    margin-bottom: 4rem;
}

.about-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    width: 300px;
    height: 300px;
    background: var(--bg-card);
    border: 2px solid var(--gold);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.image-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 30px;
    opacity: 0.3;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-weight: 500;
}

.highlight-item i {
    font-size: 1.2rem;
}

/* MVG Cards */
.mvg-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mvg-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
    text-align: center;
}

.mvg-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.1);
}

.mvg-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    margin: 0 auto 1.5rem;
}

.mvg-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.mvg-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 10px;
    width: var(--progress);
    transition: width 1s ease;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.1);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold);
}

.project-content {
    padding: 2rem;
}

.project-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--gold);
    transform: translateX(10px);
}

.contact-card i {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold);
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-card a,
.contact-card p {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-card a:hover {
    color: var(--gold);
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        display: flex;
        justify-content: center;
    }
    
    .about-highlights {
        justify-content: center;
    }
    
    .mvg-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-card {
        width: 280px;
        height: 380px;
    }
    
    .profile-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .float-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .about-highlights {
        flex-direction: column;
        align-items: center;
    }
}
/* Form Status Messages */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.form-status.success .success-message {
    color: #00ff88;
    font-weight: 500;
}

.form-status.error .error-message {
    color: #ff4444;
    font-weight: 500;
}

.success-message,
.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Profile Image Styles */
.profile-image,
.about-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 20px 60px var(--gold-glow);
}

.about-img {
    width: 100%;
    height: 100%;
    border-radius: 27px;
    object-fit: cover;
}

/* Background Image */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    opacity: 0.3;
}

/* Fallback dark background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, #1a1a1a 0%, #0a0a0a 100%);
    z-index: -3;
}