/* =====================================================
   YAĞMUR 3D ARTIST PORTFOLIO - PREMIUM DARK THEME
   Cinematic, Immersive, Visual-First Design
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&family=Playfair+Display:wght@700&display=swap');

:root {
    /* Core Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    /* Accent Colors */
    --accent-pink: #ff6b9d;
    --accent-blue: #64d6ff;
    --accent-purple: #a855f7;
    --accent-gradient: linear-gradient(135deg, var(--accent-pink), var(--accent-purple), var(--accent-blue));

    /* Project Colors */
    --color-recharge: #eb5939;
    --color-floor9: #c9a227;
    --color-glix: #e0e0e0;
    --color-buddies: #4a9eff;
    --color-jack: #f5eb59;
    --color-erectus: #ff2a6d;
    --color-animal: #8bc34a;
    --color-bank: #00bcd4;
    --color-hunt: #d4a373;
    --color-puzzle: #ff9eb5;
    --color-scene: #b39ddb;
    --color-bear-burger: #e7ad66;
    --color-mobile-puzzle: #8c5cff;
    --color-leaf-cleanup: #75d63c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* ARTISTIC BACKGROUND EFFECTS */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 107, 157, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(100, 214, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h1 {
    font-size: clamp(3rem, 10vw, 8rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* LAYOUT */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* LANGUAGE SWITCHER */
.lang-switch {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-links a:hover {
    color: var(--text-primary);
}

.navbar-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.4);
    border-radius: 25px;
    color: var(--accent-pink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.navbar-pdf-btn:hover {
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
    transform: translateY(-2px);
}

.navbar-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-btn-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 24px;
}

.hero h1 span {
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(255, 107, 157, 0.2),
        0 0 100px rgba(100, 214, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 20px;
    z-index: -1;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple), var(--accent-blue)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* BUTTONS */
.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

/* STATS BAR */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-pink);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* PROJECT CARDS */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.project-order-mobile-puzzle {
    order: 1;
}

.project-order-bear-burger {
    order: 2;
    direction: rtl;
}

.project-order-bear-burger > * {
    direction: ltr;
}

.project-order-leaf-cleanup {
    order: 3;
    direction: ltr;
}

.project-order-leaf-cleanup > * {
    direction: ltr;
}

.project-order-observatory {
    order: 4;
}

.project-order-board-puzzle {
    order: 5;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    transition: transform 0.5s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card:nth-child(even) {
    direction: rtl;
}

.project-card:nth-child(even)>* {
    direction: ltr;
}

.project-media {
    position: relative;
}

.project-hero-img {
    width: 100%;
    border-radius: 16px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-hero-img:hover {
    transform: scale(1.01);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 157, 0.1);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.project-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.project-gallery img:hover {
    opacity: 1;
    transform: translateY(-4px);
}

.project-gallery img.active {
    opacity: 1;
    border: 2px solid var(--accent-pink);
    transform: scale(0.95);
}

.project-hero-img {
    transition: opacity 0.2s ease, transform 0.4s ease;
}

.project-content {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-hero-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    background: #090909;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.project-hero-video--portrait {
    aspect-ratio: 9 / 16;
    object-fit: contain;
    max-height: 760px;
}

.project-gallery--portrait-pair {
    grid-template-columns: repeat(2, 1fr);
}

.project-gallery--portrait-pair img {
    aspect-ratio: 9 / 16;
    max-height: 520px;
    object-fit: contain;
    background: #090909;
}

.project-gallery--single {
    grid-template-columns: 1fr;
}

.project-gallery--single img {
    aspect-ratio: 9 / 16;
    max-height: 520px;
    object-fit: contain;
    background: #090909;
}

.project-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.project-title {
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.project-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-stat-item {
    text-align: left;
}

.project-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.project-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.project-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 16px;
}

.tag-mini {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.tag-mini--animal {
    background: var(--color-animal);
    border-color: rgba(139, 195, 74, 0.6);
    color: rgba(10, 18, 6, 0.95);
}

.tag-mini--bank {
    background: var(--color-bank);
    border-color: rgba(0, 188, 212, 0.6);
    color: rgba(5, 15, 18, 0.95);
}

.tag-mini--puzzle {
    background: var(--color-puzzle);
    border-color: rgba(255, 158, 181, 0.6);
    color: rgba(24, 8, 13, 0.95);
}

.tag-mini--jack {
    background: var(--color-jack);
    border-color: rgba(245, 235, 89, 0.6);
    color: rgba(18, 16, 6, 0.95);
}

.tag-mini--buddies {
    background: var(--color-buddies);
    border-color: rgba(74, 158, 255, 0.6);
    color: rgba(6, 10, 18, 0.95);
}

.tag-mini--glix {
    background: var(--color-glix);
    border-color: rgba(224, 224, 224, 0.55);
    color: rgba(12, 12, 12, 0.95);
}

.tag-mini--floor9 {
    background: var(--color-floor9);
    border-color: rgba(201, 162, 39, 0.6);
    color: rgba(18, 14, 6, 0.95);
}

.tag-mini--hunt {
    background: var(--color-hunt);
    border-color: rgba(212, 163, 115, 0.6);
    color: rgba(18, 12, 6, 0.95);
}

.tag-mini--recharge {
    background: var(--color-recharge);
    border-color: rgba(235, 89, 57, 0.6);
    color: rgba(18, 8, 6, 0.95);
}

.tag-mini--bear-burger {
    background: var(--color-bear-burger);
    border-color: rgba(231, 173, 102, 0.7);
    color: rgba(24, 14, 7, 0.95);
}

.tag-mini--mobile-puzzle {
    background: var(--color-mobile-puzzle);
    border-color: rgba(140, 92, 255, 0.7);
    color: #ffffff;
}

.tag-mini--leaf-cleanup {
    background: var(--color-leaf-cleanup);
    border-color: rgba(117, 214, 60, 0.7);
    color: rgba(8, 22, 5, 0.95);
}

.tag-mini:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 107, 157, 0.3);
}

.tag-mini.tag-mini--animal:hover {
    background: var(--color-animal);
    border-color: rgba(139, 195, 74, 0.6);
    color: rgba(10, 18, 6, 0.95);
}

.tag-mini.tag-mini--bank:hover {
    background: var(--color-bank);
    border-color: rgba(0, 188, 212, 0.6);
    color: rgba(5, 15, 18, 0.95);
}

.tag-mini.tag-mini--puzzle:hover {
    background: var(--color-puzzle);
    border-color: rgba(255, 158, 181, 0.6);
    color: rgba(24, 8, 13, 0.95);
}

.tag-mini.tag-mini--jack:hover {
    background: var(--color-jack);
    border-color: rgba(245, 235, 89, 0.6);
    color: rgba(18, 16, 6, 0.95);
}

.tag-mini.tag-mini--buddies:hover {
    background: var(--color-buddies);
    border-color: rgba(74, 158, 255, 0.6);
    color: rgba(6, 10, 18, 0.95);
}

.tag-mini.tag-mini--glix:hover {
    background: var(--color-glix);
    border-color: rgba(224, 224, 224, 0.55);
    color: rgba(12, 12, 12, 0.95);
}

.tag-mini.tag-mini--floor9:hover {
    background: var(--color-floor9);
    border-color: rgba(201, 162, 39, 0.6);
    color: rgba(18, 14, 6, 0.95);
}

.tag-mini.tag-mini--hunt:hover {
    background: var(--color-hunt);
    border-color: rgba(212, 163, 115, 0.6);
    color: rgba(18, 12, 6, 0.95);
}

.tag-mini.tag-mini--recharge:hover {
    background: var(--color-recharge);
    border-color: rgba(235, 89, 57, 0.6);
    color: rgba(18, 8, 6, 0.95);
}

.tag-mini.tag-mini--bear-burger:hover {
    background: var(--color-bear-burger);
    border-color: rgba(231, 173, 102, 0.7);
    color: rgba(24, 14, 7, 0.95);
}

.tag-mini.tag-mini--mobile-puzzle:hover {
    background: var(--color-mobile-puzzle);
    border-color: rgba(140, 92, 255, 0.7);
    color: #ffffff;
}

.tag-mini.tag-mini--leaf-cleanup:hover {
    background: var(--color-leaf-cleanup);
    border-color: rgba(117, 214, 60, 0.7);
    color: rgba(8, 22, 5, 0.95);
}

/* SKILLS SECTION */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.skill-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-pink);
}

