/* style.css - Design professionnel et moderne */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-dark-alt: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #00e5ff;
    --accent-hover: #00b8d4;
    --border-color: #2a2a2a;
    --shadow-color: rgba(0, 229, 255, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding-top: 76px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-light-50 {
    color: var(--text-secondary) !important;
}

.bg-dark-alt {
    background-color: var(--bg-dark-alt) !important;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.navbar-brand .text-accent {
    font-weight: 800;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
}

/* Profile Image */
.profile-wrapper {
    position: relative;
    display: inline-block;
}

.profile-image {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    padding: 8px;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed var(--accent-color);
    opacity: 0.3;
    animation: spin 20s linear infinite;
}

.ring-1 {
    width: 330px;
    height: 330px;
    top: -15px;
    left: -15px;
    animation-duration: 25s;
}

.ring-2 {
    width: 360px;
    height: 360px;
    top: -30px;
    left: -30px;
    animation-duration: 30s;
    animation-direction: reverse;
}

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

/* Buttons */
.btn-accent {
    background: var(--accent-color);
    color: var(--bg-primary);
    font-weight: 700;
    padding: 0.8rem 2rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.btn-outline-accent {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-weight: 700;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.underline {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    margin-top: 0.5rem;
    box-shadow: 0 0 20px var(--accent-color);
}

/* Stat Cards */
.stat-card {
    background: var(--bg-dark-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Project Cards */
.project-card {
    background: var(--bg-dark-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.project-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.05);
}

.project-icon {
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form .form-control {
    background: var(--bg-dark-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
    background: var(--bg-primary);
}

.contact-form .form-control::placeholder {
    color: var(--text-secondary);
}

.contact-info {
    border-left: 3px solid var(--accent-color);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

/* Responsive */
@media (max-width: 992px) {
    .profile-image {
        width: 220px;
        height: 220px;
    }
    
    .ring-1 {
        width: 240px;
        height: 240px;
        top: -10px;
        left: -10px;
    }
    
    .ring-2 {
        width: 260px;
        height: 260px;
        top: -20px;
        left: -20px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .navbar-brand span {
        display: none;
    }
}

/* Utility Classes */
.hover-accent:hover {
    color: var(--accent-color) !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}