/* ============================
   Fichier : home.css
   Auteur : lyunabi
   Description : Styles pour la page d'accueil
   ============================ */

html, body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* ============================================ */
/* STRUCTURE GLOBALE - TOUTES LES SECTIONS */
/* ============================================ */

/* Wrapper de section (même structure partout) */
.section1,
.section-about,
.section-skills {
    width: 100%;
    padding: 80px 5%;
    background-color: white;
    position: relative;
    overflow: hidden;
}

/* Container de contenu (même largeur partout) */
.about-container,
.skills-container {
    max-width: 1352px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ============================================ */
/* SECTION HERO - Styles spécifiques */
/* ============================================ */

.hero-section {
    max-width: 1352px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 80px;
    min-height: calc(100vh - 100px);
}

.dino-container {
    flex: 0 0 auto;
    position: relative;
    align-self: flex-start;
    margin-top: 40px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInDino 1s ease-out 0.3s forwards, walk 1s ease-in-out infinite 1.3s;
}

.dino-container.jumping {
    animation: fadeInDino 0s forwards, jump 0.6s ease-out;
}

.dino-container img {
    width: 100%;
    max-width: 700px;
    height: auto;
}

.dino-back {
    position: relative;
}

.dino-front {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

/* Animation de marche */
@keyframes walk {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(2deg);
    }
}

/* Animation de saut (au clic) */
@keyframes jump {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    30% {
        transform: translateY(-60px) rotate(-5deg) scale(1.1);
    }
    50% {
        transform: translateY(-80px) rotate(0deg) scale(1.15);
    }
    70% {
        transform: translateY(-60px) rotate(5deg) scale(1.1);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* Animation d'apparition pour le dino */
@keyframes fadeInDino {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation d'apparition pour le texte (de bas en haut) */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-container {
    align-self: center;
}

.text-container h1 {
    font-size: 90px;
    font-weight: 900;
    color: #1E1E1E;
    margin-bottom: 20px;
    line-height: 1;
    font-family: 'Pixelify Sans';
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.typing-advanced {
    font-size: 24px;
    font-weight: 500;
    color: #1E1E1E;
    line-height: 1.4;
    font-family: 'Poppins';
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.span-title {
    color: #FFB8FA;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 30px;
    background: #1E1E1E;
    margin-left: 3px;
    animation: blink 0.75s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* ============================================ */
/* SECTION ABOUT - Styles spécifiques */
/* ============================================ */

.about-container {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1352 / 619;
    padding: 80px 0px;
    display: flex;
    gap: 80px;
    color: white;
    box-sizing: border-box;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: var(--font-title);
    border-left: 4px solid #FF84F7;
    padding-left: 20px;
    color: black;
}

.content-wrapper p {
    font-size: 18px;
    line-height: 1.8;
    font-family: var(--font-pgs);
    margin-bottom: 20px;
    color: black;
}

.image-box {
    flex: 0 0 480px;
    height: 480px;
    background-image: url('../IMG/me.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-box:hover {
    transform: scale(1.02);
}

.image-box::after {
    content: 'roar!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: #FFB8FA;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 2;
}

.image-box:hover::after {
    transform: translate(-50%, -50%) scale(1) rotate(-5deg);
    opacity: 1;
    animation: roarShake 0.5s ease-in-out;
}

@keyframes roarShake {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(-5deg); }
    25% { transform: translate(-50%, -50%) scale(1.1) rotate(-8deg); }
    50% { transform: translate(-50%, -50%) scale(1.05) rotate(-2deg); }
    75% { transform: translate(-50%, -50%) scale(1.08) rotate(-6deg); }
}

.image-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-box:hover::before {
    opacity: 1;
}

.image-box img {
    display: none;
}

/* ============================================ */
/* SECTION SKILLS - Styles spécifiques */
/* ============================================ */

.skills-container h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: var(--font-title);
    border-left: 4px solid #FF84F7;
    padding-left: 20px;
    color: black;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: start;
}

.skill-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.skill-card img {
    width: 230px;
    height: 230px;
    object-fit: contain;
    margin: 0 auto 30px auto;
    animation: float 3s ease-in-out infinite;
}

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

.skill-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Pixelify Sans' ;
    color: #FFB8FA;
    transform: translateY(-10px);
}

.skill-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    font-family: var(--font-pgs);
    max-width: 350px;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
    transform: translateY(-10px);
}

/* ============================================ */
/* SECTION SKILLS FINDER - Styles spécifiques */
/* ============================================ */

.section-skills-finder-container {
    max-width: 1352px;
    margin: 0 auto;
    width: 100%;
}

.section-skills-finder-container h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-title);
    border-left: 4px solid #FF84F7;
    padding-left: 20px;
    color: black;
}

.section-skills-finder-container .subtitle-finder {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 50px;
    padding-left: 24px;
    line-height: 1.5;
}

/* ============================================ */
/* SECTION PROJECTS - Styles spécifiques */
/* ============================================ */

.section-projects {
    width: 100%;
    padding: 80px 5%;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.projects-container {
    max-width: 1352px;
    margin: 0 auto;
    width: 100%;
}

.projects-container h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    font-family: var(--font-title);
    border-left: 4px solid #FF84F7;
    padding-left: 20px;
    color: black;
}

.projects-wrapper {
    display: flex;
    gap: 30px;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    transition: all 0.5s ease;
    flex: 1;
}

.projects-grid.shifted {
    transform: translateX(-50%);
    width: 50%;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 132, 247, 0.3);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 700;
    padding: 20px 20px 10px 20px;
    font-family: 'Pixelify Sans';
    color: #FF84F7;
}

