/*Vinculación tipografía externa*/
@font-face {
    font-family: "Amplitude-Comp-Bold";
    src: url(../fonts/Amplitude-Comp-Bold.ttf);
}

@font-face {
    font-family: "Inter-Regular";
    src: url(../fonts/Inter-Regular.ttf);
}

@font-face {
    font-family: "Inter-Semibold";
    src: url(../fonts/Inter-SemiBold.ttf);
}


/*Estilos del ejercicio*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFE;
    font-family: "Inter-Regular", sans-serif;
    line-height: 1.5;
}

/*Estilos del header*/
header {
    background-color: #222222;
}

.navbar {
    min-height: 80px;
}

.navbar-brand {
    font-family: "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    color: #B9D6BA;
}

.nav-link {
    color: #FFFFFE;
    font-size: 17px;
    font-weight: 500;
    margin-left: 2rem;
}

.nav-link:hover {
    color: #B9D6BA;
}


/* Animación del logo */
.navbar-brand {
    opacity: 0;
    filter: blur(10px);
    animation: foco 2.5s ease-out forwards;
}

@keyframes foco {
    to {
        opacity: 1;
        filter: blur(0);
    }
}


/*Configuración de la sección principal main*/
main {
    width: 100%;
    max-width: 1440px;
    margin: 6px auto;
    padding: 32px;
}

/*Configuración sobre mí*/
#sobre-mi h2 {
    font-family:  "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
    font-size: 45px;
    color: #353535;
}

#sobre-mi p {
    font-size: 16px;
    color: #6E746F;
}

#sobre-mi a {
    color: #222222;
    background-color: #B9D6BA;
    border-radius: 100px;
    text-decoration: none;
    padding: 8px 26px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 500ms;
}

#sobre-mi a:hover {
    background-color: #222222;
    color: #B9D6BA;
}

/*Efecto imágenes*/
#sobre-mi img {
    transition: transform 300ms ease;
}

#sobre-mi img:hover {
    transform: scale(1.1);
}

/* Versión Móvil*/
@media (max-width: 767.98px) {

    /* Título */
    #sobre-mi h2 {
        font-size: 35px;
        margin-bottom: 10px;
    }

    /* Texto */
    #sobre-mi p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Botón */
    #sobre-mi a {
        font-size: 15px;
        padding: 7px 22px;
    }

    /* Reducir espacio entre header y imágenes */
    #sobre-mi .row.align-items-center {
        row-gap: 15px;
    }

    /* Opcional: quitar margen extra del container en mobile */
    #sobre-mi .container {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/*Separador*/
.separador,
.separador-asterisco {
    position: relative;
    height: 1.5px;
    background-color: #E5E5E5;
}


/*Sección de estudios y logros*/
.carousel-item {
    text-align: center;
    padding: 2rem;
}

.carousel-indicators [data-bs-target] {
    background-color: #222222;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-item h3 {
    font-family: "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
    color: #222222;
    font-size: 30px;
    margin-bottom: 12px;
}

.carousel-item h4 {
    font-size: 16px;
    font-weight: 550;
    margin-bottom: 5px;
    color: #353535;
}

.carousel-item p {
    font-size: 14px;
    color: #6E746F;
}

/*Estilos de los íconos*/
.icono {
    font-size: 30px;
    margin-bottom: 10px;
    color: #B9D6BA;
}

.divisor-linea {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80%;
    border-left: 1.5px solid #E5E5E5;
    pointer-events: none;
}

/*Versión móvil*/
@media (max-width: 767.98px) {
    .d-none.d-md-flex {
        display: none !important;
    }

    #carouselEstudios,
    #carouselLogros {
        display: none;
    }

    #carouselUnificado {
        display: block;
    }

    .container {
        display: block;
    }

     .divisor-linea {
    display: none;
  }
}

/*Estilos para el carrusel unificado*/
#carouselUnificado .carousel-item {
    text-align: center;
}

#carouselUnificado .carousel-item h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

#carouselUnificado .carousel-item p {
    font-size: 14px;
    color: #6E746F;
}


/*Estilos de herramientas*/
.herramientas h3{
    font-family: "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
    font-size: 40px;
    color: #222222;
}

.skill-circle {
  width: 120px;
  height: 120px;
  position: relative;
  margin: auto;
}

.skill-circle svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.skill-circle circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.skill-circle .bg {
  stroke: #E5E5E5;
}

.skill-circle .progress {
  stroke: #B3C4B7;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 2s ease;
}

.skill-circle.active .progress {
  stroke-dashoffset: var(--offset);
}

.skill-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skill-content h4 {
  font-size: 14px;
  color: #353535;
  margin-bottom: 2px;
}

.skill-content span {
  font-size: 12px;
  color: #6E746F;
  text-transform: uppercase;
}


/* Estilos del Footer */
.footer-custom {
    background-color: #B3C4B7;
}

/* Fila principal */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Item */
.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icono */
.icon-circle {
    width: 42px;
    height: 42px;
    background-color: #FFFFFE;
    color: #B3C4B7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    flex-shrink: 0;
}

.icon-circle:hover {
    background-color: #222222;
    color: #B3C4B7;
}

/* Texto */
.icon-label {
    font-size: 14px;
    color: #FFFFFE;
    white-space: nowrap;
}

/* Responsive Móvil */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .icon-label {
        white-space: normal;
        text-align: center;
    }
}