/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --bg-primary: #fafbfc;
    --bg-secondary: #ffffff;
    --text-primary: #1a1d29;
    --text-secondary: #6b7280;
    --border-color: rgba(59, 130, 246, 0.15);
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --shadow: rgba(0, 0, 0, 0.08);
}

.dark {
    /* Dark Mode Colors */
    --bg-primary: #0a0d14;
    --bg-secondary: rgba(20, 25, 35, 0.6);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(59, 130, 246, 0.25);
    --shadow: rgba(0, 0, 0, 0.4);
}

/* SF Pro Display Font */
@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display'), local('SFProDisplay-Regular'), local('-apple-system');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display Medium'), local('SFProDisplay-Medium'), local('-apple-system');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display Semibold'), local('SFProDisplay-Semibold'), local('-apple-system');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display Bold'), local('SFProDisplay-Bold'), local('-apple-system');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
    font-size: 0.9375rem;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.dark body::before {
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 251, 252, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dark .navbar {
    background: rgba(10, 13, 20, 0.8);
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-mini-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
}

.profile-mini-img .profile-mini-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.views-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    padding: 0.25rem 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-500);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--blue-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.dark .nav-links a:hover {
    color: var(--blue-400);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--blue-500);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Animated Background */
.animated-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.background-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.dark .background-lines {
    opacity: 0.1;
}

.line {
    fill: none;
    stroke: var(--blue-500);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-line 4s ease-in-out infinite;
}

.line-1 {
    stroke: var(--blue-500);
    animation-duration: 3s;
}

.line-2 {
    stroke: var(--blue-400);
    animation-duration: 4s;
    animation-delay: 0.5s;
}

.line-3 {
    stroke: var(--blue-600);
    animation-duration: 3.5s;
    animation-delay: 1s;
}

@keyframes draw-line {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    mix-blend-mode: multiply;
    animation: float 25s ease-in-out infinite;
}

.dark .floating-circle {
    mix-blend-mode: screen;
    opacity: 0.15;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--blue-400);
    top: 10%;
    left: 5%;
    animation-duration: 20s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--blue-500);
    top: 50%;
    right: 5%;
    animation-duration: 30s;
    animation-delay: 2s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: var(--blue-600);
    bottom: 10%;
    left: 30%;
    animation-duration: 25s;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, 50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 80px) scale(0.9);
    }
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 1.25rem 3rem;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 450px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-blue {
    color: var(--blue-500);
    position: relative;
}

.dark .highlight-blue {
    color: var(--blue-400);
}

.hero-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 450px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-hero-secondary {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--blue-500);
    transform: translateY(-2px);
}

.btn-hero-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--blue-500);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-hero-cv:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: var(--blue-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    width: 300px;
    height: 200px;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.code-line {
    height: 12px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    width: 100%;
}

.code-line.short {
    width: 60%;
}

/* Sections */
.section {
    padding: 3.5rem 1.25rem;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50px;
    color: var(--blue-600);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .section-label {
    color: var(--blue-400);
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    position: relative;
    padding: 6px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(37, 99, 235, 0.12));
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 12px rgba(59, 130, 246, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-image-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.55);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--bg-secondary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-placeholder svg {
    width: 60%;
    height: 60%;
    color: var(--blue-500);
}

.image-placeholder .about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px;
}

.image-decoration {
    display: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-intro h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.about-details p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
}

.about-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.625rem;
}

.skill-tag {
    padding: 0.3125rem 0.625rem;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Skills Section */
.skills-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--blue-500);
    color: var(--blue-600);
    transform: translateY(-2px);
}

.dark .filter-btn:hover {
    color: var(--blue-400);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-color: var(--blue-500);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.skills-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 1rem;
}

.skill-card {
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
    flex: 0 0 auto;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.skill-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--blue-500);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
}

