

.tech-carousel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 120px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-left: 1px solid #ddd;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 0;
    overflow-y: hidden;
    overflow-x: hidden;
    align-items: center;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #ddd;
    font-size: 3rem;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.carousel-item:hover {
    background: #333;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #333;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 180px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 20px 0;
}

.navbar ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.navbar a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
}

.navbar a:hover {
    background: rgba(255,255,255,0.08);
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    min-height: 100vh; 
}

.welcome-container {
    display: flex;
    margin: 0 auto;
    align-items: center;
    gap: 30px;
    width: 800px;
    max-width: calc(100% - 40px);
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.welcome-container h1 {
    margin: 0 0 8px 0;
    font-size: 2.25rem;
    line-height: 1.05;
    color: #222;
}

.welcome-txt {
    flex: 1 1 60%;
    text-align: center;
}

.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    margin-top: 30px;
}

.btn-linkedin {
    background: #0077b5;
    color: #fff;
}

.btn-linkedin:hover {
    background: #005f99;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 119, 181, 0.3);
}

.btn-gmail {
    background: #EA4335;
    color: #fff;
}

.btn-gmail:hover {
    background: #c5221f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(234, 67, 53, 0.3);
}

.btn-cv {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-cv:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.profile {
    max-width: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    padding-left: 180px;
    padding-right: 120px;
    box-sizing: border-box;
}

.about-me {
    max-width: 520px;
    margin: 24px 12px 24px 12px;
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    box-sizing: border-box;
    text-align: justify;
    flex: 1 1 520px;
}

.my-projects {
    width: 800px;
    margin: 24px auto 80px auto; 
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    box-sizing: border-box;
    text-align: center;
    margin-top: 130px;
}

.side-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.fp-section {
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    flex: 0 0 320px;
    box-sizing: border-box;
    text-align: center;
}

#fp, #projects {
    scroll-margin-top: 25vh; 
}

@media (max-width: 760px) {
    .side-row { flex-direction: column; }
    .fp-section, .about-me { flex: 1 1 100%; max-width: 100%; }
}

.fotografia {
    width: 800px;
    margin: 24px auto 80px auto; 
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    box-sizing: border-box;
    text-align: center;
    margin-top: 200px;
}

.fotografia-container {
    margin-top: 60px;
    text-align: center;
    columns: 2;
}

.fotografia-container div {
    display: grid;
}
.adrishoot {
    font-weight: bold;
    font-size: 1.2rem;
    color: #98bffc;
    text-decoration: none;
}
.adrishoot:hover {
    text-decoration: underline;
}
.fotografia p {
    text-align: center;
    font-size: 0.9rem;
    text-align: justify;
    display: flex;
}

footer {
    color: #000000;
    text-align: center;
    padding: 20px 0;
    width: calc(100% - 300px);
    margin-left: 180px;
    margin-top: 40px;
}



body.dark {
    background: #1e1f22;
    color: #e6e6e6;
}

body.dark .welcome-container,
body.dark .about-me,
body.dark .my-projects,
body.dark .fp-section,
body.dark .fotografia,
body.dark .fp-projects {
    background: #2a2b2f;
    color: #e6e6e6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

body.dark h1,
body.dark h2,
body.dark p {
    color: #e6e6e6;
}

body.dark .navbar {
    background: #121212;
}

body.dark .navbar a {
    color: #ccc;
}

body.dark .navbar a:hover {
    background: rgba(255,255,255,0.1);
}

body.dark .tech-carousel {
    background: #2a2b2fcc;
    border-color: #444;
}

body.dark .carousel-item {
    background: #333;
    border-color: #555;
}

body.dark .carousel-item:hover {
    background: #555;
    border-color: #777;
}

body.dark .btn-cv {
    border-color: #e6e6e6;
    color: #e6e6e6;
}

body.dark .btn-cv:hover {
    background: #e6e6e6;
    color: #222;
}

body.dark footer {
    color: #ccc;
}



@media (max-width: 900px) {

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: auto;
        width: 100%;
        height: 60px;
        padding: 0;
    }

    .navbar ul {
        flex-direction: row;
        gap: 12px;
    }

    body {
        padding-left: 0;
        padding-right: 120px;
        padding-top: 70px;
    }

    .welcome-container {
        flex-direction: column;
        text-align: center;
    }

    .profile {
        max-width: 200px;
    }

    .side-row {
        flex-direction: column;
        width: 100%;
    }

    .my-projects,
    .fotografia {
        width: 90%;
    }
    
    footer{
        width: calc(100% - 40px);
        margin-left: 20px;
    }
}