.skill-percentage {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-name {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* CONTACT SECTION */
.contact-wrapper {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-input {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-pink);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

/* FOOTER */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 968px) {

    /* MOBILE NAVBAR FIX */
    .navbar {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 10px 0;
    }

    .navbar-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar-links {
        gap: 12px;
        font-size: 12px;
    }

    .navbar-links a {
        font-size: 11px;
        letter-spacing: 0;
    }

    .navbar-pdf-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .lang-switch {
        top: auto;
        bottom: 20px;
        right: 20px;
        padding: 6px 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 280px;
        margin: 0 auto;
        animation: none;
    }

    .hero-image::before {
        display: none;
    }

    .hero-description {
        margin: 0 auto 40px;
        font-size: 1rem;
    }

    .btn-group {
        justify-content: center;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card,
    .project-card:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .project-order-bear-burger,
    .project-order-leaf-cleanup {
        direction: ltr;
    }

    .project-card:hover {
        transform: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }
}

/* STEAM BUTTON */
.btn-steam {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #66c0f4;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 192, 244, 0.3);
}

.steam-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-steam:hover {
    background: linear-gradient(135deg, #2a475e, #3d6478);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 192, 244, 0.3);
}

/* Mobile navbar - hamburger style */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .navbar-logo {
        font-size: 1.2rem;
    }

    .navbar-pdf-btn {
        display: flex !important;
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-pink);
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* LIGHTBOX MODAL */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--accent-pink);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-pink);
}

/* GALLERY FIX - PRESERVE ASPECT RATIO */
.project-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.project-gallery img:hover {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* CONTACT INFO */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent-pink);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent-pink);
}

.contact-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.contact-item:hover span {
    color: var(--accent-pink);
}

/* SKILL ICONS */
.skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
}

/* =====================================================
   CREATIVE POLISH & ANIMATIONS
   ===================================================== */

/* 1. SCROLL REVEAL ANIMATION */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for children */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* 2. HERO ANIMATED GRADIENT TEXT */
h1 span {
    background: linear-gradient(to right, #ffffff, #a0a0a0, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* 3. SKILL CARD GLOW EFFECT */
.skill-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 4. FOOTER ENHANCEMENT */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, #0a0a0a, #050505);
}

/* 5. SMOOTH SCROLL BEHAVIOR */
html {
    scroll-behavior: smooth;
}

/* 6. GLOWING BUTTONS */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-pink);
    z-index: -2;
}

.btn-primary::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    transition: all 0.3s;
    z-index: -1;
    opacity: 0.1;
}

.btn-primary:hover::before {
    width: 100%;
}
