/* ===== PAGES PROJETS — FOREST EDITORIAL STYLE ===== */
/* Cohérent avec le nouveau design du portfolio */
/* Fichier autonome — Ne dépend pas de style.css */
/* Palette: Dark Bark, Redwood, Path Mist, Kodak Yellow, Fern Green */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=DM+Sans:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ===== VARIABLES ===== */
:root {
    --bg: #1E1B18;
    --bg-elevated: #3E2F28;
    --bg-card: #2A221D;
    --text: #D6CFC7;
    --text-secondary: #A89E94;
    --text-muted: #6E6259;
    --accent: #F2C94C;
    --accent-light: #F7D96E;
    --accent-dark: #C9A836;
    --green: #4A5D44;
    --green-light: #5E7656;
    --border: rgba(214, 207, 199, 0.08);
    --border-hover: rgba(214, 207, 199, 0.15);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Preserve Font Awesome */
.fa, .fas, .fab, .far, .fal, .fad,
[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-style: normal !important;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-light);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: rgba(30, 27, 24, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s var(--ease-out);
}

.logo a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.logo a:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    background: rgba(214, 207, 199, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.menu-btn {
    display: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text);
    font-size: 1.2rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 3rem 3rem;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-content h1 i {
    color: var(--accent);
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--bg);
    background: var(--accent);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.cta-button:hover {
    background: var(--accent-light);
    color: var(--bg);
    transform: scale(1.05);
}

.cta-button.secondary,
.cta-button:not(:first-child) {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.cta-button.secondary:hover,
.cta-button:not(:first-child):hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(242, 201, 76, 0.06);
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 4rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.project-section {
    margin-bottom: 4rem;
}

.project-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.project-section h2 i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.project-section p,
.project-section li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-section strong {
    color: var(--text);
    font-weight: 600;
}

.project-section ul,
.project-section ol {
    list-style: none;
    padding: 0;
}

.project-section li {
    padding-left: 1.5rem;
    position: relative;
}

.project-section li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.7rem;
}

.project-section li i {
    color: var(--accent);
    width: 20px;
    margin-right: 0.5rem;
}

/* Info boxes / Cards */
.project-info,
.info-box,
.highlight-box,
.warning-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.warning-box {
    border-color: rgba(242, 201, 76, 0.2);
    background: rgba(242, 201, 76, 0.04);
}

/* Tech tags */
.tech-tags,
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag,
.tech-tag,
.tech-tags span {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    color: var(--text-secondary);
    background: rgba(214, 207, 199, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-weight: 500;
}

/* Images */
.project-section img,
.screenshot,
.project-image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin: 1.5rem 0;
}

.image-grid,
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.image-grid img,
.gallery img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease-out);
}

.image-grid img:hover,
.gallery img:hover {
    transform: scale(1.02);
}

/* Grid for features */
.features-grid,
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-card,
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.feature-card:hover,
.tech-card:hover {
    border-color: rgba(242, 201, 76, 0.15);
    transform: translateY(-3px);
}

.feature-card h3,
.tech-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card h3 i,
.tech-card h3 i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.feature-card p,
.tech-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Code blocks */
code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.15rem 0.4rem;
    background: rgba(214, 207, 199, 0.06);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--accent-light);
}

