/* ============================================
   MOHAMMAD JONY - Animation Portfolio
   Easy to Edit CSS File
   ============================================ */

/* ---------- COLOR VARIABLES (Change these to customize colors) ---------- */
:root {
    --primary-color: #6c5ce7;      /* Main purple color */
    --secondary-color: #a29bfe;    /* Light purple */
    --accent-color: #fd79a8;       /* Pink accent */
    --dark-color: #2d3436;         /* Dark text */
    --light-color: #ffffff;        /* White */
    --gray-color: #636e72;         /* Gray text */
    --light-gray: #f5f6fa;         /* Light background */
    --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-2: linear-gradient(135deg, #fd79a8 0%, #6c5ce7 100%);
    --shadow: 0 10px 40px rgba(108, 92, 231, 0.2);
    --shadow-hover: 0 20px 60px rgba(108, 92, 231, 0.3);
}

/* ---------- RESET & BASE STYLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: 0.3s;
}

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 100px 50px;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.greeting {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.name {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1.2;
}

.title {
    font-size: 2rem;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--light-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

/* Hero Animation Circle */
.hero-animation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animation-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: var(--shadow);
}

.inner-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ---------- SECTION STYLES ---------- */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-2);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ---------- ABOUT SECTION ---------- */
.about {
    padding: 100px 50px;
    background: var(--light-color);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.about-image {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 450px;
    background: var(--light-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-color);
    border: 3px dashed var(--secondary-color);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* ---------- SKILLS SECTION ---------- */
.skills {
    padding: 100px 50px;
    background: var(--light-gray);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.skill-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 5px;
    transition: width 1s ease;
}

.skill-percent {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ---------- PORTFOLIO SECTION ---------- */
.portfolio {
    padding: 100px 50px;
    background: var(--light-color);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: none;
    background: var(--light-gray);
    color: var(--dark-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-1);
    color: var(--light-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portfolio-placeholder {
    width: 100%;
    height: 280px;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px dashed var(--secondary-color);
}

.portfolio-placeholder span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.portfolio-placeholder p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 10px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 92, 231, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--light-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.view-btn {
    padding: 10px 25px;
    background: var(--light-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: var(--accent-color);
    color: var(--light-color);
}

/* ---------- SERVICES SECTION ---------- */
.services {
    padding: 100px 50px;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- CONTACT SECTION ---------- */
.contact {
    padding: 100px 50px;
    background: var(--light-color);
    position: relative;
}

.contact-content {
    display: flex;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.contact-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-1);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--light-color);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--light-color);
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark-color);
    padding: 60px 50px 30px;
    color: var(--light-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 30px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--light-color);
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 30px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .name {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .animation-circle {
        width: 250px;
        height: 250px;
    }

    .inner-circle {
        width: 180px;
        height: 180px;
    }

    .about {
        padding: 80px 30px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .skills {
        padding: 80px 30px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .portfolio {
        padding: 80px 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .services {
        padding: 80px 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 80px 30px;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer {
        padding: 40px 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }

    .whatsapp-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .portfolio-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