@media (max-width: 650px) {

    .tech-carousel {
        top: auto;
        bottom: 0;
        height: 90px;
        width: 100%;
        border-left: none;
        border-top: 1px solid #ddd;
    }

    .carousel-track {
        flex-direction: row;
        gap: 20px;
        overflow-x: scroll;
        overflow-y: hidden;
        padding: 0 20px;
    }

    .carousel-item {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    body {
        padding-right: 0;
        padding-bottom: 110px;
    }

    .navbar {
        height: 55px;
    }

    .navbar ul {
        gap: 10px;
    }

    .welcome-container h1 {
        font-size: 1.8rem;
    }

    .fotografia-container {
        display: block;
        columns: 1;
    }

    .fotografia-container img {
        margin-bottom: 20px;
    }

    footer{
        width: 100%;
        margin-left: 0;
    }
}


.dark-toggle {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.dark-toggle:hover {
    transform: scale(1.1);
    background: #555;
}


body.dark .dark-toggle {
    background: #e6e6e6;
    color: #222;
}

body.dark .dark-toggle:hover {
    background: #fff;
    transform: scale(1.1);
}

/* ==============================
   FP — PROJECTS PAGE
 ===============================*/

.fp-projects {
    max-width: 900px;
    margin: 120px auto;
    padding: 38px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    text-align: center;
}

.fp-projects h1 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.fp-projects h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.fp-projects div {
    margin-top: 80px;
    columns: 2;
}


.fp-projects .btn-cv {
    display: inline-block;
    margin: 12px;
    padding: 10px 22px;
    border-radius: 6px;
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.fp-projects .btn-cv:hover {
    background: #333;
    color: #fff;
}

#volver {
    display: block;
    margin: 60px auto 0 auto;
    padding: 12px 28px;
    border-radius: 6px;
    background: #333;
    color: #fff;
    text-decoration: none;
    text-align: center;
    width: 150px;
    transition: 0.3s ease;
}

#volver:hover {
    background: #222;
}


body.dark .fp-projects {
    background: #2a2b2f;
    color: #e6e6e6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

body.dark .fp-projects h1,
body.dark .fp-projects h2,
body.dark .fp-projects p {
    color: #e6e6e6;
}

body.dark .fp-projects .btn-cv {
    border-color: #e6e6e6;
    color: #e6e6e6;
}

body.dark .fp-projects .btn-cv:hover {
    background: #e6e6e6;
    color: #222;
}

body.dark #volver {
    background: #e6e6e6;
    color: #222;
}

body.dark #volver:hover {
    background: #ccc;
}



/* Tablet */
@media (max-width: 900px) {


    .fp-projects {
        width: 90%;
        margin-top: 80px;
        padding: 32px;
    }

    .fp-projects h1 {
        font-size: 1.9rem;
    }
}

/* Móvil */
@media (max-width: 600px) {

    .fp-projects {
        padding: 26px;
        margin-top: 40px;
    }

    .fp-projects h1 {
        font-size: 1.7rem;
    }

    .fp-projects .btn-cv {
        width: 100%;
        margin: 8px 0;
        text-align: center;
    }

    #volver {
        width: 160px;
    }
}