pre {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

pre code {
    padding: 0;
    background: none;
    border: none;
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
footer, .footer {
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p, .footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer a, .footer a {
    color: var(--accent);
}

/* ===== BACK TO TOP ===== */
.scroll-to-top,
#scrollToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
    z-index: 999;
}

.scroll-to-top.visible,
#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover,
#scrollToTop:hover {
    background: var(--accent-light);
    transform: scale(1.1);
}

/* ===== SECTIONS (pages projets) ===== */
.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 3rem 1rem;
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.section h2 i {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* ===== ABOUT CONTENT ===== */
.about-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-text p strong {
    color: var(--text);
    font-weight: 600;
}

.about-details {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.about-details li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0.6rem 0.8rem;
    background: rgba(214, 207, 199, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.about-details li:hover {
    border-color: var(--border-hover);
}

.about-details li i {
    color: var(--accent);
    width: 20px;
    margin-right: 0.5rem;
}

.about-details li strong {
    color: var(--text);
    font-weight: 600;
}

.humor-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

/* ===== SKILLS CONTAINER (Tech / Features grids) ===== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.skill-category:hover {
    border-color: rgba(242, 201, 76, 0.15);
    transform: translateY(-3px);
}

.skill-category h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.skill-category h3 i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}

.skill-category li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.6rem;
    top: 0.6rem;
}

/* ===== PROJECTS GRID (Galerie screenshots) ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.project-card:hover {
    border-color: rgba(242, 201, 76, 0.15);
    transform: translateY(-4px);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s var(--ease-out);
}

.project-card:hover img {
    transform: scale(1.03);
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    padding: 1rem 1.25rem 0.25rem;
}

.project-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0 1.25rem 1.25rem;
    line-height: 1.5;
}

/* ===== CONTACT / SOCIAL LINKS ===== */
.contact-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a:not(.cta-button) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(214, 207, 199, 0.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-links a:not(.cta-button):hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(242, 201, 76, 0.06);
}

/* ===== VISUAL SHOWCASE (CoCBot etc.) ===== */
.visual-showcase {
    margin: 1rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.showcase-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.showcase-item:hover {
    border-color: rgba(242, 201, 76, 0.15);
    transform: translateY(-3px);
}

.showcase-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 201, 76, 0.08);
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--accent);
}

.showcase-item h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.showcase-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.tech-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    color: var(--accent);
    background: rgba(242, 201, 76, 0.08);
    border: 1px solid rgba(242, 201, 76, 0.15);
    border-radius: 100px;
    font-family: var(--font-mono);
}

/* ===== ARCHITECTURE FLOW ===== */
.architecture-container {
    margin: 1rem 0;
}

.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.flow-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    position: relative;
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.flow-step:hover {
    border-color: rgba(242, 201, 76, 0.15);
    transform: translateY(-2px);
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
    font-family: var(--font-mono);
}

.step-content i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.step-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.flow-arrow {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.5;
}

/* ===== STATS CARDS ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.stat-card:hover {
    border-color: rgba(242, 201, 76, 0.15);
    transform: translateY(-3px);
}

.stat-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 201, 76, 0.08);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.1rem;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== CHALLENGES ===== */
.challenges-container {
    display: grid;
    gap: 1rem;
}

.challenge-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.3s;
}

.challenge-item:hover {
    border-color: var(--border-hover);
}

.challenge-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.challenge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 201, 76, 0.08);
    border-radius: 10px;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.challenge-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    flex: 1;
}

.difficulty-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-family: var(--font-mono);
}

.difficulty-badge.high {
    color: var(--accent);
    background: rgba(242, 201, 76, 0.1);
    border: 1px solid rgba(242, 201, 76, 0.2);
}

.difficulty-badge.medium {
    color: var(--green-light);
    background: rgba(94, 118, 86, 0.1);
    border: 1px solid rgba(94, 118, 86, 0.2);
}

.challenge-item > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.solution-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    color: var(--text-secondary);
    background: rgba(214, 207, 199, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--font-mono);
}

/* ===== TIMELINE ===== */
.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.timeline-content h3 i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}

.timeline-content li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.55rem;
    top: 0.35rem;
}

/* ===== PROJECT NAVIGATION ===== */
.project-navigation {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ===== AOS overrides (if still used) ===== */
[data-aos] {
    transition-duration: 0.6s !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 1.5rem 2rem;
        min-height: 40vh;
    }

    main {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 2rem 1.5rem 0.5rem;
    }

    .project-links {
        flex-direction: column;
    }

    .about-content {
        padding: 1.25rem;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-flow {
        flex-direction: column;
    }

    .flow-step {
        max-width: 100%;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-container {
        padding-left: 1.5rem;
    }

    .project-navigation {
        flex-direction: column;
    }

    footer, .footer {
        padding: 1.5rem;
    }
}