.project-card p {
    font-size: 14px;
    padding: 0 20px 20px 20px;
    color: #666;
    font-family: var(--font-pgs);
}

.project-detail {
    position: fixed;
    right: -50%;
    top: 0;
    width: 50%;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    transition: right 0.5s ease;
    z-index: 1000;
}

.project-detail.active {
    right: 0;
}

.project-detail-content {
    padding: 40px;
    height: 100%;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #FF84F7;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.project-detail-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Pixelify Sans';
    color: #FFB8FA;
}

.detail-scroll {
    height: calc(100vh - 150px);
    overflow-y: auto;
    padding-right: 20px;
}

.detail-scroll img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 30px;
}

.detail-scroll p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    font-family: var(--font-pgs);
}

/* ============================================ */
/* STYLES POUR LE CONTENU DU PROJECT DETAIL */
/* ============================================ */

.detail-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Pixelify Sans';
    border-left: none;
    padding-left: 0;
    color: #1E1E1E;
}

.detail-skills .skills-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.detail-skills .skills-column {
    /* Pas de background */
}

.detail-skills .column-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Pixelify Sans';
    color: #FF84F7;
    text-align: left;
}

.detail-skills .skills-list {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.detail-skills .skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Pas de padding, background, border-radius */
}

.detail-skills .skill-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 0;
}

.detail-skills .skill-name {
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-pgs);
    color: #1E1E1E;
    line-height: 40px;
}

/* SECTION DESCRIPTION DANS LE DETAIL */
.detail-description .description-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-description .description-header .detail-section-title {
    margin-bottom: 0;
    line-height: 1;
}

.detail-description .header-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 0;
}

.detail-description .description-text {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    font-family: var(--font-pgs);
    text-align: justify;
}

/* SECTION MISSIONS DANS LE DETAIL */
.detail-missions .missions-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-missions .mission-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.detail-missions .mission-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(255, 132, 247, 0.15);
}

.detail-missions .mission-number {
    font-size: 36px;
    font-weight: 900;
    font-family: 'Pixelify Sans';
    color: #FF84F7;
    flex-shrink: 0;
    line-height: 1;
}

.detail-missions .mission-content h4 {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Pixelify Sans';
    color: #1E1E1E;
    margin-bottom: 10px;
}

.detail-missions .mission-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    font-family: var(--font-pgs);
    margin: 0;
}

/* SECTION GALLERY DANS LE DETAIL */
.detail-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-gallery .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.detail-gallery .gallery-item::after {
    content: 'see more';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: white;
    background: #FF84F7;
    padding: 8px 18px;
    border-radius: 20px;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 132, 247, 0.4);
}

.detail-gallery .gallery-item:hover::before {
    opacity: 1;
}

.detail-gallery .gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.detail-gallery .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 132, 247, 0.3);
}