.skill-icon-wrapper {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.skill-icon {
    width: 75px;
    height: 75px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.skill-card:hover .skill-icon {
    border-color: var(--blue-500);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.skill-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0;
    text-align: center;
}

.skill-note {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Icon styles */
.skill-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
}

/* Photoshop Icon */
.photoshop-icon {
    background: transparent;
    border-color: rgba(49, 168, 255, 0.3);
}

.photoshop-icon svg {
    border-radius: 18px;
}

.skill-card:hover .photoshop-icon {
    border-color: #31A8FF;
    box-shadow: 0 8px 20px rgba(49, 168, 255, 0.3);
}

/* Illustrator Icon */
.illustrator-icon {
    background: transparent;
    border-color: rgba(255, 154, 0, 0.3);
}

.illustrator-icon svg {
    border-radius: 18px;
}

.skill-card:hover .illustrator-icon {
    border-color: #FF9A00;
    box-shadow: 0 8px 20px rgba(255, 154, 0, 0.3);
}

/* InDesign Icon */
.indesign-icon {
    background: transparent;
    border-color: rgba(255, 51, 102, 0.3);
}

.indesign-icon svg {
    border-radius: 18px;
}

.skill-card:hover .indesign-icon {
    border-color: #FF3366;
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.3);
}

/* Figma Icon */
.figma-icon {
    background: transparent;
    border-color: rgba(10, 207, 131, 0.3);
}

.figma-icon svg {
    border-radius: 18px;
}

.skill-card:hover .figma-icon {
    border-color: #0ACF83;
    box-shadow: 0 8px 20px rgba(10, 207, 131, 0.3);
}

/* WordPress Icon */
.wordpress-icon {
    background: transparent;
    border-color: rgba(33, 117, 155, 0.3);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wordpress-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
    background: white;
    padding: 12px;
}

.skill-card:hover .wordpress-icon {
    border-color: #21759B;
    box-shadow: 0 8px 20px rgba(33, 117, 155, 0.3);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.project-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--blue-500);
    text-decoration: none;
    color: inherit;
}

.project-image-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.project-image-fallback {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--blue-600);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-block;
    pointer-events: none;
}

.project-info {
    padding: 1rem;
}

.project-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    padding: 0.375rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-600);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.dark .project-tag {
    color: var(--blue-400);
}

/* Contact Section - Centré */
.contact-centered {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.contact-item-centered {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.contact-label-centered {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-value-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-value-centered {
    font-size: 0.9375rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value-centered:hover {
    color: var(--blue-600);
}

.dark .contact-value-centered:hover {
    color: var(--blue-400);
}

.btn-download-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue-500);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-download-cv:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--blue-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.copy-btn-centered {
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--blue-600);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dark .copy-btn-centered {
    color: var(--blue-400);
}

.copy-btn-centered:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--blue-500);
    transform: scale(1.1);
}

.copy-btn-centered.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
}

.copy-btn-centered svg {
    display: block;
}

.contact-social-centered {
    display: flex;
    justify-content: center;
    gap: 0.875rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.social-link-centered {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-centered:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--blue-500);
    color: var(--blue-600);
    transform: translateY(-3px);
}

.dark .social-link-centered:hover {
    color: var(--blue-400);
}

.social-link-centered svg {
    display: block;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Click Animation */
.click-effect {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 4px solid var(--blue-500);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: click-animate 0.6s ease-out forwards;
}

@keyframes click-animate {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}


/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Project Detail Page Styles - Simple */
.project-detail-section {
    padding-top: 60px;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 3rem;
    transition: color 0.2s ease;
    position: relative;
    z-index: 2;
}

.back-link:hover {
    color: var(--blue-500);
}

.project-header-simple {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.project-emoji-simple {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.project-title-simple {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-meta-simple {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.figma-container-simple {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.figma-link-simple {
    display: inline-block;
    color: var(--blue-500);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.figma-link-simple:hover {
    color: var(--blue-600);
}

.dark .figma-link-simple:hover {
    color: var(--blue-400);
}

.project-desc-simple {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.project-desc-simple p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
    white-space: pre-line;
}

.project-why-simple {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.project-why-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-why-simple p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.dark .project-why-simple {
    background: rgba(59, 130, 246, 0.08);
}

.project-gallery-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.project-gallery-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

.project-gallery-emoji {
    font-size: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: rgba(59, 130, 246, 0.03);
}

.dark .project-gallery-emoji {
    background: rgba(59, 130, 246, 0.05);
}

.project-tags-simple {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.tags-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tags-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 60px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-tag,
.project-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-600);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.dark .tool-tag,
.dark .project-tag {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-400);
}

/* Responsive pour la page projet */
@media (max-width: 768px) {
    .project-detail-section {
        padding-top: 100px;
    }

    .project-emoji-simple {
        font-size: 3rem;
    }

    .project-title-simple {
        font-size: 2rem;
    }

    .project-desc-simple p {
        font-size: 1rem;
    }

    .project-why-simple {
        padding: 1.5rem;
    }

    .project-why-title {
        font-size: 1.25rem;
    }

    .project-why-simple p {
        font-size: 1rem;
    }

    .project-gallery-simple {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-gallery-item {
        height: 220px;
    }

    .project-gallery-emoji {
        font-size: 4rem;
        padding: 2rem 1.5rem;
    }

    .tags-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
