/* RESET & GLOBALS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d0f12;
    color: #e6e8ec;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: rgba(13, 15, 18, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo span {
    color: #ff3366;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #a0a5b5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff3366;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #ff3366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.6);
}

.secondary-btn {
    border: 2px solid #a0a5b5;
    color: #fff;
    margin-left: 15px;
}

.secondary-btn:hover {
    border-color: #ff3366;
    color: #ff3366;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
}

.underline {
    width: 60px;
    height: 4px;
    background: #ff3366;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* 1. HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8% 60px;
}

.hero-content {
    max-width: 50%;
}

.hero-content .subtitle {
    color: #ff3366;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
    margin: 15px 0;
}

.highlight {
    color: #ff3366;
}

.hero-content p {
    color: #a0a5b5;
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
}

.image-wrapper img {
    width: 380px;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.developer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 28px;
    border-radius: 50px;

    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff;
    text-decoration: none;
    font-weight: 600;

    transition: .3s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, .25);
}

.developer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(37, 99, 235, .35);
}

.developer-btn i {
    font-size: 16px;
}

/* 2. ABOUT ME SECTION */
.about-section {
    padding: 100px 0;
    background-color: #12151a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 15px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: #a0a5b5;
    margin-bottom: 30px;
}

.stats-grid {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: #1a1e26;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
}

.stat-card h4 {
    font-size: 30px;
    color: #ff3366;
}

.stat-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* 3. TECH & TOOLS SECTION */

.tools-section {
    padding: 100px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tool-card {
    background: #12151a;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tool-card i {
    font-size: 40px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.tool-card h3 {
    margin-bottom: 10px;
}

.tool-card p {
    color: #a0a5b5;
    font-size: 14px;
}

/* BRAND COLOR SPECIFIC STYLES & HOVER EFFECTS */

/* Photoshop */
.tool-photoshop i {
    color: #31A8FF;
}

.tool-photoshop:hover {
    transform: translateY(-10px);
    border-color: #31A8FF;
    box-shadow: 0 10px 30px rgba(49, 168, 255, 0.2);
}

/* Illustrator */
.tool-illustrator i {
    color: #FF9A00;
}

.tool-illustrator:hover {
    transform: translateY(-10px);
    border-color: #FF9A00;
    box-shadow: 0 10px 30px rgba(255, 154, 0, 0.2);
}

/* Figma */
.tool-figma i {
    color: #F24E1E;
}

.tool-figma:hover {
    transform: translateY(-10px);
    border-color: #F24E1E;
    box-shadow: 0 10px 30px rgba(242, 78, 30, 0.2);
}

/* After Effects */
.tool-aftereffects i {
    color: #9999FF;
}

.tool-aftereffects:hover {
    transform: translateY(-10px);
    border-color: #9999FF;
    box-shadow: 0 10px 30px rgba(153, 153, 255, 0.2);
}

/* InDesign */
.tool-indesign i {
    color: #FF3366;
}

.tool-indesign:hover {
    transform: translateY(-10px);
    border-color: #FF3366;
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.2);
}

/* Premiere Pro */
.tool-premiere i {
    color: #ea77ff;
}

.tool-premiere:hover {
    transform: translateY(-10px);
    border-color: #ea77ff;
    box-shadow: 0 10px 30px rgba(234, 119, 255, 0.2);
}

/* CorelDRAW */
.tool-coreldraw i {
    color: #6bbb00;
}

.tool-coreldraw:hover {
    transform: translateY(-10px);
    border-color: #6bbb00;
    box-shadow: 0 10px 30px rgba(107, 187, 0, 0.2);
}

/* Canva */
.tool-canva i {
    color: #00C4CC;
}

.tool-canva:hover {
    transform: translateY(-10px);
    border-color: #00C4CC;
    box-shadow: 0 10px 30px rgba(0, 196, 204, 0.2);
}

/* 4. DESIGN SHOWCASE SECTION */

.portfolio-section {
    padding: 100px 0;
    background-color: #12151a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* =========================================================
   PROFESSIONAL PORTFOLIO HOVER PREVIEW
   ========================================================= */

/* Portfolio card */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}


/* =========================================================
   FULLSCREEN MODAL
   ========================================================= */

.image-modal {
    display: none;

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    background: rgba(0, 0, 0, 0.92);

    z-index: 99999;

    justify-content: center;
    align-items: center;

    padding: 30px;

    opacity: 0;

    transition: opacity 0.3s ease;

    cursor: zoom-out;
}


/* Modal active */
.image-modal.show {
    display: flex;
    opacity: 1;
}


/* =========================================================
   FULLSCREEN IMAGE
   ========================================================= */

.modal-content {
    display: block;

    max-width: 90vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.8);

    cursor: default;

    opacity: 0;

    transform: scale(0.75);

    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}


/* Image expands */
.image-modal.show .modal-content {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.close-btn {
    position: absolute;

    top: 20px;
    right: 30px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: 32px;
    font-weight: 300;

    line-height: 1;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    cursor: pointer;

    z-index: 100000;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.close-btn:hover {
    background: #ff3366;
    color: #fff;
    transform: rotate(90deg);
}


/* =========================================================
   CAPTION
   ========================================================= */

.image-caption {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    padding: 8px 18px;

    background: rgba(0, 0, 0, 0.65);

    color: #fff;

    font-size: 14px;

    border-radius: 20px;

    white-space: nowrap;

    pointer-events: none;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.image-modal.show .image-caption {
    opacity: 1;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .image-modal {
        padding: 20px;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 80vh;
    }

    .close-btn {
        top: 15px;
        right: 15px;

        width: 40px;
        height: 40px;

        font-size: 28px;
    }

    .image-caption {
        bottom: 15px;
        max-width: 85%;

        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 5. CONTACT SECTION */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #12151a;
    padding: 50px;
    border-radius: 20px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info p {
    color: #a0a5b5;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    color: #ff3366;
    font-size: 20px;
    margin-right: 15px;
}

.social-links a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff3366;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    cursor: pointer;
}

.email-btn i {
    font-size: 16px;
}

/* 
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #1a1e26;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff3366;
} */

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    background: #090a0c;
    color: #a0a5b5;
    font-size: 14px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

.portfolio-section {
    padding: 50px 20px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.more-designs-cta {
    margin-top: 40px;
    font-size: 1.1rem;
}

.more-designs-cta a {
    color: #1877f2;
    font-weight: bold;
    text-decoration: none;
}

.more-designs-cta a:hover {
    text-decoration: underline;
}