/* ================================
   MODERN PROFESSIONAL PORTFOLIO
   ================================ */

/* === VARIABLES === */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --accent: #f59e0b;

    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;

    --light: #f8fafc;
    --light-secondary: #f1f5f9;
    --light-tertiary: #e2e8f0;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-inverse: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', var(--font-primary);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Placeholder élégant pour images non chargées */
.portfolio-card__image {
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.1) 0%,
        rgba(16, 185, 129, 0.1) 50%,
        rgba(245, 158, 11, 0.1) 100%);
    position: relative;
}

.portfolio-card__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.portfolio-card__image img {
    position: relative;
    z-index: 1;
}

/* État d'erreur pour les images */
img.img-error {
    min-height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

/* Container pour placeholder d'image */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(16, 185, 129, 0.08) 100%);
    border: 2px dashed rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    padding: 3rem;
    text-align: center;
}

.img-placeholder::before {
    content: '🎨';
    font-size: 4rem;
    opacity: 0.5;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.img-placeholder::after {
    content: 'Image';
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Variations de placeholders selon le contexte */
.portfolio-card .img-placeholder {
    min-height: 300px;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.05) 0%,
        rgba(139, 92, 246, 0.05) 100%);
}

.portfolio-card .img-placeholder::before {
    content: '🎨';
    font-size: 5rem;
}

.portfolio-card .img-placeholder::after {
    content: 'Projet visuel';
}

/* Placeholder pour images rondes (profil) */
img[style*="border-radius"][style*="50%"] + .img-placeholder,
.img-placeholder.rounded {
    border-radius: 50%;
    border: 3px solid rgba(99, 102, 241, 0.2);
    aspect-ratio: 1;
}

.img-placeholder.rounded::before {
    content: '👤';
    font-size: 4rem;
}

.img-placeholder.rounded::after {
    content: 'Photo';
}

/* Animation des placeholders */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.img-placeholder {
    position: relative;
    overflow: hidden;
}

.img-placeholder::after {
    animation: pulse 2s ease-in-out infinite;
}

/* Effet shimmer sur les placeholders */
.portfolio-card__image {
    animation: shimmer 3s linear infinite;
    background-size: 1000px 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* === UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.logo__dot {
    color: var(--primary);
    font-size: 2rem;
    line-height: 0;
}

.nav__list {
    display: none;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .nav__list {
        display: flex;
    }
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .nav__toggle {
        display: none;
    }
}

.nav__toggle-line {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
@media (max-width: 767px) {
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }

    .nav__link {
        padding: var(--spacing-sm);
        text-align: center;
    }
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

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

.hero__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero__container {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-2xl);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.label__dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.hero__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-lg);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--light-tertiary);
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Hero Visual Cards */
.hero__visual {
    position: relative;
    height: 500px;
    display: none;
}

@media (min-width: 1024px) {
    .hero__visual {
        display: block;
    }
}

.visual__card {
    position: absolute;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: transform var(--transition-base);
}

.visual__card:hover {
    transform: translateY(-8px) scale(1.02);
}

.visual__card--1 {
    top: 20%;
    left: 10%;
    animation: floatCard 6s infinite ease-in-out;
}

.visual__card--2 {
    top: 50%;
    right: 10%;
    animation: floatCard 8s infinite ease-in-out 1s;
}

.visual__card--3 {
    bottom: 15%;
    left: 20%;
    animation: floatCard 7s infinite ease-in-out 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card__icon {
    font-size: 2rem;
}

.card__content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.progress-bar {
    width: 150px;
    height: 6px;
    background: var(--light-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    animation: fillProgress 2s ease-out;
}

@keyframes fillProgress {
    from { width: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.scroll-indicator__text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

.scroll-indicator__line {
    width: 1px;
    height: 40px;
    background: var(--text-tertiary);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn--secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn--full {
    width: 100%;
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header--left {
    text-align: left;
}

.section-header__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-header__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header--left .section-header__description {
    margin: 0;
}

/* === SERVICES SECTION === */
.services {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    padding: var(--spacing-xl);
    background: white;
    border: 1px solid var(--light-tertiary);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.service-card--featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: transparent;
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__description,
.service-card--featured .service-card__features li {
    color: white;
}

.service-card__badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.service-card--featured .service-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.service-card__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.service-card__features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.service-card--featured .service-card__features li::before {
    background: rgba(255, 255, 255, 0.3);
}

/* === TECH STACK === */
.tech-stack {
    padding: var(--spacing-3xl) 0;
    background: var(--light);
}

.tech-stack__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-item__icon {
    font-size: 2.5rem;
}

.tech-item__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* === PORTFOLIO SECTION === */
.portfolio {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

@media (min-width: 768px) {
    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--light-tertiary);
    transition: all var(--transition-base);
}

.portfolio-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.portfolio-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card__image img {
    transform: scale(1.1);
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-card__overlay {
    opacity: 1;
}

.portfolio-card__content {
    padding: var(--spacing-lg);
}

.portfolio-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
}

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

.portfolio-card__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.portfolio__cta {
    text-align: center;
}

.portfolio__cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* === ABOUT SECTION === */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--light);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.about__text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.highlight {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.highlight__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

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

.highlight__content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Timeline */
.experience__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.timeline {
    position: relative;
    padding-left: var(--spacing-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-tertiary);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--light-tertiary);
}

.timeline-item__year {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-item__content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.timeline-item__role {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.timeline-item__content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* === CONTACT SECTION === */
.contact {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
}

@media (min-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact__description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-method:hover {
    background: var(--light-secondary);
    transform: translateX(8px);
}

.contact-method__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-md);
    color: var(--primary);
    flex-shrink: 0;
}

.contact-method__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-method__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.contact-method__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact__social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact__form {
    background: var(--light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: white;
    border: 2px solid var(--light-tertiary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* === FOOTER === */
.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    background: var(--dark);
    color: var(--text-inverse);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: 1.5fr 2fr;
    }
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-bottom: var(--spacing-sm);
}

.footer__tagline {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-xl);
}

.footer__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__list a {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
    transition: color var(--transition-base);
}

.footer__list a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--dark-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* === ANIMATIONS === */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2.5rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .section-header__title {
        font-size: 2rem;
    }
}

/* === SCROLL BEHAVIOR === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