.detail-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(255, 132, 247, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FF84F7;
    border: none;
    color: white;
    font-size: 36px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    background: #FFB8FA;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 132, 247, 0.8);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: #FF84F7;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 132, 247, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

/* ============================================ */
/* SCROLL ARROW - Flèche d'invitation au scroll */
/* ============================================ */

.scroll-arrow {
    position: absolute;
    bottom: 230px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounceArrow 2s ease-in-out infinite;
    z-index: 10;
}

.scroll-arrow svg {
    filter: drop-shadow(0 4px 8px rgba(255, 132, 247, 0.4));
    transition: transform 0.3s ease;
}

.scroll-arrow:hover svg {
    transform: translateY(5px);
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(15px);
    }
}

/* ============================================ */
/* RESPONSIVE TABLETTE (768px - 1024px) */
/* ============================================ */

@media (max-width: 1024px) {
    /* Structure globale */
    .section1,
    .section-about,
    .section-skills {
        padding: 60px 4%;
    }

    /* Skills Finder Section */
    .section-skills-finder-container h2 {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .section-skills-finder-container .subtitle-finder {
        font-size: 15px;
        margin-bottom: 40px;
    }

    /* Projects Section */
    .section-projects {
        padding: 60px 4%;
    }

    .projects-container h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .projects-grid {
        gap: 25px;
    }

    .project-card img {
        height: 200px;
    }

    .project-card h3 {
        font-size: 20px;
    }

    .project-card p {
        font-size: 13px;
    }

    .project-detail {
        width: 60%;
    }

    .project-detail-content h2 {
        font-size: 28px;
    }

    /* Hero Section */
    .hero-section {
        gap: 60px;
    }

    .dino-container img {
        max-width: 500px;
    }

    .text-container h1 {
        font-size: 70px;
    }

    .typing-advanced {
        font-size: 22px;
    }

    /* About Section */
    .about-container {
        padding: 60px 0px;
        gap: 30px;
    }

    .content-wrapper h2 {
        font-size: 28px;
    }

    .content-wrapper p {
        font-size: 17px;
    }

    .image-box {
        flex: 0 0 400px;
        height: 400px;
    }

    /* Skills Section */
    .skills-container h2 {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .skills-grid {
        gap: 50px;
    }

    .skill-card img {
        width: 200px;
        height: 200px;
    }

    .skill-card h3 {
        font-size: 22px;
    }

    .skill-card p {
        font-size: 15px;
    }
}

/* ============================================ */
/* RESPONSIVE MOBILE (< 768px) */
/* ============================================ */

@media (max-width: 768px) {
    /* Structure globale */
    .section1,
    .section-about,
    .section-skills {
        padding: 40px 20px;
    }

    /* Skills Finder Section */
    .section-skills-finder-container h2 {
        font-size: 24px;
        margin-bottom: 5px;
        padding-left: 15px;
        border-left-width: 3px;
    }

    .section-skills-finder-container .subtitle-finder {
        font-size: 14px;
        margin-bottom: 30px;
        padding-left: 18px;
    }

    /* Projects Section */
    .section-projects {
        padding: 40px 20px;
    }

    .projects-container h2 {
        font-size: 24px;
        margin-bottom: 30px;
        padding-left: 15px;
        border-left-width: 3px;
    }

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

    .projects-grid.shifted {
        transform: none;
        width: 100%;
    }

    .project-card img {
        height: 180px;
    }

    .project-card h3 {
        font-size: 20px;
    }

    .project-card p {
        font-size: 14px;
    }

    .project-detail {
        width: 100%;
        right: -100%;
    }

    .project-detail.active {
        right: 0;
    }

    .project-detail-content {
        padding: 30px 20px;
    }

    .project-detail-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .detail-scroll {
        height: calc(100vh - 120px);
    }

    .close-btn {
        top: 15px;
        right: 15px;
        font-size: 28px;
    }

    /* Hero Section */
    .hero-section {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        min-height: auto;
        align-items: center;
    }

    .dino-container {
        align-self: center;
        margin: 0 auto 20px auto;
        max-width: 280px;
        width: 280px;
        position: relative;
    }

    .dino-container img {
        max-width: 280px;
        width: 100%;
        display: block;
    }

    .dino-front {
        top: 5px;
        left: 5px;
    }

    .text-container h1 {
        font-size: 48px;
    }

    .typing-advanced {
        font-size: 18px;
    }

    .cursor {
        height: 20px;
    }

    /* Masquer la flèche de scroll sur mobile */
    .scroll-arrow {
        display: none;
    }

    /* About Section */
    .section-about::before {
        top: -25%;
        left: -25%;
        width: 150%;
        height: 150%;
        opacity: 0.3;
        animation: pixelScroll 15s linear infinite;
    }

    .about-container {
        flex-direction: column;
        padding: 40px 0px;
        gap: 30px;
        aspect-ratio: auto;
        min-height: auto;
        background-size: cover;
    }

    .content-wrapper h2 {
        font-size: 24px;
        padding-left: 15px;
        border-left-width: 3px;
    }

    .content-wrapper p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .image-box {
        flex: none;
        width: 100%;
        max-width: 280px;
        height: 280px;
        margin: 0 auto;
        border-radius: 15px;
    }

    /* Skills Section */
    .skills-container h2 {
        font-size: 24px;
        margin-bottom: 40px;
        padding-left: 15px;
        border-left-width: 3px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skill-card img {
        width: 180px;
        height: 180px;
    }

    .skill-card h3 {
        font-size: 20px;
    }

    .skill-card p {
        font-size: 15px;
        max-width: 100%;
        text-align: center;
    }
}

/* ============================================ */
/* RESPONSIVE TRÈS PETIT MOBILE (< 480px) */
/* ============================================ */

@media (max-width: 480px) {
    /* Structure globale */
    .section1,
    .section-about,
    .section-skills {
        padding: 30px 15px;
    }

    /* Skills Finder Section */
    .section-skills-finder-container h2 {
        font-size: 20px;
        margin-bottom: 5px;
        padding-left: 12px;
    }

    .section-skills-finder-container .subtitle-finder {
        font-size: 13px;
        margin-bottom: 25px;
        padding-left: 15px;
    }

    /* Projects Section */
    .section-projects {
        padding: 30px 15px;
    }

    .projects-container h2 {
        font-size: 20px;
        margin-bottom: 25px;
        padding-left: 12px;
    }

    .projects-grid {
        gap: 15px;
    }

    .project-card img {
        height: 150px;
    }

    .project-card h3 {
        font-size: 18px;
        padding: 15px 15px 8px 15px;
    }

    .project-card p {
        font-size: 13px;
        padding: 0 15px 15px 15px;
    }

    .project-detail-content {
        padding: 25px 15px;
    }

    .project-detail-content h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .detail-scroll {
        padding-right: 10px;
    }

    .detail-scroll p {
        font-size: 15px;
    }

    /* Detail sections responsive */
    .detail-section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .detail-skills .skills-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .detail-skills .column-title {
        font-size: 16px;
    }

    .detail-skills .skill-icon {
        width: 35px;
        height: 35px;
        border-radius: 0;
    }

    .detail-skills .skill-name {
        font-size: 14px;
        line-height: 35px;
    }

    .detail-description .header-icon {
        width: 35px;
        height: 35px;
        border-radius: 0;
    }

    .detail-missions .mission-number {
        font-size: 30px;
    }

    .detail-missions .mission-content h4 {
        font-size: 16px;
    }

    .detail-missions .mission-content p {
        font-size: 13px;
    }

    .detail-gallery .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Lightbox responsive */
    .lightbox {
        padding: 20px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: 10px;
        padding: 8px 15px;
        font-size: 14px;
    }

    /* Hero Section */
    .hero-section {
        gap: 30px;
    }

    .dino-container {
        max-width: 250px;
    }

    .text-container h1 {
        font-size: 36px;
    }

    .typing-advanced {
        font-size: 16px;
    }

    .cursor {
        height: 18px;
    }

    /* About Section */
    .about-container {
        padding: 30px 0px;
    }

    .content-wrapper h2 {
        font-size: 20px;
        margin-bottom: 20px;
        padding-left: 12px;
    }

    .content-wrapper p {
        font-size: 15px;
    }

    /* Skills Section */
    .skills-container h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .skills-grid {
        gap: 35px;
    }

    .skill-card img {
        width: 150px;
        height: 150px;
    }

    .skill-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .skill-card p {
        font-size: 14px;
    }
}